CVE-2026-143005: iio: sx9310: use the data of the I2C table
iio: sx9310: use the data of the I2C table
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In the sx9310 driver, use i2c_get_match_data() instead of device_get_match_data() to retrieve match data for clients bound through the i2c_device_id table.
Event History
Frequently Asked Questions
Which systems are exposed to the kernel oops?
Systems are exposed when an SX9310 I2C client is bound through the i2c_device_id table rather than through OF or ACPI matching. The described example creates such a client through the I2C new_device sysfs interface.
What must happen for the issue to trigger?
A client named sx9310 must be bound through the I2C device-ID table, and a device at the specified I2C address must respond to the WHOAMI register read. Under those conditions, the driver dereferences NULL and the kernel oopses.
Are OF- or ACPI-matched SX9310 devices affected?
The reported NULL result occurs because device_get_match_data() only checks OF and ACPI tables. The issue specifically concerns clients bound through the I2C device-ID table.
What is the relevant remediation?
Apply the fix that changes the driver to use i2c_get_match_data(). This retrieves the matching data from the I2C table when OF or ACPI match data is unavailable.