Kernel memory disclosure and crash via TTY race
Published May 31, 2022 · Updated Aug 3, 2024
An out-of-bounds read in the Linux kernel TTY subsystem allows local users to disclose kernel memory or crash the system via ioctl races. Concurrent TIOCSTI and TCXONC operations can make tty_flip_buffer_push lower the buffer commit position, so flush_to_ldisc computes a negative count and reads beyond the slab buffer. Exploitation requires local access and winning the race; successful attempts expose random kernel data or interrupt service by crashing the host.
Summary
What happened
An out-of-bounds read in the Linux kernel TTY subsystem allows local users to disclose kernel memory or crash the system via ioctl races. Concurrent TIOCSTI and TCXONC operations can make tty_flip_buffer_push lower the buffer commit position, so flush_to_ldisc computes a negative count and reads beyond the slab buffer. Exploitation requires local access and winning the race; successful attempts expose random kernel data or interrupt service by crashing the host.
The record
- CVE
- CVE-2022-1462
- Published
- May 31, 2022
- Updated
- Aug 3, 2024
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-362, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 31, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=no information yet
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- oss-security TTY ioctl race proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo