net: mctp: i3c: serialize probe with bus removal
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2b4707a149a55e8fa75c9ef32b359d60f470a566, Kernel 765c5e357e67916a7aac8ead4ac2fa7d2bffe000, Kernel 906d8dbafabfa81a30e3ade420cb9912f223a5e1 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: net: mctp: i3c: serialize probe with bus removal mctp_i3c_probe() drops busdevs_lock after finding the matching bus. A concurrent I3C_NOTIFY_BUS_REMOVE can then unregister and free the bus netdev before probe passes its private data to mctp_i3c_add_device(). The latter consequently adds a list node through a freed mbus pointer. Keep busdevs_lock held until the device has been added. This also satisfies the __must_hold annotation on mctp_i3c_add_device().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.7, >=c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 <2b4707a149a55e8fa75c9ef32b359d60f470a566, >=c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 <765c5e357e67916a7aac8ead4ac2fa7d2bffe000, >=c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 <906d8dbafabfa81a30e3ade420cb9912f223a5e1, >=c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 <e6541b2747682fdb2c6ded4a7cf7c39c4067a35c | 2b4707a149a55e8fa75c9ef32b359d60f470a566, 765c5e357e67916a7aac8ead4ac2fa7d2bffe000, 906d8dbafabfa81a30e3ade420cb9912f223a5e1, e6541b2747682fdb2c6ded4a7cf7c39c4067a35c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket