CVE-2024-40966
Last modified
CVE-2024-40966 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 6.1.96 |
| Linux | Linux Kernel | >= 6.2, < 6.6.36 |
| Linux | Linux Kernel | >= 6.7, < 6.9.7 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-40966?
How severe is CVE-2024-40966?
How do I fix CVE-2024-40966?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-40960In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40961In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40962In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40963In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40964In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40965In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40967In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40968In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40969In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-4097The Cost Calculator Builder plugin for WordPress is vulnerab…7.2
- CVE-2024-40970In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40971In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-40966?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
