CVE-2024-58238
Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 689ca16e523278470c38832a3010645a78c544d8, < 9d5df94ce0e213d5b549633f528f96114c736190; >= 689ca16e523278470c38832a3010645a78c544d8, < e4db90e4eb8d5487098712ffb1048f3fa6d25e98
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 689ca16e523278470c38832a3010645a78c544d8, < 9d5df94ce0e213d5b549633f528f96114c736190; >= 689ca16e523278470c38832a3010645a78c544d8, < e4db90e4eb8d5487098712ffb1048f3fa6d25e98; Linux 6.4
- Fixed in
- Linux 9d5df94ce0e213d5b549633f528f96114c736190
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test This fixes the tx timeout issue seen while running a stress test on btnxpuart for couple of hours, such that the interval between two HCI commands coincide with the power save timeout value of 2 seconds. Test procedure using bash script: <load btnxpuart.ko> hciconfig hci0 up //Enable Power Save feature hcitool -i hci0 cmd 3f 23 02 00 00 while (true) do hciconfig hci0 leadv sleep 2 hciconfig hci0 noleadv sleep 2 done Error log, after adding few more debug prints: Bluetooth: btnxpuart_queue_skb(): 01 0A 20 01 00 Bluetooth: hci0: Set UART break: on, status=0 Bluetooth: hci0: btnxpuart_tx_wakeup() tx_work scheduled Bluetooth: hci0: btnxpuart_tx_work() dequeue: 01 0A 20 01 00 Can't set advertise mode on hci0: Connection timed out (110) Bluetooth: hci0: command 0x200a tx timeout When the power save mechanism turns on UART break, and btnxpuart_tx_work() is scheduled simultaneously, psdata->ps_state is read as PS_STATE_AWAKE, which prevents the psdata->work from being scheduled, which is responsible to turn OFF UART break. This issue is fixed by adding a ps_lock mutex around UART break on/off as well as around ps_state read/write. btnxpuart_tx_wakeup() will now read updated ps_state value. If ps_state is PS_STATE_SLEEP, it will first schedule psdata->work, and then it will reschedule itself once UART break has been turned off and ps_state is PS_STATE_AWAKE. Tested above script for 50,000 iterations and TX timeout error was not observed anymore.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-58238. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-58238.md Affected: Linux >= 689ca16e523278470c38832a3010645a78c544d8, < 9d5df94ce0e213d5b549633f528f96114c736190; >= 689ca16e523278470c38832a3010645a78c544d8, < e4db90e4eb8d5487098712ffb1048f3fa6d25e98; Linux 6.4 Fixed in: Linux 9d5df94ce0e213d5b549633f528f96114c736190 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-58238 being exploited?
There is no confirmed exploitation: CVE-2024-58238 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-58238?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-58238?
Linux >= 689ca16e523278470c38832a3010645a78c544d8, < 9d5df94ce0e213d5b549633f528f96114c736190; >= 689ca16e523278470c38832a3010645a78c544d8, < e4db90e4eb8d5487098712ffb1048f3fa6d25e98; Linux 6.4.
Is there a fix for CVE-2024-58238?
Yes. Fixed in Linux 9d5df94ce0e213d5b549633f528f96114c736190. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-58238?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.