In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix field sysfs group cleanup on failure… (CVE-2026-89626)
A vulnerability in the Linux kernel's HID sensor custom driver was resolved by fixing sysfs group cleanup on failure. The issue involved incomplete cleanup of sysfs groups if creation failed partway, potentially leaving dangling pointers accessible through enable_sensor. The fix adds proper cleanup to prevent this state.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's HID sensor custom driver (CVE-2026-89626) involved the function hid_sensor_custom_add_attributes() which creates sysfs groups for each custom sensor field. If sysfs_create_group() failed after some groups were created, the function returned an error without removing the already created groups. This could leave enable_sensor exposed to pointers referencing freed memory. The patch adds a local unwind path to remove previously created groups on failure, preventing enable_sensor from accessing invalid pointers.
Potential Impact
The vulnerability could lead to enable_sensor accessing pointers to freed memory, which may cause undefined behavior or system instability. No specific exploitation details or impact severity are provided.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly clean up sysfs groups on failure in the HID sensor custom driver. Users should update to the fixed kernel version once available. No additional mitigation steps are indicated.
In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix field sysfs group cleanup on failure… (CVE-2026-89626)
Description
A vulnerability in the Linux kernel's HID sensor custom driver was resolved by fixing sysfs group cleanup on failure. The issue involved incomplete cleanup of sysfs groups if creation failed partway, potentially leaving dangling pointers accessible through enable_sensor. The fix adds proper cleanup to prevent this state.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's HID sensor custom driver (CVE-2026-89626) involved the function hid_sensor_custom_add_attributes() which creates sysfs groups for each custom sensor field. If sysfs_create_group() failed after some groups were created, the function returned an error without removing the already created groups. This could leave enable_sensor exposed to pointers referencing freed memory. The patch adds a local unwind path to remove previously created groups on failure, preventing enable_sensor from accessing invalid pointers.
Potential Impact
The vulnerability could lead to enable_sensor accessing pointers to freed memory, which may cause undefined behavior or system instability. No specific exploitation details or impact severity are provided.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly clean up sysfs groups on failure in the HID sensor custom driver. Users should update to the fixed kernel version once available. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5r2j-h2g4-5h5v
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89626"]
Threat ID: 6aa4a00955bf5e2cf5a86661
Added to database: 09/12/2026, 00:42:49 UTC
Last enriched: 09/12/2026, 01:01:38 UTC
Last updated: 09/12/2026, 01:01:38 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.