Vulnerability · Published Feb 25, 2024 · Assigned by Linux

CVE-2021-46905net: hso: fix NULL-deref on disconnect regression

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 82.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: net: hso: fix NULL-deref on disconnect regression Commit 8a12f8836145 ("net: hso: fix null-ptr-deref during tty device unregistration") fixed the racy minor allocation reported by syzbot, but introduced an unconditional NULL-pointer dereference on every disconnect instead. Specifically, the serial device table must no longer be accessed after the minor has been released by hso_serial_tty_unregister().

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-46905
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-46905
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-46905

Affected products (as reported)

VendorProductVersions
Linux Linux a462067d7c8e6953a733bf5ade8db947b1bb5449 – before 5871761c5f0f20d6e98bf3b6bd7486d857589554145c89c441d27696961752bf51b323f347601bee – before 0c71d4c89559f72cec2592d078681a843bce570ecaf5ac93b3b5d5fac032fc11fbea680e115421b4 – before 24b699bea7553fc0b98dad9d864befb6005ac7f192028d7a31e55d53e41cff679156b9432cffcb36 – before 5c17cfe155d21954b4c7e2a78fa771cebcd867254a2933c88399c0ebc738db39bbce3ae89786d723 – before d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53edc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac – before 90642ee9eb581a13569b1c0bd57e85d962215273388d05f70f1ee0cac4a2068fd295072f1a44152a – before 0f000005da31f6947f843ce6b3e3a960540c6e008a12f8836145ffe37e9c8733dce18c22fb668b66 – before 41c44e1f3112d7265dae522c026399b2a42d19ef
Linux Linux 5.12

References