CVE
CVE-2024-26857
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: geneve: make sure to pull inner header in geneve_rx() syzbot triggered a bug in geneve_rx() [1] Issue is similar to the one I fixed in commit 8d975c15c0cd ("ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()") We have to save skb->network_header in a temporary variable in order to be able to recompute the network_header pointer after a pskb_inet_may_pull() call. pskb_inet_may_pull() makes sure the needed headers are in skb->head. [1] BUG: KMSAN: uninit-value in IP_ECN_decapsulate include/net/inet_ecn.h:302 [inline] BUG: KMSAN: uninit-value in geneve_rx drivers/net/geneve.c:279 [inline] BUG: KMSAN: uninit-value in geneve_udp_encap_recv+0x36f9/0x3c10 drivers/net/geneve.c:391 IP_ECN_decapsulate include/net/inet_ecn.h:302 [inline] geneve_rx drivers/net/geneve.c:279 [inline] geneve_udp_encap_recv+0x36f9/0x3c10 drivers/net/geneve.c:391 udp_queue_rcv_one_skb+0x1d39/0x1f20 net/ipv4/udp.c:2108 udp_queue_rcv_skb+0x6ae/0x6e0 net/ipv4/udp.c:2186 udp_unicast_rcv_skb+0x184/0x4b0 net/ipv4/udp.c:2346 __udp4_lib_rcv+0x1c6b/0x3010 net/ipv4/udp.c:2422 udp_rcv+0x7d/0xa0 net/ipv4/udp.c:2604 ip_protocol_deliver_rcu+0x264/0x1300 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2b8/0x440 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] ip_local_deliver+0x21f/0x490 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:461 [inline] ip_rcv_finish net/ipv4/ip_input.c:449 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ip_rcv+0x46f/0x760 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core net/core/dev.c:5534 [inline] __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5648 process_backlog+0x480/0x8b0 net/core/dev.c:5976 __napi_poll+0xe3/0x980 net/core/dev.c:6576 napi_poll net/core/dev.c:6645 [inline] net_rx_action+0x8b8/0x1870 net/core/dev.c:6778 __do_softirq+0x1b7/0x7c5 kernel/softirq.c:553 do_softirq+0x9a/0xf0 kernel/softirq.c:454…
受影响版本
- 6.8-rc6仅此版本
- 6.8-rc5仅此版本
- 6.8-rc4仅此版本
- 6.8-rc3仅此版本
- 6.8-rc2仅此版本
- 6.8-rc1仅此版本
- ≥ 6.7, < 6.7.10修复版本 6.7.10
- ≥ 6.2, < 6.6.22修复版本 6.6.22
- ≥ 5.16, < 6.1.82修复版本 6.1.82
- ≥ 5.11, < 5.15.152修复版本 5.15.152
- ≥ 5.5, < 5.10.213修复版本 5.10.213
- ≥ 4.20, < 5.4.272修复版本 5.4.272
- ≥ 4.2, < 4.19.310修复版本 4.19.310
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/048e16dee1fc609c1c85072ccd70bfd4b5fef6ca · Patch
- git.kernel.org/stable/c/0ece581d2a66e8e488c0d3b3e7b5760dbbfdbdd5 · Patch
- git.kernel.org/stable/c/1ca1ba465e55b9460e4e75dec9fff31e708fec74 · Patch
- git.kernel.org/stable/c/59d2a4076983303f324557a114cfd5c32e1f6b29 · Patch
- git.kernel.org/stable/c/c0b22568a9d8384fd000cc49acb8f74bde40d1b5 · Patch
- git.kernel.org/stable/c/c7137900691f5692fe3de54566ea7b30bb35d66c · Patch
- git.kernel.org/stable/c/e431c3227864b5646601c97f5f898d99472f2914 · Patch
- git.kernel.org/stable/c/e77e0b0f2a11735c64b105edaee54d6344faca8a · 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) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。