Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 before e6541b2747682fdb2c6ded4a7cf7c39c4067a35c; affected c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 before 765c5e357e67916a7aac8ead4ac2fa7d2bffe000; affected c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 before 906d8dbafabfa81a30e3ade420cb9912f223a5e1; affected c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 before 2b4707a149a55e8fa75c9ef32b359d60f470a566 |
| Linux / Linux | affected 6.7; unaffected 0 before 6.7; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.