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: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential kernel memory corruption compromising system integrity
Action: Apply patch
AI Analysis

Impact

The Linux kernel HID sensor custom subsystem constructs a sysfs group for each custom sensor field. When creation of a later group fails, the previously created groups are left in place and the function returns an error without undoing them. These lingering groups can expose stale pointers that are later accessed through the enable_sensor sysfs entry, potentially causing kernel memory corruption. This weakness is classified as CWE‑772: Missing Release or Cleanup of Resource after Failure. Based on the description, it is inferred that an attacker who can cause a sysfs group creation failure may subsequently trigger kernel corruption by interacting with enable_sensor.

Affected Systems

All systems running the Linux compiled directly into the kernel or loaded as a module—are affected. This includes most mainstream Linux distributions that ship default kernels with this functionality. Versions of the kernel that have incorporated the commit adding cleanup logic for sysfs group creation, or those in which HID_SENSOR_CUSTOM has been disabled, are not affected.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, while the EPSS score of less than 1% points to a very low likelihood of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires privileged access to load or unload kernel modules or to compile and install custom sensor drivers, and relies on the failure of sysfs group creation. The exploit is confined to kernel space and therefore requires root or equivalent privilege; ordinary users cannot directly exploit the weakness.

Generated by OpenCVE AI on September 15, 2026 at 21:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a kernel release that contains the commit adding cleanup logic for sysfs group creation in the HID sensor custom subsystem.
  • If a kernel update is not possible, disable HID_SENSOR_CUSTOM by rebuilding the kernel with CONFIG_HID_SENSOR_CUSTOM=n or by unloading the corresponding module.
  • If disabling is not an option, restrict write access to the enable_sensor sysfs entry using SELinux, AppArmor or by adjusting file permissions so that only trusted users have write rights.

Generated by OpenCVE AI on September 15, 2026 at 21:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Mon, 14 Sep 2026 12:30:00 +0000


Sun, 13 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics 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'}

cvssV3_1

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


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-14T12:01:37.430Z

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-14T13:19:16.210

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-15T21:15:14Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime