Linux
i3c: Fix unlocked dereference of dev->desc in i3c_device_get_supported_xfer_mode()
In the Linux kernel, the following vulnerability has been resolved: i3c: Fix unlocked dereference of dev->desc in i3c_device_get_supported_xfer_mode() i3c_device_get_supported_xfer_mode() uses dev->desc to obtain the master controller. However, dev->desc must not be dereferenced unless bus->lock is held, and this function does not take that lock. The function only needs access to the master controller associated with the device's bus. Use dev->bus instead, which is always valid for the lifetime of the device and does not require dereferencing dev->desc.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 256a21743d911f94ce92fe28f793cd586f3860b2, < 251db58324ea4792c3f9f692ab09be148e051969
- >= 256a21743d911f94ce92fe28f793cd586f3860b2, < 8bed7f4fa710914b7f05fd59998316bfb4d43385
Fixed in 251db58324ea4792c3f9f692ab09be148e051969, 8bed7f4fa710914b7f05fd59998316bfb4d43385
- 6.19
Fixed in 0, 7.2.4, 7.3
Mitigation
Upgrade Linux to 251db58324ea4792c3f9f692ab09be148e051969 or 8bed7f4fa710914b7f05fd59998316bfb4d43385 or later.
Upgrade Linux to 0 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.