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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-02-25T14:03:40.944Z
- Modified: 2026-06-17T04:15:48.293Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from a462067d7c8e6953a733bf5ade8db947b1bb5449 before 5871761c5f0f20d6e98bf3b6bd7486d857589554; from 145c89c441d27696961752bf51b323f347601bee before 0c71d4c89559f72cec2592d078681a843bce570e; from caf5ac93b3b5d5fac032fc11fbea680e115421b4 before 24b699bea7553fc0b98dad9d864befb6005ac7f1; from 92028d7a31e55d53e41cff679156b9432cffcb36 before 5c17cfe155d21954b4c7e2a78fa771cebcd86725; from 4a2933c88399c0ebc738db39bbce3ae89786d723 before d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e; from dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac before 90642ee9eb581a13569b1c0bd57e85d962215273; from 388d05f70f1ee0cac4a2068fd295072f1a44152a before 0f000005da31f6947f843ce6b3e3a960540c6e00; from 8a12f8836145ffe37e9c8733dce18c22fb668b66 before 41c44e1f3112d7265dae522c026399b2a42d19ef; from 8a12f8836145ffe37e9c8733dce18c22fb668b66 before 2ad5692db72874f02b9ad551d26345437ea4f7f3; from 4.19.187 before 4.19.189; from 5.4.112 before 5.4.115; from 5.10.30 before 5.10.33; and 2 more (not affected: before 5.12; from 4.19.189 up to 4.19.*; from 5.4.115 up to 5.4.*; from 5.10.33 up to 5.10.*; from 5.11.17 up to 5.11.*; from 5.12.1 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: before 4.19.189; from 4.20.0 before 5.4.115; from 5.5.0 before 5.10.33; from 5.11.0 before 5.11.17; 5.12

## References

- <https://git.kernel.org/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554> (patch)
- <https://git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e> (patch)
- <https://git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1> (patch)
- <https://git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725> (patch)
- <https://git.kernel.org/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e> (patch)
- <https://git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273> (patch)
- <https://git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00> (patch)
- <https://git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef> (patch)
- <https://git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3> (patch)

## Sources

- CVE List: [CVE-2021-46905](https://www.cve.org/CVERecord?id=CVE-2021-46905), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2021-46905](https://nvd.nist.gov/vuln/detail/CVE-2021-46905), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46905 · Whole record: https://cve.day/CVE-2021-46905.json · Rebuilt by cve.day 2026-11-25T22:58:08.558Z
