CVE-2026-138962: iio: potentiometer: x9250: reject devices without match data
iio: potentiometer: x9250: reject devices without match data
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.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In x9250_probe(), reject devices without match data before enabling the regulators.
Event History
Frequently Asked Questions
What configuration is required to trigger the issue?
The affected device must be bound to the x9250 driver through driver_override without matching an entry in the driver's device tables. Under that condition, spi_get_device_match_data() returns NULL and the probe path later dereferences it.
What is the impact of attempting to bind such a device?
The x9250 probe path can dereference NULL while assigning the IIO device name. The fix rejects devices lacking match data before regulators are enabled.