iio: pressure: dps310: fix NULL pointer dereference on ACPI probe
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bc7b09e701b4175fc683b579fcdef3bfac809239, Kernel 26e9213898fc949923188ef0aeea31fc87708836, Kernel 37e59123a5f1dc9030825685074819f8318153b9 and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=72ff282819d0526d3e4417c2a61414557981b5af <bc7b09e701b4175fc683b579fcdef3bfac809239, >=72ff282819d0526d3e4417c2a61414557981b5af <26e9213898fc949923188ef0aeea31fc87708836, >=72ff282819d0526d3e4417c2a61414557981b5af <37e59123a5f1dc9030825685074819f8318153b9, >=72ff282819d0526d3e4417c2a61414557981b5af <3fa189573cca284ae663bfd2d5b9ed755bec5e9d, >=72ff282819d0526d3e4417c2a61414557981b5af <7ded5b76ec2df6a3fb1bfde0d1869cde363fef30, >=72ff282819d0526d3e4417c2a61414557981b5af <a32a39da18e01b20c2ab65af9be34dc870187382, =5.18 | bc7b09e701b4175fc683b579fcdef3bfac809239, 26e9213898fc949923188ef0aeea31fc87708836, 37e59123a5f1dc9030825685074819f8318153b9, 3fa189573cca284ae663bfd2d5b9ed755bec5e9d, 7ded5b76ec2df6a3fb1bfde0d1869cde363fef30, a32a39da18e01b20c2ab65af9be34dc870187382 |
| linux-kernel: Kernel | >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.18.0 <6.1.191 | 6.18.51, 7.2.5, 6.6.157, 6.12.110, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket