i3c: Fix unlocked dereference of dev->desc in i3c_device_get_supported_xfer_mode()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 256a21743d911f94ce92fe28f793cd586f3860b2 · fixed in 251db58324ea4792c3f9f692ab09be148e051969; From 256a21743d911f94ce92fe28f793cd586f3860b2 · fixed in 8bed7f4fa710914b7f05fd59998316bfb4d43385
- Linux Linux
6.19
- KernelLinux
From 6.19.0 · fixed in 7.2.4