Local kernel crash via duplicate TTY allocation
Published Feb 25, 2024 · Updated May 11, 2026
NULL-pointer dereference in the HSO USB driver in Linux allows local users to crash the kernel during TTY device unregistration. get_free_serial_index() returns a free minor without reserving it, so concurrent callers can claim the same number and unregister one TTY device twice. Triggering the failure requires the HSO driver and overlapping TTY allocation; the resulting NULL dereference affects availability only.
Summary
What happened
NULL-pointer dereference in the HSO USB driver in Linux allows local users to crash the kernel during TTY device unregistration. get_free_serial_index() returns a free minor without reserving it, so concurrent callers can claim the same number and unregister one TTY device twice. Triggering the failure requires the HSO driver and overlapping TTY allocation; the resulting NULL dereference affects availability only.
The record
- CVE
- CVE-2021-46904
- Published
- Feb 25, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 25, 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=2.6.27
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <145c89c441d27696961752bf51b323f347601bee
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <388d05f70f1ee0cac4a2068fd295072f1a44152a
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <4a2933c88399c0ebc738db39bbce3ae89786d723
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <8a12f8836145ffe37e9c8733dce18c22fb668b66
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <92028d7a31e55d53e41cff679156b9432cffcb36
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <a462067d7c8e6953a733bf5ade8db947b1bb5449
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <caf5ac93b3b5d5fac032fc11fbea680e115421b4
- Affected versionversion=72dc1c096c7051a48ab1dbb12f71976656b55eb5 <dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac
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