目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-22059— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于sk_rmem_alloc多次回绕,可能导致内存溢出。

CVSS 7.5 · High EPSS 0.48% · P41

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux 6a1f12dd85a8b24f871dfcf467378660af9c064d< 94d5ad7b41122be33ebc2a6830fe710cba1ecd75 affected
6a1f12dd85a8b24f871dfcf467378660af9c064d< 1f529988efe9870db802cb79d01d8f473099b4d7 affected
6a1f12dd85a8b24f871dfcf467378660af9c064d< 7571aadd20289e9ea10ebfed0986f39ed8b3c16b affected
6a1f12dd85a8b24f871dfcf467378660af9c064d< 5a465a0da13ee9fbd7d3cd0b2893309b0fe4b7e3 affected
6.10 affected
< 6.10 unaffected
6.12.23≤ 6.12.* unaffected
6.13.11≤ 6.13.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-22059 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
udp: Fix multiple wraparounds of sk->sk_rmem_alloc.
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: udp: Fix multiple wraparounds of sk->sk_rmem_alloc. __udp_enqueue_schedule_skb() has the following condition: if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) goto drop; sk->sk_rcvbuf is initialised by net.core.rmem_default and later can be configured by SO_RCVBUF, which is limited by net.core.rmem_max, or SO_RCVBUFFORCE. If we set INT_MAX to sk->sk_rcvbuf, the condition is always false as sk->sk_rmem_alloc is also signed int. Then, the size of the incoming skb is added to sk->sk_rmem_alloc unconditionally. This results in integer overflow (possibly multiple times) on sk->sk_rmem_alloc and allows a single socket to have skb up to net.core.udp_mem[1]. For example, if we set a large value to udp_mem[1] and INT_MAX to sk->sk_rcvbuf and flood packets to the socket, we can see multiple overflows: # cat /proc/net/sockstat | grep UDP: UDP: inuse 3 mem 7956736 <-- (7956736 << 12) bytes > INT_MAX * 15 ^- PAGE_SHIFT # ss -uam State Recv-Q ... UNCONN -1757018048 ... <-- flipping the sign repeatedly skmem:(r2537949248,rb2147483646,t0,tb212992,f1984,w0,o0,bl0,d0) Previously, we had a boundary check for INT_MAX, which was removed by commit 6a1f12dd85a8 ("udp: relax atomic operation on sk->sk_rmem_alloc"). A complete fix would be to revert it and cap the right operand by INT_MAX: rmem = atomic_add_return(size, &sk->sk_rmem_alloc); if (rmem > min(size + (unsigned int)sk->sk_rcvbuf, INT_MAX)) goto uncharge_drop; but we do not want to add the expensive atomic_add_return() back just for the corner case. Casting rmem to unsigned int prevents multiple wraparounds, but we still allow a single wraparound. # cat /proc/net/sockstat | grep UDP: UDP: inuse 3 mem 524288 <-- (INT_MAX + 1) >> 12 # ss -uam State Recv-Q ... UNCONN -2147482816 ... <-- INT_MAX + 831 bytes skmem:(r2147484480,rb2147483646,t0,tb212992,f3264,w0,o0,bl0,d14468947) So, let's define rmem and rcvbuf as unsigned int and check skb->truesize only when rcvbuf is large enough to lower the overflow possibility. Note that we still have a small chance to see overflow if multiple skbs to the same socket are processed on different core at the same time and each size does not exceed the limit but the total size does. Note also that we must ignore skb->truesize for a small buffer as explained in commit 363dc73acacb ("udp: be less conservative with sock rmem accounting").
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于sk_rmem_alloc多次回绕,可能导致内存溢出。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 6a1f12dd85a8b24f871dfcf467378660af9c064d ~ 94d5ad7b41122be33ebc2a6830fe710cba1ecd75 -
Linux Linux 6.10 -

二、漏洞 CVE-2025-22059 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-22059 的情报信息

请登录查看更多情报信息。

CVE-2025-22059 其他参考 (4)

同批安全公告 · Linux · 2025-04-16 · 共 127 条

CVE-2025-22021 10.0 CRITICAL Linux kernel 安全漏洞
CVE-2025-22077 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22088 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22110 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22118 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22040 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22041 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22039 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22074 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22086 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-23133 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-58096 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22117 8.7 HIGH Linux kernel 安全漏洞
CVE-2025-22108 8.6 HIGH Linux kernel 安全漏洞
CVE-2025-22121 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-22080 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-22038 8.3 HIGH Linux kernel 安全漏洞
CVE-2025-22042 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-22043 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-22087 7.8 HIGH Linux kernel 安全漏洞

显示前 20 条,共 127 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-22059

暂无评论


发表评论