Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143005

iio: sx9310: use the data of the I2C table

Description

In the Linux kernel, the following vulnerability has been resolved: iio: sx9310: use the data of the I2C table sx9310_check_whoami() takes the chip information from device_get_match_data(), which only looks at the OF and ACPI tables, and dereferences it. For a client which was bound through the i2c_device_id table, for instance one created with echo sx9310 0x28 > /sys/bus/i2c/devices/i2c-1/new_device it returns NULL, and the kernel oopses as soon as something at that address answers the read of the WHOAMI register. The I2C table has the same pointers. Use i2c_get_match_data(), which falls back to it.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 21fd3b1373f65c6a9d910642ecef194a077d1624 to < 24555050238e0fc5c0f1940d5615fab9d9ef0241affected
  • 21fd3b1373f65c6a9d910642ecef194a077d1624 to < ad748865961323995365369347f19f6968ea90a9affected
  • 21fd3b1373f65c6a9d910642ecef194a077d1624 to < 522324d3dababe79bd254867588e81b176bb8ac7affected
  • 21fd3b1373f65c6a9d910642ecef194a077d1624 to < f3fc8718af9189aad13a2ad7f5b256475bb14b21affected

Linux Linux

Default version status: affected

  • 6.7affected
  • 0 to < 6.7unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc4 to ≤ *unaffected

References