Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
06acb75e7ed600d0bbf7bff5628aa8f24a97978c to < 50f1bcaaaa3a80bb1c3472044bc146e8d49d51eeaffectede97e16433eb4533083b096a3824b93a5ca3aee79 to < b5c59a5b469e2a809a2d57eda4ded94235971060affected8960ff650aec70485b40771cd8e6e8c4cb467d33 to < 8894c2010435a56ce7c6c2a8785860c13554df2faffected955b5b6c54d95b5e7444dfc81c95c8e013f27ac0 to < 63cd225cc13d782a85e2a73c04d0d350153eada1affectedadf0398cee86643b8eacde95f17d073d022f782c to < 107c826e4ef9ec5ad8f60e6fe64d8d5325ba508faffectedadf0398cee86643b8eacde95f17d073d022f782c to < e8a5baff5be273ca07771fd2b9bb1f2a4152917baffectedadf0398cee86643b8eacde95f17d073d022f782c to < 08d81fe96f80a8e20c7acb573b6a45d901fcf2cdaffectedadf0398cee86643b8eacde95f17d073d022f782c to < 9dbd84990394c51f5cee1e8871bb5ff8af5ed939affectede137e2ba96e51902dc2878131823a96bf8e638aeaffected6466ee65e5b27161c846c73ef407f49dfa1bd1d9affectedeb86f955488c39526534211f2610e48a5cf8ead4affected5.10.217 to < 5.10.259affected5.15.159 to < 5.15.210affected6.1.91 to < 6.1.176affected6.6.31 to < 6.6.143affected4.19.314 to < 4.20affected5.4.276 to < 5.5affected6.8.10 to < 6.9affected
Linux Linux
Default version status: affected
6.9affected0 to < 6.9unaffected5.10.259 to ≤ 5.10.*unaffected5.15.210 to ≤ 5.15.*unaffected6.1.176 to ≤ 6.1.*unaffected6.6.143 to ≤ 6.6.*unaffected6.12.93 to ≤ 6.12.*unaffected6.18.35 to ≤ 6.18.*unaffected7.0.12 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/50f1bcaaaa3a80bb1c3472044bc146e8d49d51ee ↗
- https://git.kernel.org/stable/c/b5c59a5b469e2a809a2d57eda4ded94235971060 ↗
- https://git.kernel.org/stable/c/8894c2010435a56ce7c6c2a8785860c13554df2f ↗
- https://git.kernel.org/stable/c/63cd225cc13d782a85e2a73c04d0d350153eada1 ↗
- https://git.kernel.org/stable/c/107c826e4ef9ec5ad8f60e6fe64d8d5325ba508f ↗
- https://git.kernel.org/stable/c/e8a5baff5be273ca07771fd2b9bb1f2a4152917b ↗
- https://git.kernel.org/stable/c/08d81fe96f80a8e20c7acb573b6a45d901fcf2cd ↗
- https://git.kernel.org/stable/c/9dbd84990394c51f5cee1e8871bb5ff8af5ed939 ↗