Bluetooth: hci_uart: add missing NULL check in h5_enqueue
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_uart: add missing NULL check in h5_enqueue
Syzbot hit general protection fault in __pm_runtime_resume(). The problem was in missing NULL check.
hu->serdev can be NULL and we should not blindly pass &serdev->dev somewhere, since it will cause GPF.
From the CVE record · Linux
The Linux kernel Bluetooth hci_uart code lacks a NULL check in h5_enqueue. When hu->serdev is NULL, passing its device reference can cause a general protection fault. The input does not specify whether triggering this requires network or local access, authentication, or user interaction.
Anyone running the Linux kernel should check whether their version includes the Bluetooth hci_uart fix; affected versions are not specified.