cbcvebase.
CVE-2024-26633
published 2024-03-18

CVE-2024-26633: In the Linux kernel, the following vulnerability has been resolved: ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim() syzbot pointed out…

medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
In the Linux kernel, the following vulnerability has been resolved: ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim() syzbot pointed out [1] that NEXTHDR_FRAGMENT handling is broken. Reading frag_off can only be done if we pulled enough bytes to skb->head. Currently we might access garbage. [1] BUG: KMSAN: uninit-value in ip6_tnl_parse_tlv_enc_lim+0x94f/0xbb0 ip6_tnl_parse_tlv_enc_lim+0x94f/0xbb0 ipxip6_tnl_xmit net/ipv6/ip6_tunnel.c:1326 [inline] ip6_tnl_start_xmit+0xab2/0x1a70 net/ipv6/ip6_tunnel.c:1432 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3564 __dev_queue_xmit+0x33b8/0x5130 net/core/dev.c:4349 dev_queue_xmit include/linux/netdevice.h:3134 [inline] neigh_connected_output+0x569/0x660 net/core/neighbour.c:1592 neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0x23a9/0x2b30 net/ipv6/ip6_output.c:137 ip6_finish_output+0x855/0x12b0 net/ipv6/ip6_output.c:222 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x323/0x610 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:451 [inline] ip6_local_out+0xe9/0x140 net/ipv6/output_core.c:155 ip6_send_skb net/ipv6/ip6_output.c:1952 [inline] ip6_push_pending_frames+0x1f9/0x560 net/ipv6/ip6_output.c:1972 rawv6_push_pending_frames+0xbe8/0xdf0 net/ipv6/raw.c:582 rawv6_sendmsg+0x2b66/0x2e70 net/ipv6/raw.c:920 inet_sendmsg+0x105/0x190 net/ipv4/af_inet.c:847 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry

Affected

41 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.76-1 (bookworm)linux 6.1.76-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux>= 3.10.106 < 3.113.11
linuxlinux>= 3.12.71 < 3.133.13
linuxlinux>= 3.16.42 < 3.173.17
linuxlinux>= 3.18.49 < 3.193.19
linuxlinux>= 3.2.87 < 3.33.3
linuxlinux>= 4.4.50 < 4.54.5
linuxlinux>= 4.9.11 < 4.104.10
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < 135414f300c5db995e2a2f3bf0f455de9d014aee135414f300c5db995e2a2f3bf0f455de9d014aee
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < 3f15ba3dc14e6ee002ea01b4faddc3d49200377c3f15ba3dc14e6ee002ea01b4faddc3d49200377c
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < da23bd709b46168f7dfc36055801011222b076cdda23bd709b46168f7dfc36055801011222b076cd
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < 4329426cf6b8e22b798db2331c7ef1dd2a9c748d4329426cf6b8e22b798db2331c7ef1dd2a9c748d
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < 62a1fedeb14c7ac0947ef33fadbabd35ed2400a262a1fedeb14c7ac0947ef33fadbabd35ed2400a2
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < 687c5d52fe53e602e76826dbd4d7af412747e183687c5d52fe53e602e76826dbd4d7af412747e183
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < ba8d904c274268b18ef3dc11d3ca7b24a96cb087ba8d904c274268b18ef3dc11d3ca7b24a96cb087
linuxlinux>= fbfa743a9d2a0ffa24251764f10afc13eb21e739 < d375b98e0248980681e5e56b712026174d617198d375b98e0248980681e5e56b712026174d617198

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.1HIGH