CVE-2024-40966
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
tty: add the option to have a tty reject a new ldisc
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| e1eaea46bb4020b38a141b84f88565d4603f8dd0 | affected | git | 3c6332f3bb1578b5b10ac2561247b1d6272ae937 | Unavailable | None listed |
| e1eaea46bb4020b38a141b84f88565d4603f8dd0 | affected | git | 287b569a5b914903ba7c438a3c0dbc3410ebb409 | Unavailable | None listed |
| e1eaea46bb4020b38a141b84f88565d4603f8dd0 | affected | git | 5920ac19964f9e20181f63b410d9200ddbf8dc86 | Unavailable | None listed |
| e1eaea46bb4020b38a141b84f88565d4603f8dd0 | affected | git | 6bd23e0c2bb6c65d4f5754d1456bc9a4427fc59b | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 2.6.35 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 2.6.35 | Unavailable | None listed |
| 6.1.96 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.36 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.9.7 | unaffected | semver | Unavailable | 6.9.* | None listed |
| 6.10 | unaffected | original_commit_for_fix | Unavailable | * | None listed |