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

Published Feb 25, 2024
·
Updated

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

Affected Software

12 affected components
Linux Linux kernel<4.19.189
Linux Linux kernel>=4.20.0<5.4.115
Linux Linux kernel>=5.5.0<5.10.33
Linux Linux kernel>=5.11.0<5.11.17
Linux Linux kernel=5.12
Linux Linux kernel=5.12-rc1
Linux Linux kernel=5.12-rc2
Linux Linux kernel=5.12-rc3
Linux Linux kernel=5.12-rc4
Linux Linux kernel=5.12-rc5
Linux Linux kernel=5.12-rc6
Linux Linux kernel=5.12-rc7

Event History

Feb 25, 2024
CVE Published
via MITRE·02:03 PM
Data Sourced
via MITRE·02:03 PM
Description
Feb 26, 2024
Data Sourced
via NVD·04:27 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2021-46905?

The severity of CVE-2021-46905 is classified as medium due to the potential for denial-of-service conditions.

2

How do I fix CVE-2021-46905?

To fix CVE-2021-46905, update the Linux kernel to version 5.12 or later, or apply the appropriate patches.

3

What causes CVE-2021-46905?

CVE-2021-46905 is caused by a null pointer dereference in the HSO driver during device disconnection.

4

Which versions of the Linux kernel are affected by CVE-2021-46905?

CVE-2021-46905 affects Linux kernel versions from 4.20.0 up to but not including 5.12.

5

Is CVE-2021-46905 a remote exploit?

CVE-2021-46905 is not a remote exploit; it requires local access to trigger the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203