net: mctp: fix device leak on probe failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.19, Kernel 6.19.9, Kernel 3224990fb16a831aabc50b67c74f5d0074ce80dd and 2 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.15 <6.18.19, >=6.19 <6.19.9, =7.0, >=0791c0327a6e4e7691d6fc5ad334c215de04dcc9 <3224990fb16a831aabc50b67c74f5d0074ce80dd, >=0791c0327a6e4e7691d6fc5ad334c215de04dcc9 <ec9538f9b5cd1db5e8c612aa636b6119b6355c5d, =6.15, >=0791c0327a6e4e7691d6fc5ad334c215de04dcc9 <224a0d284c3caf1951302d1744a714784febed71 | 6.18.19, 6.19.9, 3224990fb16a831aabc50b67c74f5d0074ce80dd, ec9538f9b5cd1db5e8c612aa636b6119b6355c5d, 224a0d284c3caf1951302d1744a714784febed71 |
| linux-kernel: Kernel | >=6.15.0 <6.18.19, >=6.19.0 <6.19.9 | 6.18.19, 6.19.9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket