Description
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 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
c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 to < e6541b2747682fdb2c6ded4a7cf7c39c4067a35caffectedc8755b29b58ec65be17bcb8c40763d2dcb1f1db5 to < 765c5e357e67916a7aac8ead4ac2fa7d2bffe000affectedc8755b29b58ec65be17bcb8c40763d2dcb1f1db5 to < 906d8dbafabfa81a30e3ade420cb9912f223a5e1affectedc8755b29b58ec65be17bcb8c40763d2dcb1f1db5 to < 2b4707a149a55e8fa75c9ef32b359d60f470a566affected
Linux Linux
Default version status: affected
6.7affected0 to < 6.7unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected