CVE-2021-46905 json
net: hso: fix NULL-deref on disconnect regression
published 2024-02-25 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-33553
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- Linux Linux 4.19.189, 5.4.115, 5.10.33, 5.11.17, 5.12.1, 5.13
- linux Ubuntu 18.04 LTS 4.15.0-147.151
- linux Ubuntu 20.04 LTS 5.4.0-77.86
- linux-aws Ubuntu 18.04 LTS 4.15.0-1106.113
- linux-aws Ubuntu 20.04 LTS 5.4.0-1051.53
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1046.49
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1094.96
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1041.42
- linux-azure Ubuntu 20.04 LTS 5.4.0-1051.53
ubuntu advisories UBUNTU-CVE-2021-46905
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-348.el8
- perf RHEL 8 4.18.0-348.el8
- bpftool RHEL 8 4.18.0-348.el8
- kernel-core RHEL 8 4.18.0-348.el8
- kernel-tools RHEL 8 4.18.0-348.el8
- python3-perf RHEL 8 4.18.0-348.el8
- kernel-modules RHEL 8 4.18.0-348.el8
- kernel-zfcpdump RHEL 8 4.18.0-348.el8
red hat advisories RHSA-2021:4356RHSA-2021:4140
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.216.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.216.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.182.1
suse advisories SUSE-SU-2024:1870-1SUSE-SU-2024:1669-1SUSE-SU-2024:1646-1SUSE-SU-2024:1643-1SUSE-SU-2024:0926-1SUSE-SU-2024:0857-1
- git.kernel.org/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554 commit
- git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e commit
- git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1 commit
- git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725 commit
- git.kernel.org/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e commit
- git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273 commit
- git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00 commit
- git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef commit
- git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-46905 updated cvss 5.5
kernel: NULL-deref on disconnect regression
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-348.el8, kernel-debuginfo-common-aarch64 4.18.0-348.el8, kernel-debuginfo-common-ppc64le 4.18.0-348.el8 Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-348.el8, kernel 4.18.0-348.el8, bpftool 4.18.0-348.el8, kernel-core 4.18.0-348.el8, kernel-tools 4.18.0-348.el8, python3-perf 4.18.0-348.el8, +15 morefixed: vendor fix RHSA-2021:4356
-
Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-348.rt7.130.el8, kernel-rt-core 4.18.0-348.rt7.130.el8, kernel-rt-modules 4.18.0-348.rt7.130.el8, kernel-rt-debug-core 4.18.0-348.rt7.130.el8, kernel-rt-debug-modules 4.18.0-348.rt7.130.el8, kernel-rt-modules-extra 4.18.0-348.rt7.130.el8, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-348.rt7.130.el8, kernel-rt-kvm 4.18.0-348.rt7.130.el8, kernel-rt-core 4.18.0-348.rt7.130.el8, kernel-rt-modules 4.18.0-348.rt7.130.el8, kernel-rt-debug-kvm 4.18.0-348.rt7.130.el8, kernel-rt-debug-core 4.18.0-348.rt7.130.el8, +4 morefixed: vendor fix RHSA-2021:4140
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554
patch
-
git.kernel.org
/stable/c/0c71d4c89559f72cec2592d078681a843bce570e
patch
-
git.kernel.org
/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1
patch
-
git.kernel.org
/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725
patch
-
git.kernel.org
/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e
patch
-
git.kernel.org
/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273
patch
-
git.kernel.org
/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00
patch
-
git.kernel.org
/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef
patch
-
git.kernel.org
/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3
patch
Sources
- CVE List CVE-2021-46905
- NVD CVE-2021-46905
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.