Kernel disclosure and crash via unterminated X.25 address
Published May 6, 2021 · Updated Aug 4, 2024
Out-of-bounds access in the Linux kernel X.25 implementation in 5.12-rc5 allows local users to disclose kernel memory or crash the system. The x25_bind path passes a user-supplied address that need not be NUL-terminated to strcmp and strlen, allowing reads beyond the sockaddr_x25 buffer. Exploitation requires local code execution and an X.25-enabled kernel; the documented outcomes are a kernel-memory leak and system crash.
Summary
What happened
Out-of-bounds access in the Linux kernel X.25 implementation in 5.12-rc5 allows local users to disclose kernel memory or crash the system. The x25_bind path passes a user-supplied address that need not be NUL-terminated to strcmp and strlen, allowing reads beyond the sockaddr_x25 buffer. Exploitation requires local code execution and an X.25-enabled kernel; the documented outcomes are a kernel-memory leak and system crash.
The record
- CVE
- CVE-2020-35519
- Published
- May 6, 2021
- Updated
- Aug 4, 2024
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-125, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 6, 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=v5.12-rc5
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
No public exploit references are available in this record.
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