Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26641— ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于允许通过__ip6_tnl_rcv()访问数据。

CVSS 8.6 · High EPSS 0.58% · P46

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 0d3c703a9d1723c7707e0680019ac8ff5922db42< a9bc32879a08f23cdb80a48c738017e39aea1080 affected
0d3c703a9d1723c7707e0680019ac8ff5922db42< af6b5c50d47ab43e5272ad61935d0ed2e264d3f0 affected
0d3c703a9d1723c7707e0680019ac8ff5922db42< d54e4da98bbfa8c257bdca94c49652d81d18a4d8 affected
0d3c703a9d1723c7707e0680019ac8ff5922db42< 350a6640fac4b53564ec20aa3f4a0922cb0ba5e6 affected
0d3c703a9d1723c7707e0680019ac8ff5922db42< c835df3bcc14858ae9b27315dd7de76370b94f3a affected
0d3c703a9d1723c7707e0680019ac8ff5922db42< 8d975c15c0cd744000ca386247432d57b21f9df0 affected
4.7 affected
< 4.7 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26641

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv() syzbot found __ip6_tnl_rcv() could access unitiliazed data [1]. Call pskb_inet_may_pull() to fix this, and initialize ipv6h variable after this call as it can change skb->head. [1] BUG: KMSAN: uninit-value in __INET_ECN_decapsulate include/net/inet_ecn.h:253 [inline] BUG: KMSAN: uninit-value in INET_ECN_decapsulate include/net/inet_ecn.h:275 [inline] BUG: KMSAN: uninit-value in IP6_ECN_decapsulate+0x7df/0x1e50 include/net/inet_ecn.h:321 __INET_ECN_decapsulate include/net/inet_ecn.h:253 [inline] INET_ECN_decapsulate include/net/inet_ecn.h:275 [inline] IP6_ECN_decapsulate+0x7df/0x1e50 include/net/inet_ecn.h:321 ip6ip6_dscp_ecn_decapsulate+0x178/0x1b0 net/ipv6/ip6_tunnel.c:727 __ip6_tnl_rcv+0xd4e/0x1590 net/ipv6/ip6_tunnel.c:845 ip6_tnl_rcv+0xce/0x100 net/ipv6/ip6_tunnel.c:888 gre_rcv+0x143f/0x1870 ip6_protocol_deliver_rcu+0xda6/0x2a60 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:461 [inline] ip6_rcv_finish+0x5db/0x870 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:314 [inline] ipv6_rcv+0xda/0x390 net/ipv6/ip6_input.c:310 __netif_receive_skb_one_core net/core/dev.c:5532 [inline] __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5646 netif_receive_skb_internal net/core/dev.c:5732 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5791 tun_rx_batched+0x3ee/0x980 drivers/net/tun.c:1555 tun_get_user+0x53af/0x66d0 drivers/net/tun.c:2002 tun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:2084 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x786/0x1200 fs/read_write.c:590 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xd0 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x5e9/0xb10 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x318/0x740 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6334 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2787 tun_alloc_skb drivers/net/tun.c:1531 [inline] tun_get_user+0x1e8a/0x66d0 drivers/net/tun.c:1846 tun_chr_write_iter+0x3af/0x5d0 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:2084 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x786/0x1200 fs/read_write.c:590 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xd0 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 0 PID: 5034 Comm: syz-executor331 Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于允许通过__ip6_tnl_rcv()访问数据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 0d3c703a9d1723c7707e0680019ac8ff5922db42 ~ a9bc32879a08f23cdb80a48c738017e39aea1080 -
Linux Linux 4.7 -

II. Public POCs for CVE-2024-26641

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26641

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

Mailing List Discussions for CVE-2024-26641 (1)

Other References for CVE-2024-26641 (6)

Same Patch Batch · Linux · 2024-03-18 · 21 CVEs total

CVE-2023-52616 7.8 HIGH crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
CVE-2024-26640 7.8 HIGH tcp: add sanity checks to rx zerocopy
CVE-2024-26637 7.8 HIGH wifi: ath11k: rely on mac80211 debugfs handling for vif
CVE-2023-52614 7.8 HIGH PM / devfreq: Fix buffer overflow in trans_stat_show
CVE-2024-26632 7.8 HIGH block: Fix iterating over an empty bio with bio_for_each_folio_all
CVE-2024-26631 7.8 HIGH ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
CVE-2023-52612 7.8 HIGH crypto: scomp - fix req->dst buffer overflow
CVE-2023-52610 7.5 HIGH net/sched: act_ct: fix skb leak and crash on ooo frags
CVE-2023-52613 drivers/thermal/loongson2_thermal: Fix incorrect PTR_ERR() judgment
CVE-2024-26633 ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
CVE-2023-52615 hwrng: core - Fix page fault dead lock on mmap-ed hwrng
CVE-2023-52609 binder: fix race between mmput() and do_exit()
CVE-2024-26634 net: fix removing a namespace with conflicting altnames
CVE-2024-26635 llc: Drop support for ETH_P_TR_802_2.
CVE-2023-52611 wifi: rtw88: sdio: Honor the host max_req_size in the RX path
CVE-2024-26636 llc: make llc_ui_sendmsg() more robust against bonding changes
CVE-2024-26638 nbd: always initialize struct msghdr completely
CVE-2023-52617 PCI: switchtec: Fix stdev_release() crash after surprise hot remove
CVE-2023-52618 block/rnbd-srv: Check for unlikely string overflow
CVE-2023-52619 pstore/ram: Fix crash when setting number of cpus to an odd number

IV. Related Vulnerabilities

V. Comments for CVE-2024-26641

No comments yet


Leave a comment