# CVE-2026-80767: HID: sensor: custom: Fix use-after-free in enable\_sensor

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-09-04T15:12:39.363Z
- **Modified:** 2026-10-19T09:17:10.757Z

## Who should check

- Anyone running Linux \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< c2be74b0272b7f8f60739e7aaf0d36c0befe7136; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< d37ff4e3635c18af907f25712596f8ccec323751; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 2ce90cfc6646a32100feabd7110ae0352aa01167; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 244a1cb638370490ed74a8adb5cc3f1212602e32; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 8406d4b69d48bc72fb6f8812a65a17a1f903440b; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< c0757f10610542d763bd0bf9bda455b78afeef0b; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 7bb79a3cf45e0805aef74457e19deb77e18cf196; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< ad8fb82b04422f49530d2aa2753cc81d1c60102c
- Anyone running Linux 4.1

## Description

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 and fixed versions

- Linux: \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< c2be74b0272b7f8f60739e7aaf0d36c0befe7136; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< d37ff4e3635c18af907f25712596f8ccec323751; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 2ce90cfc6646a32100feabd7110ae0352aa01167; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 244a1cb638370490ed74a8adb5cc3f1212602e32; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 8406d4b69d48bc72fb6f8812a65a17a1f903440b; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< c0757f10610542d763bd0bf9bda455b78afeef0b; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 7bb79a3cf45e0805aef74457e19deb77e18cf196; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< ad8fb82b04422f49530d2aa2753cc81d1c60102c (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80767. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80767.md
Affected: Linux >= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, < c2be74b0272b7f8f60739e7aaf0d36c0befe7136; >= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, < d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855; >= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, < d37ff4e3635c18af907f25712596f8ccec323751; >= 4a7de0519df5e8fb89cef6e…
Fixed in: Linux 2ce90cfc6646a32100feabd7110ae0352aa01167, Linux 244a1cb638370490ed74a8adb5cc3f1212602e32, Linux 8406d4b69d48bc72fb6f8812a65a17a1f903440b, Linux 7bb79a3cf45e0805aef74457e19deb77e18cf196

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80767 being exploited?

There is no confirmed exploitation: CVE-2026-80767 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80767?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80767?

Linux \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< c2be74b0272b7f8f60739e7aaf0d36c0befe7136; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< d37ff4e3635c18af907f25712596f8ccec323751; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 2ce90cfc6646a32100feabd7110ae0352aa01167; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 244a1cb638370490ed74a8adb5cc3f1212602e32; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 8406d4b69d48bc72fb6f8812a65a17a1f903440b; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< c0757f10610542d763bd0bf9bda455b78afeef0b; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< 7bb79a3cf45e0805aef74457e19deb77e18cf196; \>= 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d, \< ad8fb82b04422f49530d2aa2753cc81d1c60102c; Linux 4.1.

### Is there a fix for CVE-2026-80767?

Yes. Fixed in Linux 2ce90cfc6646a32100feabd7110ae0352aa01167, Linux 244a1cb638370490ed74a8adb5cc3f1212602e32, Linux 8406d4b69d48bc72fb6f8812a65a17a1f903440b, Linux 7bb79a3cf45e0805aef74457e19deb77e18cf196. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-80767?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c2be74b0272b7f8f60739e7aaf0d36c0befe7136>
- other: <https://git.kernel.org/stable/c/d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855>
- other: <https://git.kernel.org/stable/c/d37ff4e3635c18af907f25712596f8ccec323751>
- other: <https://git.kernel.org/stable/c/2ce90cfc6646a32100feabd7110ae0352aa01167>
- other: <https://git.kernel.org/stable/c/244a1cb638370490ed74a8adb5cc3f1212602e32>
- other: <https://git.kernel.org/stable/c/8406d4b69d48bc72fb6f8812a65a17a1f903440b>
- other: <https://git.kernel.org/stable/c/c0757f10610542d763bd0bf9bda455b78afeef0b>
- other: <https://git.kernel.org/stable/c/7bb79a3cf45e0805aef74457e19deb77e18cf196>
- other: <https://git.kernel.org/stable/c/ad8fb82b04422f49530d2aa2753cc81d1c60102c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80767>

HTML: <https://flawdb.com/CVE-2026-80767> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80767>
