Katalog CVE

CVE-2026-80767

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku HID sensor custom występuje błąd użycia po zwolnieniu (use-after-free) w funkcji enable_sensor. Atrybuty pól są tworzone po udostępnieniu atrybutu sysfs enable_sensor, a podczas usuwania enable_sensor jest usuwany po zwolnieniu atrybutów pól.

Ocena ryzyka

Jednoczesny zapis do sysfs może doprowadzić do dereferencji zwolnionej pamięci, co może skutkować awarią systemu lub potencjalnie eskalacją uprawnień.

Rekomendacja

Zastosuj aktualizację jądra Linux zawierającą poprawkę zmieniającą kolejność inicjalizacji i usuwania atrybutów.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix use-after-free in enable_sensor enable_sensor_store() can call set_power_report_state(), which dereferences sensor_inst->power_state and sensor_inst->report_state. These pointers refer to entries in sensor_inst->fields. Create the field attributes before exposing the enable_sensor sysfs attribute, so enable_sensor cannot be accessed before the state it depends on has been initialized. On remove, delete enable_sensor before freeing the field attributes, so a concurrent sysfs write cannot dereference freed memory through power_state or report_state.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS