CVE
CVE-2024-35888
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: erspan: make sure erspan_base_hdr is present in skb->head syzbot reported a problem in ip6erspan_rcv() [1] Issue is that ip6erspan_rcv() (and erspan_rcv()) no longer make sure erspan_base_hdr is present in skb linear part (skb->head) before getting @ver field from it. Add the missing pskb_may_pull() calls. v2: Reload iph pointer in erspan_rcv() after pskb_may_pull() because skb->head might have changed. [1] BUG: KMSAN: uninit-value in pskb_may_pull_reason include/linux/skbuff.h:2742 [inline] BUG: KMSAN: uninit-value in pskb_may_pull include/linux/skbuff.h:2756 [inline] BUG: KMSAN: uninit-value in ip6erspan_rcv net/ipv6/ip6_gre.c:541 [inline] BUG: KMSAN: uninit-value in gre_rcv+0x11f8/0x1930 net/ipv6/ip6_gre.c:610 pskb_may_pull_reason include/linux/skbuff.h:2742 [inline] pskb_may_pull include/linux/skbuff.h:2756 [inline] ip6erspan_rcv net/ipv6/ip6_gre.c:541 [inline] gre_rcv+0x11f8/0x1930 net/ipv6/ip6_gre.c:610 ip6_protocol_deliver_rcu+0x1d4c/0x2ca0 net/ipv6/ip6_input.c:438 ip6_input_finish net/ipv6/ip6_input.c:483 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ip6_input+0x15d/0x430 net/ipv6/ip6_input.c:492 ip6_mc_input+0xa7e/0xc80 net/ipv6/ip6_input.c:586 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish+0x955/0x970 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:314 [inline] ipv6_rcv+0xde/0x390 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x1da/0xa00 net/core/dev.c:5652 netif_receive_skb_internal net/core/dev.c:5738 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5798 tun_rx_batched+0x3ee/0x980 drivers/net/tun.c:1549 tun_get_user+0x5566/0x69e0 drivers/net/tun.c:2002 tun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:2108 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xb63/0x1520…
受影响版本
- 6.9-rc2仅此版本
- 6.9-rc1仅此版本
- ≥ 6.7, < 6.8.5修复版本 6.8.5
- ≥ 6.2, < 6.6.26修复版本 6.6.26
- ≥ 5.16, < 6.1.85修复版本 6.1.85
- ≥ 5.11, < 5.15.154修复版本 5.15.154
- ≥ 5.5, < 5.10.215修复版本 5.10.215
- ≥ 4.20.7, < 5.4.274修复版本 5.4.274
- ≥ 4.19.20, < 4.19.312修复版本 4.19.312
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/06a939f72a24a7d8251f84cf4c042df86c6666ac · Patch
- git.kernel.org/stable/c/0ac328a5a4138a6c03dfc3f46017bd5c19167446 · Patch
- git.kernel.org/stable/c/17af420545a750f763025149fa7b833a4fc8b8f0 · Patch
- git.kernel.org/stable/c/1db7fcb2b290c47c202b79528824f119fa28937d · Patch
- git.kernel.org/stable/c/4e3fdeecec5707678b0d1f18c259dadb97262e9d · Patch
- git.kernel.org/stable/c/b14b9f9503ec823ca75be766dcaeff4f0bfeca85 · Patch
- git.kernel.org/stable/c/e54a0c79cdc2548729dd7e2e468b08c5af4d0df5 · Patch
- git.kernel.org/stable/c/ee0088101beee10fa809716d6245d915b09c37c7 · Patch
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。