CVE-2026-93038: iio: dac: ad5686: missing NULL check on match data
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iio: dac: ad5686: missing NULL check on match data
Verify that chip_info pointer is not NULL. If a user binds the driver using driver_override via sysfs with a device name not present in the id_table or of_match_table, match data will be NULL.
The Linux kernel CVE team has assigned CVE-2026-93038 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit 0eb1728461a1a84613188f394e38921e29325d30 and fixed in 7.2.6 with commit cdaa9cb77eb67f2d4921600f6531315040888e29 Issue introduced in 7.2 with commit 0eb1728461a1a84613188f394e38921e29325d30 and fixed in 7.3-rc1 with commit 572a008526359cdac2fa935dad75e9d50a79792f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93038
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/iio/dac/ad5686-spi.c drivers/iio/dac/ad5696-i2c.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/cdaa9cb77eb67f2d4921600f6531315040888e29 https://git.kernel.org/stable/c/572a008526359cdac2fa935dad75e9d50a79792f