Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-143009

vt: serialise the producers of the flip buffer

No exploitation reported by the sources we read.

  • Published2026-12-03
  • Fixed in7.3.7 · 6.18.66 · 6.12.120 · 5.15.227

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-12-0309:17CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.77.3.7
6.x≥ 6.13.0, < 6.18.666.18.66
6.12≥ 5.16.0, < 6.12.1206.12.120
5.15≥ 2.6.12, < 5.15.2275.15.227

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 880df0d36c48b5f05903179cef2a93a9d8200f01fixed in 880df0d36c48b5f05903179cef2a93a9d8200f01git
    • ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4aeaf5dcd8572b594a49729b5fe1236bf1f1aed7fixed in 4aeaf5dcd8572b594a49729b5fe1236bf1f1aed7git
    • ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 34aa97b7a23d05be25a040c5e0d74a4a153dac29fixed in 34aa97b7a23d05be25a040c5e0d74a4a153dac29git
    • ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 75003fbe02202236df8b960bd2d915bbb6c4ef21fixed in 75003fbe02202236df8b960bd2d915bbb6c4ef21git
    • ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5d1d814408c1c8e797031eac8ddd40de1a9e8e93fixed in 5d1d814408c1c8e797031eac8ddd40de1a9e8e93git
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 2.6.12no fix stated

    Not affected < 2.6.12 · ≥ 5.15.227, ≤ 5.15.* · ≥ 6.12.120, ≤ 6.12.* · ≥ 6.18.66, ≤ 6.18.* · ≥ 7.3.7, ≤ 7.3.* · ≥ 7.4-rc4

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · no fixed version listed
  • linuxDebian:13all versions · no fixed version listed
  • linuxDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.7 · 6.18.66 · 6.12.120 · 5.15.227

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-12-03
Last modified
2026-12-03
NVD status
Received
GitHub advisory
GHSA-c623-r57m-q7jq

Frequently asked questions

What is CVE-2026-143009?

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.

Is CVE-2026-143009 actively exploited?

Active exploitation of CVE-2026-143009 has not been confirmed. Its EPSS score was 0.2% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-143009?

CVE-2026-143009 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record