net: hso: fix NULL-deref on disconnect regression
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac · < 90642ee9eb581a13569b1c0bd57e85d962215273| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel's hso driver can dereference a NULL pointer on disconnect after the serial device minor is released. The input does not establish whether an attacker can trigger the disconnect or whether authentication or user interaction is required.
Teams running Linux kernels that include the affected hso driver regression should check their kernel versions; no affected version range is provided.