---
id: CVE-2026-80767
title: >-
  kernel: HID: sensor: custom: Fix use-after-free in enable_sensor
  (CVE-2026-80767)
summary: >-
  A flaw was found in the Linux kernel's Human Interface Device (HID) sensor
  custom driver. A use-after-free vulnerability exists where the `enable_sensor`
  sysfs attribute can be accessed either before its associated memory is
  properly initi…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe: CWE-416
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 7
  - enterprise_linux 8
  - enterprise_linux 9
  - openshift_container_platform 4
published: '2026-09-04'
updated: '2026-10-25'
sourceUpdated: '2026-10-25T23:46:59+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80767.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80767.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-80767'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2528600'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-80767'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80767'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-80767.mbox
  - url: 'https://kernelcve.org/list/?q=CVE-2026-80767'
  - url: 'https://git.kernel.org/stable/c/c2be74b0272b7f8f60739e7aaf0d36c0befe7136'
  - url: 'https://git.kernel.org/stable/c/d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855'
  - url: 'https://git.kernel.org/stable/c/d37ff4e3635c18af907f25712596f8ccec323751'
  - url: 'https://git.kernel.org/stable/c/2ce90cfc6646a32100feabd7110ae0352aa01167'
  - url: 'https://git.kernel.org/stable/c/244a1cb638370490ed74a8adb5cc3f1212602e32'
  - url: 'https://git.kernel.org/stable/c/8406d4b69d48bc72fb6f8812a65a17a1f903440b'
  - url: 'https://git.kernel.org/stable/c/c0757f10610542d763bd0bf9bda455b78afeef0b'
  - url: 'https://git.kernel.org/stable/c/7bb79a3cf45e0805aef74457e19deb77e18cf196'
  - url: 'https://git.kernel.org/stable/c/ad8fb82b04422f49530d2aa2753cc81d1c60102c'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00195
epssPercentile: 0.09134
ingestedAt: '2026-10-19T10:20:54.952Z'
---

## Overview

A flaw was found in the Linux kernel's Human Interface Device (HID) sensor custom driver. A use-after-free vulnerability exists where the `enable_sensor` sysfs attribute can be accessed either before its associated memory is properly initialized or after it has been freed during device removal. A local attacker could exploit this condition to cause a system crash (denial of service) or potentially achieve arbitrary code execution due to memory corruption.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, … · updated 2026-10-25 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80767.json)

**kernel: HID: sensor: custom: Fix use-after-free in enable_sensor** — rated Moderate by Red Hat. Released 2026-09-04, updated 2026-10-25.

Affected:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

No fix planned:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

Not affected:

- Red Hat Enterprise Linux 6

## Remediation

Fix deferred

Workarounds / mitigations:

- Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
