What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.189, 5.10.33, 5.11.17, 5.4.115. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46905 or the next vulnerability affects your stack