CVE-2026-143009
Last modified
CVE-2026-143009 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: vt: serialise the producers of the flip buffer Typing on a virtual console while the console replies to an escape sequence can make the kernel write past the end of a buffer. A user who can write to the foreground console can cause this on purpose if they can also inject key events, through /dev/uinput or by writing to the /dev/input/event* node of a keyboard. Input for a tty goes through the flip buffer of its port. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: vt: serialise the producers of the flip buffer Typing on a virtual console while the console replies to an escape sequence can make the kernel write past the end of a buffer. A user who can write to the foreground console can cause this on purpose if they can also inject key events, through /dev/uinput or by writing to the /dev/input/event* node of a keyboard. Input for a tty goes through the flip buffer of its port. A driver inserts the data with tty_insert_flip_*() and then calls tty_flip_buffer_push() to pass it on to the line discipline. The insert functions take no lock: they check that the current struct tty_buffer has room, copy the data to offset ->used, and then advance ->used. So a flip buffer supports only one producer at a time, and a driver that has several must serialise them. Four functions feed the flip buffer of a virtual console: - put_queue(), puts_queue() and fn_send_intr() insert typed characters and breaks for the keyboard handler. They run under kbd_event_lock. - respond_string() inserts the reply when a program writes an escape sequence that requests one, such as a cursor position report. It runs under the console lock. The keyboard handler gets its events from the input layer and feeds the foreground console. Key events that a program writes to /dev/uinput or to an event node reach it in the same way as typed keys. The keyboard handler and respond_string() share no lock, so they can interleave: keyboard handler respond_string() ================ ================ room check passes room check passes memcpy() to offset used used += len memcpy() to offset used used += len /* used > size of the buffer */ The room check subtracts ->used from the size, and both are unsigned. Once ->used exceeds the size, the result wraps, so the check always passes, and each later insert lands further past the buffer. Reproduced as root, with keys from a uinput keyboard and cursor position reports on the same console: KFENCE reported an out-of-bounds write 1,024 bytes past the buffer in under 10 s. Fix this by taking port->lock, with interrupts disabled, around the insert and the push in these four functions. kbd_keycode() already takes port->lock under kbd_event_lock, so this lock ordering is not new.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 880df0d36c48b5f05903179cef2a93a9d8200f01; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4aeaf5dcd8572b594a49729b5fe1236bf1f1aed7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 34aa97b7a23d05be25a040c5e0d74a4a153dac29; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 75003fbe02202236df8b960bd2d915bbb6c4ef21; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5d1d814408c1c8e797031eac8ddd40de1a9e8e93 |
| Linux | Linux | 2.6.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143009?
How severe is CVE-2026-143009?
How do I fix CVE-2026-143009?
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 2026
- CVE-2026-143003In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143004In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-143005In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143006In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143007In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143008In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143010In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143011In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143012In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143013In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-143014In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143015In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143009?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
