Bluetooth: bnep: pin L2CAP connection during netdev registration
- 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 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.96, and 2 more
- 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: bnep: pin L2CAP connection during netdev registration bnep_add_connection() reads the L2CAP connection without holding the channel lock, then passes its HCI device to register_netdev(). Controller teardown can clear and release that connection concurrently, leaving the network device registration path to dereference a freed parent device. Take a reference to the L2CAP connection while holding the channel lock. Retain it until register_netdev() has taken the parent device reference.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in 390b5db3ff8745187f094c4e915663b7b1f98944; From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in 46a88784c4c9b96954dd86f747ce93f65efa1302; From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in 551ae773ec64045b4e72099132654887e0270bcc; From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in ae215c5b6422d8eda443b861b124bd1be6969c31; From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in df22adc7eafc22e651561813c11dc51a796b12ee; From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in a6b22dbd80926556290ad2243be25218d6956a19; From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in 563a8573047182f550b1e1e030615755cd8c41da; From 65f53e9802dbfae0e5758a91793c3f5f8bece49b · fixed in bb067a99a0356196c0b89a95721985485ebce5a5
- Linux Linux
3.13
- KernelLinux
From 3.13.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.96; From 6.13.0 · fixed in 6.18.39; From 6.19.0 · fixed in 7.1.4
References 8
git.kernel.org
- stable/c/390b5db3ff8745187f094c4e915663b7b1f98944
- stable/c/46a88784c4c9b96954dd86f747ce93f65efa1302
- stable/c/551ae773ec64045b4e72099132654887e0270bcc
- stable/c/ae215c5b6422d8eda443b861b124bd1be6969c31
- stable/c/df22adc7eafc22e651561813c11dc51a796b12ee
- stable/c/a6b22dbd80926556290ad2243be25218d6956a19
- stable/c/563a8573047182f550b1e1e030615755cd8c41da
- stable/c/bb067a99a0356196c0b89a95721985485ebce5a5