AZL-116812: CVE-2026-138962 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
iio: potentiometer: x9250: reject devices without match data
A device bound through driveroverride need not match an entry in the driver tables. In that case spigetdevicematchdata() returns NULL, but x9250probe() later dereferences the result while naming the IIO device.
Reject devices without match data before enabling the regulators.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Reject devices without match data before enabling the regulators in the x9250 driver.
Event History
Frequently Asked Questions
What must an attacker or local user be able to do to trigger the issue?
They would need to cause a device to be bound to the x9250 driver through driver_override when the device has no matching entry in the driver's tables. In that situation, the driver receives no match data and later dereferences a NULL value during probe.
What is the likely impact when the vulnerable path is reached?
The described behavior is a NULL-pointer dereference in x9250_probe() while naming the IIO device. The provided data does not specify impacts beyond that failure condition.
Is this limited to normally matched x9250 devices?
No. The issue specifically concerns devices bound through driver_override that do not match an entry in the driver's tables. Normally matched devices provide match data through spi_get_device_match_data().
What does the resolved code change do?
It rejects devices that lack match data before enabling regulators. This prevents the later dereference of the NULL match-data result.