GHSA-wc27-x2j9-p8cqunknown
In the Linux kernel, the following vulnerability has been resolved: net: mctp: i3c: serialize...
🔗 CVE IDs covered (1)
📋 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().
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-98018
- https://git.kernel.org/stable/c/2b4707a149a55e8fa75c9ef32b359d60f470a566
- https://git.kernel.org/stable/c/765c5e357e67916a7aac8ead4ac2fa7d2bffe000
- https://git.kernel.org/stable/c/906d8dbafabfa81a30e3ade420cb9912f223a5e1
- https://git.kernel.org/stable/c/e6541b2747682fdb2c6ded4a7cf7c39c4067a35c
- https://github.com/advisories/GHSA-wc27-x2j9-p8cq