CVE-2026-138960

medium

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7192: reject devices without match data SPI driver_override allows a device to bind to this driver without matching either the OF or SPI device ID table. In that case, spi_get_device_match_data() returns NULL. ad7192_probe() immediately dereferences the returned chip information to initialize the IIO device, causing a NULL pointer dereference. Commit 572a00852635 ("iio: dac: ad5686: missing NULL check on match data") fixed the same driver_override issue in another SPI driver. Reject devices without match data before using the chip information.

References

https://git.kernel.org/stable/c/ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8

https://git.kernel.org/stable/c/7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3

https://git.kernel.org/stable/c/30e229f0e12b91188966b7ffd1a20b9a182fca65

https://git.kernel.org/stable/c/2129f6902e7ccdff086df5848328154bae1caf4b

https://git.kernel.org/stable/c/077c2865c8382b21e43f76d6078371f80e3b08fa

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138863

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00201