Description
In the Linux kernel, the following vulnerability has been resolved: net: mctp: fix device leak on probe failure Driver core holds a reference to the USB interface and its parent USB device while the interface is bound to a driver and there is no need to take additional references unless the structures are needed after disconnect. This driver takes a reference to the USB device during probe but does not to release it on probe failures. Drop the redundant device reference to fix the leak, reduce cargo culting, make it easier to spot drivers where an extra reference is needed, and reduce the risk of further memory leaks.
Product status
0791c0327a6e4e7691d6fc5ad334c215de04dcc9 (git) before 3224990fb16a831aabc50b67c74f5d0074ce80dd
0791c0327a6e4e7691d6fc5ad334c215de04dcc9 (git) before ec9538f9b5cd1db5e8c612aa636b6119b6355c5d
0791c0327a6e4e7691d6fc5ad334c215de04dcc9 (git) before 224a0d284c3caf1951302d1744a714784febed71
6.15
Any version before 6.15
6.18.19 (semver)
6.19.9 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/3224990fb16a831aabc50b67c74f5d0074ce80dd
git.kernel.org/...c/ec9538f9b5cd1db5e8c612aa636b6119b6355c5d
git.kernel.org/...c/224a0d284c3caf1951302d1744a714784febed71