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

HID: sensor: custom: Fix field sysfs group cleanup on failure

hid_sensor_custom_add_attributes() creates one sysfs group for each
custom sensor field. If sysfs_create_group() fails after some groups
have already been created, the function returns the error without
removing the previously created groups.

Add a local unwind path to remove the groups that were already created.
With enable_sensor exposed only after the field attributes are ready,
this path can free sensor_inst->fields without leaving enable_sensor
able to access pointers into that array.
Published: 2026-09-11
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free leading to kernel memory corruption
Action: Apply patch
AI Analysis

Impact

In the Linux HID sensor subsystem, custom sensor fields create sysfs groups during initialization. If sysfs_create_group() fails after creating some groups, the function returns an error while leaving the partially created groups in place. Because these groups reference memory that may have been freed or left uninitialized, subsequent accesses to the enable_sensor interface can follow stale pointers, resulting in a use‑after‑free that can corrupt kernel memory. The flaw corresponds to CWE‑772, an improper cleanup of resources that can lead to this vulnerability.

Affected Systems

The flaw is present in any Linux kernel build that includes the HID sensor custom feature before the committed fix. All distributions that enable this module in the kernel configuration or load a module that defines custom sensor kernel itself, not in user space programs.

Risk and Exploitability

The AV is rated moderate with a CVSS score of 4.4 and an EPSS score of < 1 %. The vulnerability is not listed in CISA KEV, indicating a low likelihood of active exploitation. Based on the description, it is inferred that the ability to load the custom sensor module or write to its sysfs interface, which typically requires kernel or root privileges, or a kernel exploit that enables loading of privileged modules.

Generated by OpenCVE AI on September 12, 2026 at 20:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the committed fix so that partially created sysfs groups are unwound during error conditions.
  • Disable the custom HID sensor feature by setting HID_SENSOR_CUSTOM to 0 in the kernel configuration or writing 0 to the enable_sensor sysfs node, preventing the faulty interface from being exposed.
  • Audit or remove any devices that can create custom sensor fields, ensuring no custom sensor modules remain loaded or that users cannot instantiate them.

Generated by OpenCVE AI on September 12, 2026 at 20:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix field sysfs group cleanup on failure hid_sensor_custom_add_attributes() creates one sysfs group for each custom sensor field. If sysfs_create_group() fails after some groups have already been created, the function returns the error without removing the previously created groups. Add a local unwind path to remove the groups that were already created. With enable_sensor exposed only after the field attributes are ready, this path can free sensor_inst->fields without leaving enable_sensor able to access pointers into that array.
Title HID: sensor: custom: Fix field sysfs group cleanup on failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-11T19:45:22.769Z

Reserved: 2026-09-11T19:38:34.737Z

Link: CVE-2026-89626

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:48.023

Modified: 2026-09-11T20:19:48.023

Link: CVE-2026-89626

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-11T19:45:22Z

Links: CVE-2026-89626 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-12T23:00:14Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime