CVE-2026-138957: iio: adc: max11205: reject devices without match data

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: max11205: reject devices without match data

SPI driveroverride allows a device to bind to this driver without matching either the OF or SPI device ID table. In that case, spigetdevicematchdata() returns NULL.

max11205probe() immediately dereferences the returned chip information to set the IIO device name, causing a NULL pointer dereference.

Commit 572a00852635 ("iio: dac: ad5686: missing NULL check on match data") fixed the same driveroverride issue in another SPI driver. Reject devices without match data before using the chip information.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
Description

Frequently Asked Questions

1

Who can trigger the crash condition?

A user or process able to use SPI driver_override to bind a device to the max11205 driver without matching its OF or SPI device ID table can trigger it. The resulting missing match data is dereferenced during probe, causing a NULL pointer dereference.

2

Are normally matched MAX11205 devices affected?

The described failure occurs when a device is bound through driver_override without matching either the OF or SPI device ID table. The issue is specifically the absence of match data returned by spi_get_device_match_data().

3

What does the fix change?

The fix rejects devices that do not have match data before the driver uses the chip information. This prevents the probe path from dereferencing a NULL match-data pointer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203