CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's I2C (Inter-Integrated Circuit) subsystem, specifically during the registration of adapter devices, which can lead to NULL-pointer dereferences or use-after-free errors if uninitialized data is accessed. This flaw poses a high risk as it could allow an attacker to exploit these conditions, potentially leading to system crashes or arbitrary code execution. Organizations using Linux systems with I2C adapters should prioritize patching this vulnerability to mitigate potential security risks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: i2c: core: fix adapter registration race Adapters can be looked up based on their id using i2c_get_adapter() which takes a reference to the embedded struct device. Make sure that the adapter (including its struct device) has been initialised before adding it to the IDR to avoid accessing uninitialised data which could, for example, lead to NULL-pointer dereferences or use-after-free. Note that the i2c-dev chardev, which is registered from a bus notifier, currently uses i2c_get_adapter() so the adapter needs to be added to the IDR before registration.
Related CVEs
Other vulnerabilities affecting the same vendor(s)