CVE-2026-53073: Bluetooth: hci_ldisc: Clear HCI_UART_PROTO_INIT on error
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_ldisc: Clear HCI_UART_PROTO_INIT on error
When hci_register_dev() fails in hci_uart_register_dev() HCI_UART_PROTO_INIT is not cleared before calling hu->proto->close(hu) and setting hu->hdev to NULL. This means incoming UART data will reach the protocol-specific recv handler in hci_uart_tty_receive() after resources are freed.
Clear HCI_UART_PROTO_INIT with a write lock before calling hu->proto->close() and setting hu->hdev to NULL. The write lock ensures all active readers have completed and no new reader can enter the protocol recv path before resources are freed.
This allows the protocol-specific recv functions to remove the "HCI_UART_REGISTERED" guard without risking a null pointer dereference if hci_register_dev() fails.
The Linux kernel CVE team has assigned CVE-2026-53073 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10.237 with commit a40f94f7caa8d3421b64f63ac31bc0f24c890f39 and fixed in 5.10.258 with commit ebb39b2d81731b83ee71a1ba6dd0291a57b5ac07 Issue introduced in 5.15.181 with commit 9e5a0f5777162e503400c70c6ed25fbbe2d38799 and fixed in 5.15.209 with commit ed4033fb85ccaaf6c3983be3c7b037e48253d232 Issue introduced in 6.1.135 with commit 80f14e9de6a43a0bd8194cad1003a3e6dcbc3984 and fixed in 6.1.175 with commit 356dee1bcac4d0d9152390561fa63331ebff211b Issue introduced in 6.6.88 with commit 02e1bcdfdf769974e7e9fa285e295cd9852e2a38 and fixed in 6.6.141 with commit a673cf6c4ac702cb79ac1f4d7fc4de763a6a3e40 Issue introduced in 6.12.24 with commit 281782d2c6730241e300d630bb9f200d831ede71 and fixed in 6.12.91 with commit f4b69c35813c432973d340d3600c01de106ed474 Issue introduced in 6.15 with commit 5df5dafc171b90d0b8d51547a82657cd5a1986c7 and fixed in 6.18.33 with commit 3daa5818e473ed60eb69d8b5c71b651909d28c5a Issue introduced in 6.15 with commit 5df5dafc171b90d0b8d51547a82657cd5a1986c7 and fixed in 7.0.10 with commit 194f029a4d7f739e44ebc1f473120187b4de5104 Issue introduced in 6.15 with commit 5df5dafc171b90d0b8d51547a82657cd5a1986c7 and fixed in 7.1 with commit 68d39ea5e0adc9ecaea1ce8abd842ec972eb8718 Issue introduced in 5.4.293 with commit 1dcf08fcff5ca529de6dc0395091f28854f4e54a Issue introduced in 6.13.12 with commit 8e5aff600539e5faea294d9612cca50220e602b8 Issue introduced in 6.14.3 with commit db7509fa110dd9b11134b75894677f30353b2c51
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53073
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/bluetooth/hci_ldisc.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/ebb39b2d81731b83ee71a1ba6dd0291a57b5ac07 https://git.kernel.org/stable/c/ed4033fb85ccaaf6c3983be3c7b037e48253d232 https://git.kernel.org/stable/c/356dee1bcac4d0d9152390561fa63331ebff211b https://git.kernel.org/stable/c/a673cf6c4ac702cb79ac1f4d7fc4de763a6a3e40 https://git.kernel.org/stable/c/f4b69c35813c432973d340d3600c01de106ed474 https://git.kernel.org/stable/c/3daa5818e473ed60eb69d8b5c71b651909d28c5a https://git.kernel.org/stable/c/194f029a4d7f739e44ebc1f473120187b4de5104 https://git.kernel.org/stable/c/68d39ea5e0adc9ecaea1ce8abd842ec972eb8718