PT-2026-166812
CVE-2026-142957
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
iio: temperature: hid-sensor-temperature: Use per-instance callbacks
hid-sensor-temperature keeps a single static struct
hid sensor hub callbacks for all instances and overwrites its pdev in
every probe. With two temperature sensors, input reports for one are
delivered with the other's platform device; once that device is
removed, platform get drvdata() returns NULL and
temperature capture sample() dereferences it:
BUG: kernel NULL pointer dereference, address: 00000000000003a8
RIP: 0010:temperature capture sample+0xd/0x50 [hid sensor temperature]
The oops happens in sensor hub raw event() with the hub's spinlock
held, so the hub's removal then hangs. It reproduces with two uhid
devices that each declare a temperature sensor, one destroyed while
the other still sends input reports.
Keep the callbacks in struct temperature state, as the other HID
sensor drivers (accel, gyro, als, ...) do.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾