CVE-2026-138956: iio: adc: mcp3911: reject devices without match data

Published Nov 30, 2026
·
Updated

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

iio: adc: mcp3911: 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.

mcp3911probe() stores the result and later calls through chip->config and accesses other chip-specific fields, 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 continuing the probe.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the MCP3911 probe, reject devices without matching OF or SPI device ID data before continuing; do not proceed when spi_get_device_match_data() returns NULL.

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 is exposed to this issue?

Systems using the Linux kernel MCP3911 SPI ADC driver are exposed when a device can be bound to that driver without matching its OF or SPI device ID table, such as through SPI driver_override.

2

What does an attacker or triggering condition require?

The triggering condition is binding an unmatched SPI device to the MCP3911 driver via driver_override. This causes spi_get_device_match_data() to return NULL and can lead to a NULL pointer dereference during probing.

3

How can I tell whether a system may be affected?

Check whether an SPI device has been forced to use the MCP3911 driver through driver_override despite not matching the driver's OF or SPI device ID table. Affected behavior occurs during driver probe when match data is absent.

4

What mitigation is available if updating is not immediately possible?

Do not use driver_override to bind devices that lack matching MCP3911 OF or SPI device IDs to the MCP3911 driver. Ensure only supported, matching devices are allowed to probe with this driver.

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