CVE-2021-46904
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-46904 is a vulnerability discovered in the Linux kernel's HSO (High Speed Option) USB driver. The issue involves a null pointer dereference during TTY device unregistration. The vulnerability was publicly disclosed on February 26, 2024, and affects multiple versions of the Linux kernel from version 2.6.27 up to versions before 4.4.268, 4.9.268, 4.14.232, 4.19.187, and 5.4.112 (NVD).

Technical details

The vulnerability occurs when multiple TTY devices attempt to claim the same minor number, causing a double unregistration of the same device. The first unregistration succeeds, but subsequent attempts result in a null pointer dereference. The root cause lies in the get_free_serial_index() function, which returns an available minor number but doesn't assign it immediately, allowing multiple callers to receive the same minor number before assignment (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a denial of service condition through system crashes when the null pointer dereference is triggered during TTY device unregistration. The impact is limited to availability, with no direct effects on confidentiality or integrity of the system (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed by modifying the get_free_serial_index() function to assign the minor number immediately after finding an available one. The function was renamed to obtain_minor() to better reflect its behavior, and set_serial_by_index() was renamed to release_minor(). The fix ensures proper minor number management and prevents double unregistration issues. Multiple Linux distributions have released kernel updates containing the fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management