CVE-2021-46905

net: hso: fix NULL-deref on disconnect regression

MEDIUM
5.5
CVSS Score
Published: February 25, 2024 at 02:03 PM UTC
Updated: June 17, 2026 at 04:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.1894.19.187 ≤ v < 4.19.1894.20.0 ≤ v < 5.4.1155.10.30 ≤ v < 5.10.335.11.0 ≤ v < 5.11.175.11.14 ≤ v < 5.11.175.12 ≤ v < 5.12.15.12 ≤ v < 5.135.4.112 ≤ v < 5.4.1155.5.0 ≤ v < 5.10.33145c89c441d27696961752bf51b323f347601bee388d05f70f1ee0cac4a2068fd295072f1a44152a4.19.1874a2933c88399c0ebc738db39bbce3ae89786d7235.10.305.11.145.125.12 rc15.12 rc25.12 rc35.12 rc45.12 rc55.12 rc65.12 rc75.4.1128a12f8836145ffe37e9c8733dce18c22fb668b6692028d7a31e55d53e41cff679156b9432cffcb36a462067d7c8e6953a733bf5ade8db947b1bb5449caf5ac93b3b5d5fac032fc11fbea680e115421b4dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac
Vendor states this is fixed in 0c71d4c89559f72cec2592d078681a843bce570e (fixed)
Vendor states this is fixed in 0f000005da31f6947f843ce6b3e3a960540c6e00 (fixed)
Vendor states this is fixed in 24b699bea7553fc0b98dad9d864befb6005ac7f1 (fixed)
Vendor states this is fixed in 2ad5692db72874f02b9ad551d26345437ea4f7f3 (fixed)
Vendor states this is fixed in 41c44e1f3112d7265dae522c026399b2a42d19ef (fixed)
Vendor states this is fixed in 5871761c5f0f20d6e98bf3b6bd7486d857589554 (fixed)
Vendor states this is fixed in 5c17cfe155d21954b4c7e2a78fa771cebcd86725 (fixed)
Vendor states this is fixed in 90642ee9eb581a13569b1c0bd57e85d962215273 (fixed)
Vendor states this is fixed in d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e (fixed)
Vendor states this is fixed in 4.19.189 (unaffected)
Vendor states this is fixed in 5.10.33 (unaffected)
Vendor states this is fixed in 5.11.17 (unaffected)
Vendor states this is fixed in 5.12 (unaffected)
Vendor states this is fixed in 5.12.1 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.115 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card