# CVE-2024-26959: Bluetooth: btnxpuart: Fix btnxpuart_close

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-05-01T05:19:08.184Z
- Modified: 2026-06-17T07:18:47.703Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: btnxpuart: Fix btnxpuart_close

Fix scheduling while atomic BUG in btnxpuart_close(), properly
purge the transmit queue and free the receive skb.

[   10.973809] BUG: scheduling while atomic: kworker/u9:0/80/0x00000002
...
[   10.980740] CPU: 3 PID: 80 Comm: kworker/u9:0 Not tainted 6.8.0-rc7-0.0.0-devel-00005-g61fdfceacf09 #1
[   10.980751] Hardware name: Toradex Verdin AM62 WB on Dahlia Board (DT)
[   10.980760] Workqueue: hci0 hci_power_off [bluetooth]
[   10.981169] Call trace:
...
[   10.981363]  uart_update_mctrl+0x58/0x78
[   10.981373]  uart_dtr_rts+0x104/0x114
[   10.981381]  tty_port_shutdown+0xd4/0xdc
[   10.981396]  tty_port_close+0x40/0xbc
[   10.981407]  uart_close+0x34/0x9c
[   10.981414]  ttyport_close+0x50/0x94
[   10.981430]  serdev_device_close+0x40/0x50
[   10.981442]  btnxpuart_close+0x24/0x98 [btnxpuart]
[   10.981469]  hci_dev_close_sync+0x2d8/0x718 [bluetooth]
[   10.981728]  hci_dev_do_close+0x2c/0x70 [bluetooth]
[   10.981862]  hci_power_off+0x20/0x64 [bluetooth]

(As written by CVE List.)

## Affected

- Linux Linux: from 689ca16e523278470c38832a3010645a78c544d8 before d4e2365b07f1ae1f811a915b514caef5b2d6581e; from 689ca16e523278470c38832a3010645a78c544d8 before 586e099c93fe26b7bd40593979532f507ed9f6a4; from 689ca16e523278470c38832a3010645a78c544d8 before 74bcf708775c405f7fb6ed776ccd3e1957f38a52; from 689ca16e523278470c38832a3010645a78c544d8 before 664130c0b0309b360bc5bdd40a30604a9387bde8; 6.4 (not affected: before 6.4; from 6.6.24 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.4 before 6.6.24; from 6.7 before 6.7.12; from 6.8 before 6.8.3

## References

- <https://git.kernel.org/stable/c/d4e2365b07f1ae1f811a915b514caef5b2d6581e> (patch)
- <https://git.kernel.org/stable/c/586e099c93fe26b7bd40593979532f507ed9f6a4> (patch)
- <https://git.kernel.org/stable/c/74bcf708775c405f7fb6ed776ccd3e1957f38a52> (patch)
- <https://git.kernel.org/stable/c/664130c0b0309b360bc5bdd40a30604a9387bde8> (patch)

## Sources

- CVE List: [CVE-2024-26959](https://www.cve.org/CVERecord?id=CVE-2024-26959), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26959](https://nvd.nist.gov/vuln/detail/CVE-2024-26959), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26959 · Whole record: https://cve.day/CVE-2024-26959.json · Rebuilt by cve.day 2026-11-25T22:58:39.737Z
