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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-57974— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于UDP套接字地址更改和重新哈希之间存在竞争条件。

AI 预测 5.9 利用难度: 中等 EPSS 0.15% · P4

可能的 ATT&CK 技术 1 AI

T1498 · Network Denial of Service

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux 30fff9231fad757c061285e347b33c5149c2c2e4< 2855445a1870b8e568fb19edbd60b9c499e3dae0 affected
30fff9231fad757c061285e347b33c5149c2c2e4< 4f8344fce91c5766d368edb0ad80142eacd805c7 affected
30fff9231fad757c061285e347b33c5149c2c2e4< d65d3bf309b2649d27b24efd0d8784da2d81f2a6 affected
30fff9231fad757c061285e347b33c5149c2c2e4< a502ea6fa94b1f7be72a24bcf9e3f5f6b7e6e90c affected
2.6.33 affected
< 2.6.33 unaffected
6.6.160≤ 6.6.* unaffected
6.12.13≤ 6.12.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-57974 基础信息

漏洞信息

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

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

Vulnerability Title
udp: Deal with race between UDP socket address change and rehash
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: udp: Deal with race between UDP socket address change and rehash If a UDP socket changes its local address while it's receiving datagrams, as a result of connect(), there is a period during which a lookup operation might fail to find it, after the address is changed but before the secondary hash (port and address) and the four-tuple hash (local and remote ports and addresses) are updated. Secondary hash chains were introduced by commit 30fff9231fad ("udp: bind() optimisation") and, as a result, a rehash operation became needed to make a bound socket reachable again after a connect(). This operation was introduced by commit 719f835853a9 ("udp: add rehash on connect()") which isn't however a complete fix: the socket will be found once the rehashing completes, but not while it's pending. This is noticeable with a socat(1) server in UDP4-LISTEN mode, and a client sending datagrams to it. After the server receives the first datagram (cf. _xioopen_ipdgram_listen()), it issues a connect() to the address of the sender, in order to set up a directed flow. Now, if the client, running on a different CPU thread, happens to send a (subsequent) datagram while the server's socket changes its address, but is not rehashed yet, this will result in a failed lookup and a port unreachable error delivered to the client, as apparent from the following reproducer: LEN=$(($(cat /proc/sys/net/core/wmem_default) / 4)) dd if=/dev/urandom bs=1 count=${LEN} of=tmp.in while :; do taskset -c 1 socat UDP4-LISTEN:1337,null-eof OPEN:tmp.out,create,trunc & sleep 0.1 || sleep 1 taskset -c 2 socat OPEN:tmp.in UDP4:localhost:1337,shut-null wait done where the client will eventually get ECONNREFUSED on a write() (typically the second or third one of a given iteration): 2024/11/13 21:28:23 socat[46901] E write(6, 0x556db2e3c000, 8192): Connection refused This issue was first observed as a seldom failure in Podman's tests checking UDP functionality while using pasta(1) to connect the container's network namespace, which leads us to a reproducer with the lookup error resulting in an ICMP packet on a tap device: LOCAL_ADDR="$(ip -j -4 addr show|jq -rM '.[] | .addr_info[0] | select(.scope == "global").local')" while :; do ./pasta --config-net -p pasta.pcap -u 1337 socat UDP4-LISTEN:1337,null-eof OPEN:tmp.out,create,trunc & sleep 0.2 || sleep 1 socat OPEN:tmp.in UDP4:${LOCAL_ADDR}:1337,shut-null wait cmp tmp.in tmp.out done Once this fails: tmp.in tmp.out differ: char 8193, line 29 we can finally have a look at what's going on: $ tshark -r pasta.pcap 1 0.000000 :: ? ff02::16 ICMPv6 110 Multicast Listener Report Message v2 2 0.168690 88.198.0.161 ? 88.198.0.164 UDP 8234 60260 ? 1337 Len=8192 3 0.168767 88.198.0.161 ? 88.198.0.164 UDP 8234 60260 ? 1337 Len=8192 4 0.168806 88.198.0.161 ? 88.198.0.164 UDP 8234 60260 ? 1337 Len=8192 5 0.168827 c6:47:05:8d:dc:04 ? Broadcast ARP 42 Who has 88.198.0.161? Tell 88.198.0.164 6 0.168851 9a:55:9a:55:9a:55 ? c6:47:05:8d:dc:04 ARP 42 88.198.0.161 is at 9a:55:9a:55:9a:55 7 0.168875 88.198.0.161 ? 88.198.0.164 UDP 8234 60260 ? 1337 Len=8192 8 0.168896 88.198.0.164 ? 88.198.0.161 ICMP 590 Destination unreachable (Port unreachable) 9 0.168926 88.198.0.161 ? 88.198.0.164 UDP 8234 60260 ? 1337 Len=8192 10 0.168959 88.198.0.161 ? 88.198.0.164 UDP 8234 60260 ? 1337 Len=8192 11 0.168989 88.198.0.161 ? 88.198.0.164 UDP 4138 60260 ? 1337 Len=4096 12 0.169010 88.198.0.161 ? 88.198.0.164 UDP 42 60260 ? 1337 Len=0 On the third datagram received, the network namespace of the container initiates an ARP lookup to deliver the ICMP message. In another variant of this reproducer, starting the client with: strace -f pasta --config-net -u 1337 socat UDP4-LISTEN:1337,null-eof OPEN:tmp.out,create,tru ---truncated---
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: 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存在安全漏洞,该漏洞源于UDP套接字地址更改和重新哈希之间存在竞争条件。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 30fff9231fad757c061285e347b33c5149c2c2e4 ~ 2855445a1870b8e568fb19edbd60b9c499e3dae0 -
Linux Linux 2.6.33 -

二、漏洞 CVE-2024-57974 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-57974 的情报信息

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

CVE-2024-57974 补丁与修复 (4)

同批安全公告 · Linux · 2025-02-27 · 共 177 条

CVE-2025-21748 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-21707 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-21805 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-21796 9.8 CRITICAL Linux kernel 资源管理错误漏洞
CVE-2024-58006 9.6 CRITICAL Linux kernel 安全漏洞
CVE-2024-57999 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-21735 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-57997 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-57995 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-21710 8.2 HIGH Linux kernel 安全漏洞
CVE-2025-21762 8.1 HIGH Linux kernel 资源管理错误漏洞
CVE-2025-21760 8.1 HIGH Linux kernel 资源管理错误漏洞
CVE-2024-57973 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-21765 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-21766 8.1 HIGH Linux kernel 安全漏洞
CVE-2024-58004 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-58002 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-52560 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-21738 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-21801 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-57974

暂无评论


发表评论