Bug 2532034 (CVE-2026-89626) - CVE-2026-89626 kernel: HID: sensor: custom: Fix field sysfs group cleanup on failure
Summary: CVE-2026-89626 kernel: HID: sensor: custom: Fix field sysfs group cleanup on ...
Keywords:
Status: NEW
Alias: CVE-2026-89626
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-11 20:07 UTC by OSIDB Bzimport
Modified: 2026-09-14 13:26 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-11 20:07:35 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.