CVE-2026-80767

Source
https://cve.org/CVERecord?id=CVE-2026-80767
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80767.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80767
Downstream
Published
2026-09-04T15:12:39.363Z
Modified
2026-09-06T03:46:44.828718788Z
Summary
HID: sensor: custom: Fix use-after-free in enable_sensor
Details

In the Linux kernel, the following vulnerability has been resolved:

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

enablesensorstore() can call setpowerreportstate(), which dereferences sensorinst->powerstate and sensorinst->reportstate. These pointers refer to entries in sensorinst->fields.

Create the field attributes before exposing the enablesensor sysfs attribute, so enablesensor cannot be accessed before the state it depends on has been initialized.

On remove, delete enablesensor before freeing the field attributes, so a concurrent sysfs write cannot dereference freed memory through powerstate or report_state.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80767.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4a7de0519df5e8fb89cef6ee062330ffe4b50a4d
Fixed
c2be74b0272b7f8f60739e7aaf0d36c0befe7136
Fixed
d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855
Fixed
d37ff4e3635c18af907f25712596f8ccec323751
Fixed
2ce90cfc6646a32100feabd7110ae0352aa01167
Fixed
244a1cb638370490ed74a8adb5cc3f1212602e32
Fixed
8406d4b69d48bc72fb6f8812a65a17a1f903440b
Fixed
c0757f10610542d763bd0bf9bda455b78afeef0b
Fixed
7bb79a3cf45e0805aef74457e19deb77e18cf196
Fixed
ad8fb82b04422f49530d2aa2753cc81d1c60102c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80767.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.1.0
Fixed
5.10.267
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.218
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.185
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.154
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.106
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.47
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.11
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80767.json"