Repository navigation
Conversation
Use the default value from Go or from GODEBUG env var.
Regarding the CVE 2026-98432, disabling MPTCP is not enough, and having
it disabled here provides a wrong sense of protection.
The issue is in the TCP stack. MPTCP was used in the reproducer, but it
is not limited to it:
https://social.kernel.org/notice/BBxO99YYQ3YK11iS8G
The right fix is to update the kernel, and a workaround is to block IPv4
options, which is probably already the case for years on routers on the
Internet:
https://kb.ciq.com/article/security-advisories/cve-2026-98432-mitigation
Note: it's not clear to me how such a high score got assigned for
something hard to reproduce in practice and probably impossible on the
Internet where IPv4 options are often blocked. In a lab, with full
control and a lot of patience, yes, but that was just for this Anthropic
"ad" that part.
|
首先感谢你对 MPTCP 做出的贡献,我认同 disabling MPTCP is not enough,然而 Xray 这样做是为了先显著减小攻击面 #7291 (comment) ,毕竟应用软件的更新比系统内核的更新快得多(甚至很多人装完 Linux 服务器就不动系统内核了、并不会去更新它),v26.10.31 也阐述了这一观点并提醒用户“尽快更新 Linux 内核以从根源上修复漏洞”;对于生态更为碎片化的安卓设备而言,Linux 内核更新普遍取决于厂商何时研发并推送新版本,这一过程较为缓慢甚至就没有,所以应用层面的防护也不能放弃 Anthropic 选择了 MPTCP 而非普通 TCP 可能是因为前者更容易被远程拿 root,否则 Anthropic 能取得更好的广告效果,当然了并非是 MPTCP 本身存在严重问题而只能算是运气不佳,普通 TCP 虽也受影响,但 Anthropic 尚未说明理论上能否远程拿 root IPv4 Options 在真实互联网上的可传递性确实是我们的忽略点,但我查了一下,除了直接丢弃它外,有些硬件厂商的默认策略是对它限速,在这样的真实网络链路上攻击者虽不能一小时拿到 root 但可以数天,这可能是它被 Linux 评分为 9.8 的原因之一 除了安全因素外,Xray-core 作为反审查软件应尽力融入常规的互联网流量,鉴于目前 MPTCP 并不普及,它可能成为审查者标记乃至封锁代理服务器的因素之一(其它的也会陆续排查),所以我们的决定仍是默认不启用,直至 MPTCP 足够普及的那天 |
|
@RPRX thank you for your reply! I really doubt to see such attack in real-world network environments, and I don't know who attributed such a high score! (maybe the reporter? RH said 5.x I think because it is hard to succeed) I understand you might want to reduce the attack surface, but I just want to add that I already got reports from people (in China) using MPTCP to bypass some rate limits from DPIs that would not see the whole traffic, or to use multiple paths to accelerate connections that are rate-limited per path. So even if I don't have numbers, maybe there are more people than we thought using Xray with MPTCP? :) |
|
其实仅 MPTCP 而言我认为它挺有用的,PLUX、XHTTP 也准备加入类似的东西 #4846 (comment) ,而 XDNS 已实现多链路聚合 Xray 的用户目前以“自建”为主,他们有能力修改服务端的配置来启用 MPTCP,特征风险自负,服务商的话会希望节点少被封锁 如果这一攻击在 real-world 难以实施那么可能是因为 Linux 团队对漏洞的评分标准与下游厂商不同,我更尊重 Linux 官方的评分 另外请知悉 China 并没有 block QUIC,你提的“Android doesn't support MPTCP”是事实吗?如果是的话我需要修改一些描述了 |
Nice!
Understood!
The Linux kernel is a CNA, and they don't attribute score. If they were, I guess I would have be able to give my opinion on this :)
Yes, MPTCP is not enabled on Android side, which is a real shame: many people, especially not huge companies like Google, would benefit from it very easily. Oh, yes, sorry, I thought QUIC was blocked everywhere, but I remembered that wrong, just reread the abstract of https://www.usenix.org/system/files/usenixsecurity25-zohaib.pdf |
据 https://thehackernews.com/2026/10/linux-kernel-tcp-flaw-with-98-cvss.html 所述,“The kernel's own CVE team rates it 9.8 out of 10 on the CVSS scale.”
可能 Google Pixel 的安卓系统默认不启用 MPTCP,但对于中国的安卓厂商而言,他们的安卓系统乃至 Linux 内核早已被深度定制,所以这件事仍需更多确认 |
I just got told that score are set on request, and picked ... by an AI 🤦 So yes, I do trust RH people more in this case :-D
If that's the case, I will be interesting to know, that would be amazing! Note that MPTCP was used in the past on some phones (Samsung, Xiaomi, Huawei), but that was a few years ago, way before Google started to publish the GKI versions! |
|
golang enable MPTCP by default is little weird, and this break our |
Use the default value from Go or from GODEBUG env var.
Regarding the CVE 2026-98432, disabling MPTCP is not enough, and having it disabled here provides a wrong sense of protection.
The issue is in the TCP stack. MPTCP was used in the reproducer, but it is not limited to it: https://social.kernel.org/notice/BBxO99YYQ3YK11iS8G
The right fix is to update the kernel, and a workaround is to block IPv4 options, which is probably already the case for years on routers on the Internet: https://kb.ciq.com/article/security-advisories/cve-2026-98432-mitigation
Note: it's not clear to me how such a high score got assigned for something hard to reproduce in practice and probably impossible on the Internet where IPv4 options are often blocked. In a lab, with full control and a lot of patience, yes, but that was just for this Anthropic "ad" that part.