iio: dac: mcp4821: reject devices without match data
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
iio: dac: mcp4821: reject devices without match data
A device bound through driver_override need not match an entry in the driver tables. In that case spi_get_device_match_data() returns NULL, but mcp4821_probe() dereferences the result while configuring the IIO device.
Reject devices without match data before using the chip information.
| Product | Versions |
|---|---|
| Linux Linux | cdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353 to before a26a5c665b12d66534280b80f85aea3e27f7e196 Affectedcdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353 to before 107c50c4f2a0eb3253cabd8793554f39a4b42550 Affectedcdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353 to before d694eabcc913d37ea370242e1de0ee0b226ba10f Affectedcdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353 to before 6ac1faf4de61dcf27ffe8f2c25d96fe5f4b2886d Affected |
| Linux Linux | 6.8 Affectedbefore 6.8 Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.