cbcvebase.
CVE-2024-26805
published 2024-04-04

CVE-2024-26805: In the Linux kernel, the following vulnerability has been resolved: netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter syzbot reported the…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
15.5th percentile
In the Linux kernel, the following vulnerability has been resolved: netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter syzbot reported the following uninit-value access issue [1]: netlink_to_full_skb() creates a new `skb` and puts the `skb->data` passed as a 1st arg of netlink_to_full_skb() onto new `skb`. The data size is specified as `len` and passed to skb_put_data(). This `len` is based on `skb->end` that is not data offset but buffer offset. The `skb->end` contains data and tailroom. Since the tailroom is not initialized when the new `skb` created, KMSAN detects uninitialized memory area when copying the data. This patch resolved this issue by correct the len from `skb->end` to `skb->len`, which is the actual data offset. BUG: KMSAN: kernel-infoleak-after-free in instrument_copy_to_user include/linux/instrumented.h:114 [inline] BUG: KMSAN: kernel-infoleak-after-free in copy_to_user_iter lib/iov_iter.c:24 [inline] BUG: KMSAN: kernel-infoleak-after-free in iterate_ubuf include/linux/iov_iter.h:29 [inline] BUG: KMSAN: kernel-infoleak-after-free in iterate_and_advance2 include/linux/iov_iter.h:245 [inline] BUG: KMSAN: kernel-infoleak-after-free in iterate_and_advance include/linux/iov_iter.h:271 [inline] BUG: KMSAN: kernel-infoleak-after-free in _copy_to_iter+0x364/0x2520 lib/iov_iter.c:186 instrument_copy_to_user include/linux/instrumented.h:114 [inline] copy_to_user_iter lib/iov_iter.c:24 [inline] iterate_ubuf include/linux/iov_iter.h:29 [inline] iterate_and_advance2 include/linux/iov_iter.h:245 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x364/0x2520 lib/iov_iter.c:186 copy_to_iter include/linux/uio.h:197 [inline] simple_copy_to_iter+0x68/0xa0 net/core/datagram.c:532 __skb_datagram_iter+0x123/0xdc0 net/core/datagram.c:420 skb_copy_datagram_iter+0x5c/0x200 net/core/datagram.c:546 skb_copy_datagram_msg include/linux/skbuff.h:3960 [inline] packet_recvmsg+0xd9c/0x2000 net/packet/af_packet.c:3482 sock_recvmsg_nose

Affected

41 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.82-1 (bookworm)linux 6.1.82-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < ec343a55b687a452f5e87f3b52bf9f155864df65ec343a55b687a452f5e87f3b52bf9f155864df65
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < 9ae51361da43270f4ba0eb924427a07e87e487779ae51361da43270f4ba0eb924427a07e87e48777
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < f19d1f98e60e68b11fc60839105dd02a30ec0d77f19d1f98e60e68b11fc60839105dd02a30ec0d77
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < c71ed29d15b1a1ed6c464f8c3536996963046285c71ed29d15b1a1ed6c464f8c3536996963046285
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < 0b27bf4c494d61e5663baa34c3edd7ccebf0ea440b27bf4c494d61e5663baa34c3edd7ccebf0ea44
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < d3ada42e534a83b618bbc1e490d23bf0fdae4736d3ada42e534a83b618bbc1e490d23bf0fdae4736
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < 59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d59fc3e3d049e39e7d0d271f20dd5fb47c57faf1d
linuxlinux>= 1853c949646005b5959c483becde86608f548f24 < 661779e1fcafe1b74b3f3fe8e980c1e207fea1fd661779e1fcafe1b74b3f3fe8e980c1e207fea1fd
linuxlinux>= 3.12.49 < 3.133.13
linuxlinux>= 3.14.54 < 3.153.15
linuxlinux>= 3.18.23 < 3.193.19
linuxlinux>= 4.1.10 < 4.24.2
linuxlinux>= 4.2.3 < 4.34.3
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.216-15.10.216-1
linuxlinux_kernel>= 0 < 6.1.82-16.1.82-1
linuxlinux_kernel>= 0 < 6.7.9-16.7.9-1

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.