漏洞标题
仅允许init namespace将默认TCP拥塞算法设置为受限制的算法。
漏洞描述信息
在Linux内核中,已经修复了以下漏洞:
net: 仅允许init网络命名空间设置默认TCP拥塞控制算法为受限制的算法。
tcp_set_default_congestion_control()函数在网络命名空间安全,因为它将写入&net->ipv4.tcp_congestion_control,但它也设置了ca->flags |= TCP_CONG_NON_RESTRICTED,这不是网络命名空间化的。这无意中产生了副作用,改变了全局的
net.ipv4.tcp_allowed_congestion_control sysctl,尽管它是只读的:97684f0970f6 ("net: Make tcp_allowed_congestion_control
readonly in non-init netns")。
要解决这个网络命名空间“泄漏”,仅允许init网络命名空间设置默认算法为受限制的算法。这种限制在未来可以移除,如果tcp_allowed_congestion_control被未来网络命名空间化的话。
这个漏洞是通过以下链接发现的:
https://github.com/JonathonReinhart/linux-netns-sysctl-verify
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
漏洞类别
使用共享资源的并发执行不恰当同步问题(竞争条件)
漏洞标题
net: Only allow init netns to set default tcp cong to a restricted algo
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
net: Only allow init netns to set default tcp cong to a restricted algo
tcp_set_default_congestion_control() is netns-safe in that it writes
to &net->ipv4.tcp_congestion_control, but it also sets
ca->flags |= TCP_CONG_NON_RESTRICTED which is not namespaced.
This has the unintended side-effect of changing the global
net.ipv4.tcp_allowed_congestion_control sysctl, despite the fact that it
is read-only: 97684f0970f6 ("net: Make tcp_allowed_congestion_control
readonly in non-init netns")
Resolve this netns "leak" by only allowing the init netns to set the
default algorithm to one that is restricted. This restriction could be
removed if tcp_allowed_congestion_control were namespace-ified in the
future.
This bug was uncovered with
https://github.com/JonathonReinhart/linux-netns-sysctl-verify
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于允许设置 ca->flags |= TCP_CONG_NON_RESTRICTED。
CVSS信息
N/A
漏洞类别
其他