CVE-2026-89933: iio: pressure: dps310: fix NULL pointer dereference on ACPI probe
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iio: pressure: dps310: fix NULL pointer dereference on ACPI probe
When the device is enumerated through its ACPI HID (IFX3100), i2c_client_get_device_id() returns NULL: the ACPI-derived client name does not match the driver's i2c_device_id table. dps310_probe() then dereferences that NULL pointer in "iio->name = id->name" and crashes the kernel during probe.
The IIO device name is always "dps310", so set it directly and drop the now-unused device-id lookup.
The Linux kernel CVE team has assigned CVE-2026-89933 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.18 with commit 72ff282819d0526d3e4417c2a61414557981b5af and fixed in 6.6.157 with commit a32a39da18e01b20c2ab65af9be34dc870187382 Issue introduced in 5.18 with commit 72ff282819d0526d3e4417c2a61414557981b5af and fixed in 6.12.110 with commit bc7b09e701b4175fc683b579fcdef3bfac809239 Issue introduced in 5.18 with commit 72ff282819d0526d3e4417c2a61414557981b5af and fixed in 6.18.51 with commit 7ded5b76ec2df6a3fb1bfde0d1869cde363fef30 Issue introduced in 5.18 with commit 72ff282819d0526d3e4417c2a61414557981b5af and fixed in 7.2.5 with commit 3fa189573cca284ae663bfd2d5b9ed755bec5e9d Issue introduced in 5.18 with commit 72ff282819d0526d3e4417c2a61414557981b5af and fixed in 7.3-rc1 with commit 26e9213898fc949923188ef0aeea31fc87708836
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-89933
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/pressure/dps310.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/a32a39da18e01b20c2ab65af9be34dc870187382 https://git.kernel.org/stable/c/bc7b09e701b4175fc683b579fcdef3bfac809239 https://git.kernel.org/stable/c/7ded5b76ec2df6a3fb1bfde0d1869cde363fef30 https://git.kernel.org/stable/c/3fa189573cca284ae663bfd2d5b9ed755bec5e9d https://git.kernel.org/stable/c/26e9213898fc949923188ef0aeea31fc87708836