VDB

DEBIAN-CVE-2024-40966

DEBIAN-CVE-2024-40966 PUBLISHED CVSS 5.5 MEDIUM

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.

Risk Scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Debian:14linux0
Debian:13linux0
Debian:12linux6.1.27-1, 6.1.37-1, 6.1.38-1

Timeline

  • Jul 12, 2024 CVE Published
  • Sep 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 50/day Open console ›