Local privilege escalation via PDC console overflow
Published Oct 7, 2025 · Updated Oct 7, 2025
Buffer overflow in the PA-RISC firmware console code in affected Linux kernels allows local users to corrupt kernel memory. pdc_iodc_print() copies console output into the fixed 4,096-byte iodc_dbuf without bounding count and accesses that shared buffer without pdc_lock. The path requires a PA-RISC system with PDC console access; a local user able to write /dev/ttyB can overwrite adjacent kernel state, escalate privileges, or panic the host.
Summary
What happened
Buffer overflow in the PA-RISC firmware console code in affected Linux kernels allows local users to corrupt kernel memory. pdc_iodc_print() copies console output into the fixed 4,096-byte iodc_dbuf without bounding count and accesses that shared buffer without pdc_lock. The path requires a PA-RISC system with PDC console access; a local user able to write /dev/ttyB can overwrite adjacent kernel state, escalate privileges, or panic the host.
The record
- CVE
- CVE-2022-50518
- Published
- Oct 7, 2025
- Updated
- Oct 7, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 7, 2025CVE publishedPublication date reported by the CVE source.
- Oct 7, 2025Record 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <04a603058e70b8b881bb7860b8bd649f931f2591
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <553bc5890ed96a8d006224c3a4673c47fee0d12a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7236aae5f81f3efbd93d0601e74fc05994bc2580
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.
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