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.
https://git.kernel.org/stable/c/f3fc8718af9189aad13a2ad7f5b256475bb14b21
https://git.kernel.org/stable/c/ad748865961323995365369347f19f6968ea90a9
https://git.kernel.org/stable/c/522324d3dababe79bd254867588e81b176bb8ac7
https://git.kernel.org/stable/c/24555050238e0fc5c0f1940d5615fab9d9ef0241