Linux
Bluetooth: bnep: pin L2CAP connection during netdev registration
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < 390b5db3ff8745187f094c4e915663b7b1f98944
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < 46a88784c4c9b96954dd86f747ce93f65efa1302
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < 551ae773ec64045b4e72099132654887e0270bcc
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < ae215c5b6422d8eda443b861b124bd1be6969c31
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < df22adc7eafc22e651561813c11dc51a796b12ee
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < a6b22dbd80926556290ad2243be25218d6956a19
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < 563a8573047182f550b1e1e030615755cd8c41da
- >= 65f53e9802dbfae0e5758a91793c3f5f8bece49b, < bb067a99a0356196c0b89a95721985485ebce5a5
Fixed in 390b5db3ff8745187f094c4e915663b7b1f98944, 46a88784c4c9b96954dd86f747ce93f65efa1302, 551ae773ec64045b4e72099132654887e0270bcc, ae215c5b6422d8eda443b861b124bd1be6969c31, df22adc7eafc22e651561813c11dc51a796b12ee, a6b22dbd80926556290ad2243be25218d6956a19, 563a8573047182f550b1e1e030615755cd8c41da, bb067a99a0356196c0b89a95721985485ebce5a5
- 3.13
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to 390b5db3ff8745187f094c4e915663b7b1f98944 or 46a88784c4c9b96954dd86f747ce93f65efa1302 or 551ae773ec64045b4e72099132654887e0270bcc or ae215c5b6422d8eda443b861b124bd1be6969c31 or df22adc7eafc22e651561813c11dc51a796b12ee or a6b22dbd80926556290ad2243be25218d6956a19 or 563a8573047182f550b1e1e030615755cd8c41da or bb067a99a0356196c0b89a95721985485ebce5a5 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.