Bluetooth: L2CAP: Fix possible crash on l2cap_ecred_conn_rsp
- 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.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 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: L2CAP: Fix possible crash on l2cap_ecred_conn_rsp If dcid is received for an already-assigned destination CID the spec requires that both channels to be discarded, but calling l2cap_chan_del may invalidate the tmp cursor created by list_for_each_entry_safe and in fact it is the wrong procedure as the chan->dcid may be assigned previously it really needs to be disconnected. Calling l2cap_chan_clone directly may still lead to l2cap_chan_del so instead schedule l2cap_chan_timeout with delay 0 to close the channel asynchronously.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in 3c8eaa91eb433c450426539290be4ffe282e9f00; From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in ecfed1e0d8efecad6737a0d83e21d2fd021d8c48; From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in e6833e737a51db1e5ea0401322acf5e22abd8be6; From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in 6319b38fe69f56ed95680ade485b957a53fff642; From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in 291eec1041c918c460dc9702e44edd17794b4a4b; From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in 41e29548b5e8b5e5fcf708786b3bea67cab107fa; From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in d153b8898c0051eb8b6a083b35cbe304a5886bd5; From 15f02b91056253e8cdc592888f431da0731337b8 · fixed in 41c2713b204e6cb6a94587bc6bf6935107df5479
- Linux Linux
5.7
- KernelLinux
From 5.7.0 · fixed in 5.10.259; From 5.11.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.143; From 6.7.0 · fixed in 6.12.93; From 6.13.0 · fixed in 6.18.35; From 6.19.0 · fixed in 7.0.12
References 8
git.kernel.org
- stable/c/3c8eaa91eb433c450426539290be4ffe282e9f00
- stable/c/ecfed1e0d8efecad6737a0d83e21d2fd021d8c48
- stable/c/e6833e737a51db1e5ea0401322acf5e22abd8be6
- stable/c/6319b38fe69f56ed95680ade485b957a53fff642
- stable/c/291eec1041c918c460dc9702e44edd17794b4a4b
- stable/c/41e29548b5e8b5e5fcf708786b3bea67cab107fa
- stable/c/d153b8898c0051eb8b6a083b35cbe304a5886bd5
- stable/c/41c2713b204e6cb6a94587bc6bf6935107df5479