CVE-2026-80767

published 4 Sep 2026 · updated 20 Nov 2026

HID: sensor: custom: Fix use-after-free in enable_sensor

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855, Kernel 244a1cb638370490ed74a8adb5cc3f1212602e32, Kernel 2ce90cfc6646a32100feabd7110ae0352aa01167 and 14 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <244a1cb638370490ed74a8adb5cc3f1212602e32, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <2ce90cfc6646a32100feabd7110ae0352aa01167, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <7bb79a3cf45e0805aef74457e19deb77e18cf196, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <8406d4b69d48bc72fb6f8812a65a17a1f903440b, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <ad8fb82b04422f49530d2aa2753cc81d1c60102c, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <c0757f10610542d763bd0bf9bda455b78afeef0b, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <c2be74b0272b7f8f60739e7aaf0d36c0befe7136, >=4a7de0519df5e8fb89cef6ee062330ffe4b50a4d <d37ff4e3635c18af907f25712596f8ccec323751, =4.1d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855, 244a1cb638370490ed74a8adb5cc3f1212602e32, 2ce90cfc6646a32100feabd7110ae0352aa01167, 7bb79a3cf45e0805aef74457e19deb77e18cf196, 8406d4b69d48bc72fb6f8812a65a17a1f903440b, ad8fb82b04422f49530d2aa2753cc81d1c60102c, c0757f10610542d763bd0bf9bda455b78afeef0b, c2be74b0272b7f8f60739e7aaf0d36c0befe7136, d37ff4e3635c18af907f25712596f8ccec323751
linux-kernel: Kernel>=5.11.0 <5.15.218, >=5.16.0 <6.1.185, >=6.13.0 <6.18.47, >=6.19.0 <7.1.11, >=6.2.0 <6.6.154, >=6.7.0 <6.12.106, >=7.2.0 <7.2.1, >=4.1.0 <5.10.2675.15.218, 6.1.185, 6.18.47, 7.1.11, 6.6.154, 6.12.106, 7.2.1, 5.10.267

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-80767 severity on Zeptric[![CVE-2026-80767](https://zeptric.io/badge/cve/CVE-2026-80767.svg)](https://zeptric.io/cve/CVE-2026-80767)