In the Linux kernel, the following vulnerability has been resolved: iio: humidity: hid-sensor-humidity: Use per-instance callbacks hid-sensor-humidity keeps a single static struct hid_sensor_hub_callbacks for all instances and overwrites its pdev in every probe, so with two humidity sensors, input reports for one are delivered with the other's platform device, and a NULL dereference follows once that device is removed. The same bug was found in hid-sensor-temperature, which shares this code. Keep the callbacks in struct hid_humidity_state, as the other HID sensor drivers (accel, gyro, als, ...) do.
https://git.kernel.org/stable/c/bbe4f3f668babc9443fc1f075695e43e17ca7976
https://git.kernel.org/stable/c/b7fbfe0c814b6c13f2d793765b08dc2ad64547d6