Bluetooth: hci_sync: extend conn_hash lookup critical sections
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.15, 6.18.42, 7.1.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: extend conn_hash lookup critical sections Using RCU-protected pointers outside the critical sections without refcount is incorrect and may result to UAF. Extend critical section to cover both hci_conn_hash lookup and use of the returned conn. Add surrounding rcu_read_lock() also when return value is not used, in preparation for RCU lockdep requirement to hci_lookup_le_connect(). This avoids concurrent deletion of the conn before we are done dereferencing it. Also, make sure to hold hdev->lock when accessing hdev->accept_list.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From eb8b860e87b296bd1874c79a668081efd00f9754 · fixed in 3f98e7f38e1bb761a9964a8851f9c08e9c23b3dd; From 6d0417e4e1cf66fd917f06f0454958362714ef7d · fixed in 83b7e67698d0b93f685875ce82c8d335436834f7; From 6d0417e4e1cf66fd917f06f0454958362714ef7d · fixed in 38326774df6198df0cc2744cc73bf77cb741c538; From 6d0417e4e1cf66fd917f06f0454958362714ef7d · fixed in d5efd6e4b8b0634af6843178fe1a7dd2b2178a3d; From 6.12.28 · fixed in 6.12.114; From 6.14.6 · fixed in 6.15
- Linux Linux
6.15
- KernelLinux
fixed in 6.12.114; From 6.13.0 · fixed in 6.18.42; From 6.15.0 · fixed in 7.1.6