Local denial of service via serial probe leak
Published May 21, 2024 · Updated May 11, 2026
Memory leak in the Linux kernel serial_cs driver before 5.14 allows local users to exhaust memory when serial device setup fails. The serial_probe function allocates an info structure with kzalloc, but the failing serial_config path returned without freeing that allocation. Reachability requires low-privileged local access and a PCMCIA serial-device configuration that drives serial_config into its failure path; repeated triggers can degrade availability through kernel-memory exhaustion.
Summary
What happened
Memory leak in the Linux kernel serial_cs driver before 5.14 allows local users to exhaust memory when serial device setup fails. The serial_probe function allocates an info structure with kzalloc, but the failing serial_config path returned without freeing that allocation. Reachability requires low-privileged local access and a PCMCIA serial-device configuration that drives serial_config into its failure path; repeated triggers can degrade availability through kernel-memory exhaustion.
The record
- CVE
- CVE-2021-47330
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 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=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <331f5923fce4f45b8170ccf06c529e8eb28f37bc
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <34f4590f5ec9859ea9136249f528173d150bd584
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <7a80f71601af015856a0aeb1e3c294037ac3dd32
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <b2ef1f5de40342de44fc5355321595f91774dab5
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <b5a2799cd62ed30c81b22c23028d9ee374e2138c
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <c39cf4df19acf0133fa284a8cd83fad42cd13cc2
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <ee16bed959862a6de2913f71a04cb563d7237b67
- Affected versionversion=15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 <fad92b11047a748c996ebd6cfb164a63814eeb2e
- Affected versionversion=2.6.17
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