Local kernel compromise via stale reinit work
Published May 26, 2021 · Updated Aug 4, 2024
Use-after-free in the Sun keyboard driver in Linux Kernel 5.9.4 allows local users to crash the kernel or execute arbitrary code. sunkbd_interrupt can queue sunkbd_reinit before teardown frees its sunkbd structure, leaving the worker to dereference an alias after the pointer is cleared. Reachability requires CONFIG_KEYBOARD_SUNKBD=y and local access capable of driving the affected line-discipline sequence.
Summary
What happened
Use-after-free in the Sun keyboard driver in Linux Kernel 5.9.4 allows local users to crash the kernel or execute arbitrary code. sunkbd_interrupt can queue sunkbd_reinit before teardown frees its sunkbd structure, leaving the worker to dereference an alias after the pointer is cleared. Reachability requires CONFIG_KEYBOARD_SUNKBD=y and local access capable of driving the affected line-discipline sequence.
The record
- CVE
- CVE-2020-25669
- Published
- May 26, 2021
- Updated
- Aug 4, 2024
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 26, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 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=5.9.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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.
Public exploit references
- oss-security syzkaller reproducerproof 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