Local use-after-free via underegistered LiteUART port
Published May 24, 2024 · Updated May 11, 2026
Use-after-free in the Linux LiteUART serial driver from 5.11 through 5.15.6 allows local users to access a port after driver unbinding. liteuart_remove() erases the device from its tracking array without first calling uart_remove_one_port(), leaving serial core resources registered after the driver data is released. Exploitation requires local access and the ability to unbind a bound LiteUART device; published sources establish stale access and a memory leak but no demonstrated code execution.
Summary
What happened
Use-after-free in the Linux LiteUART serial driver from 5.11 through 5.15.6 allows local users to access a port after driver unbinding. liteuart_remove() erases the device from its tracking array without first calling uart_remove_one_port(), leaving serial core resources registered after the driver data is released. Exploitation requires local access and the ability to unbind a bound LiteUART device; published sources establish stale access and a memory leak but no demonstrated code execution.
The record
- CVE
- CVE-2021-47525
- Published
- May 24, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 24, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record 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=1da81e5562fac8286567422cc56a7fbd0dc646d4 <05f929b395dec8957b636ff14e66b277ed022ed9
- Affected versionversion=1da81e5562fac8286567422cc56a7fbd0dc646d4 <602824cf9aa9db8830ffe5cfb2cd54365cada4fe
- Affected versionversion=5.11
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.
Weakness, pattern, technique
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