CVE-2026-138964: iio: dac: mcp4821: reject devices without match data
In the Linux kernel, the following vulnerability has been resolved:
iio: dac: mcp4821: 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 mcp4821probe() dereferences the result while configuring the IIO device.
Reject devices without match data before using the chip information.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mcp4821_probe(), reject devices without match data before using the chip information.