CVE-2026-138948: iio: accel: sca3000: reject devices without match data
iio: accel: sca3000: 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 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Compensating control
Reject devices without matching OF or SPI device ID data before using the chip information.
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Systems using the Linux kernel sca3000 SPI accelerometer driver are exposed when a device can be bound to that driver through SPI driver_override without matching the driver's OF or SPI device ID tables.
What is required to trigger the failure?
A device must be forced to bind to the sca3000 driver using SPI driver_override despite having no matching device data. During probe, the driver dereferences NULL match data, causing a NULL pointer dereference.
What happens if the issue is triggered?
The affected driver's probe path encounters a NULL pointer dereference while setting the IIO device name and channel layout. The provided information does not specify further impact beyond that failure.
What is the remediation?
Apply a kernel version containing the fix that rejects devices with no match data before the sca3000 driver uses the chip information. The referenced stable commits are 250a6a02dd7636ed84d7077cc13a184d9badf367 and bee629c18a9389cfbbe182df954cf49a9066b383.