iio: pressure: dps310: fix NULL pointer dereference on ACPI probe
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.157, 6.12.110, 6.18.51, 7.2.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 72ff282819d0526d3e4417c2a61414557981b5af · fixed in a32a39da18e01b20c2ab65af9be34dc870187382; From 72ff282819d0526d3e4417c2a61414557981b5af · fixed in bc7b09e701b4175fc683b579fcdef3bfac809239; From 72ff282819d0526d3e4417c2a61414557981b5af · fixed in 7ded5b76ec2df6a3fb1bfde0d1869cde363fef30; From 72ff282819d0526d3e4417c2a61414557981b5af · fixed in 3fa189573cca284ae663bfd2d5b9ed755bec5e9d; From 72ff282819d0526d3e4417c2a61414557981b5af · fixed in 26e9213898fc949923188ef0aeea31fc87708836
- Linux Linux
5.18
- KernelLinux
From 5.18.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5