cbcvebase.
CVE-2024-40966
published 2024-07-12

CVE-2024-40966: In the Linux kernel, the following vulnerability has been resolved: tty: add the option to have a tty reject a new ldisc ... and use it to limit the virtual…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.29%
21.0th percentile
In the Linux kernel, the following vulnerability has been resolved: tty: add the option to have a tty reject a new ldisc ... and use it to limit the virtual terminals to just N_TTY. They are kind of special, and in particular, the "con_write()" routine violates the "writes cannot sleep" rule that some ldiscs rely on. This avoids the BUG: sleeping function called from invalid context at kernel/printk/printk.c:2659 when N_GSM has been attached to a virtual console, and gsmld_write() calls con_write() while holding a spinlock, and con_write() then tries to get the console lock.

Affected

17 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.99-1 (bookworm)linux 6.1.99-1 (bookworm)
debianlinux-6.1< linux 6.1.99-1 (bookworm)linux 6.1.99-1 (bookworm)
linuxlinux
linuxlinux>= e1eaea46bb4020b38a141b84f88565d4603f8dd0 < 3c6332f3bb1578b5b10ac2561247b1d6272ae9373c6332f3bb1578b5b10ac2561247b1d6272ae937
linuxlinux>= e1eaea46bb4020b38a141b84f88565d4603f8dd0 < 287b569a5b914903ba7c438a3c0dbc3410ebb409287b569a5b914903ba7c438a3c0dbc3410ebb409
linuxlinux>= e1eaea46bb4020b38a141b84f88565d4603f8dd0 < 5920ac19964f9e20181f63b410d9200ddbf8dc865920ac19964f9e20181f63b410d9200ddbf8dc86
linuxlinux>= e1eaea46bb4020b38a141b84f88565d4603f8dd0 < 6bd23e0c2bb6c65d4f5754d1456bc9a4427fc59b6bd23e0c2bb6c65d4f5754d1456bc9a4427fc59b
linuxlinux_kernel< 6.1.966.1.96
linuxlinux_kernel>= 0 < 6.1.99-16.1.99-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.8.0-44.446.8.0-44.44
linuxlinux_kernel>= 6.2 < 6.6.366.6.36
linuxlinux_kernel>= 6.7 < 6.9.76.9.7
msrccbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.200.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.202.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.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.