Bluetooth: L2CAP: fix chan ref leak in l2cap_chan_timeout() on !conn
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b5c59a5b469e2a809a2d57eda4ded94235971060, Kernel 5.5, Kernel 6.1.176 and 15 more.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: fix chan ref leak in l2cap_chan_timeout() on !conn __set_chan_timer() takes a l2cap_chan reference via l2cap_chan_hold() before scheduling the delayed work. The normal path in l2cap_chan_timeout() drops this reference with l2cap_chan_put() at the end, but the early return when chan->conn is NULL skips the put, leaking the reference. Add the missing l2cap_chan_put() before the early return.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e97e16433eb4533083b096a3824b93a5ca3aee79 <b5c59a5b469e2a809a2d57eda4ded94235971060, >=5.4.276 <5.5, >=6.1.91 <6.1.176, >=6.6.31 <6.6.143, >=6.8.10 <6.9, >=8960ff650aec70485b40771cd8e6e8c4cb467d33 <8894c2010435a56ce7c6c2a8785860c13554df2f, >=955b5b6c54d95b5e7444dfc81c95c8e013f27ac0 <63cd225cc13d782a85e2a73c04d0d350153eada1, >=adf0398cee86643b8eacde95f17d073d022f782c <08d81fe96f80a8e20c7acb573b6a45d901fcf2cd, >=adf0398cee86643b8eacde95f17d073d022f782c <107c826e4ef9ec5ad8f60e6fe64d8d5325ba508f, >=adf0398cee86643b8eacde95f17d073d022f782c <9dbd84990394c51f5cee1e8871bb5ff8af5ed939, >=adf0398cee86643b8eacde95f17d073d022f782c <e8a5baff5be273ca07771fd2b9bb1f2a4152917b, =6.9, =6466ee65e5b27161c846c73ef407f49dfa1bd1d9, =e137e2ba96e51902dc2878131823a96bf8e638ae, =eb86f955488c39526534211f2610e48a5cf8ead4, >=06acb75e7ed600d0bbf7bff5628aa8f24a97978c <50f1bcaaaa3a80bb1c3472044bc146e8d49d51ee, >=4.19.314 <4.20, >=5.10.217 <5.10.259, >=5.15.159 <5.15.210 | b5c59a5b469e2a809a2d57eda4ded94235971060, 5.5, 6.1.176, 6.6.143, 6.9, 8894c2010435a56ce7c6c2a8785860c13554df2f, 63cd225cc13d782a85e2a73c04d0d350153eada1, 08d81fe96f80a8e20c7acb573b6a45d901fcf2cd, 107c826e4ef9ec5ad8f60e6fe64d8d5325ba508f, 9dbd84990394c51f5cee1e8871bb5ff8af5ed939, e8a5baff5be273ca07771fd2b9bb1f2a4152917b, 50f1bcaaaa3a80bb1c3472044bc146e8d49d51ee, 4.20, 5.10.259, 5.15.210 |
| linux-kernel: Kernel | >=5.10.217 <5.10.259, >=5.15.159 <5.15.210, >=5.4.276 <5.5, >=6.1.91 <6.1.176, >=6.13.0 <6.18.35, >=6.19.0 <7.0.12, >=6.6.31 <6.6.143, >=6.8.10 <6.9, >=6.9.0 <6.12.93, >=4.19.314 <4.20 | 5.10.259, 5.15.210, 5.5, 6.1.176, 6.18.35, 7.0.12, 6.6.143, 6.9, 6.12.93, 4.20 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket