{"id":"CVE-2026-89626","summary":"HID: sensor: custom: Fix field sysfs group cleanup on failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: sensor: custom: Fix field sysfs group cleanup on failure\n\nhid_sensor_custom_add_attributes() creates one sysfs group for each\ncustom sensor field. If sysfs_create_group() fails after some groups\nhave already been created, the function returns the error without\nremoving the previously created groups.\n\nAdd a local unwind path to remove the groups that were already created.\nWith enable_sensor exposed only after the field attributes are ready,\nthis path can free sensor_inst-\u003efields without leaving enable_sensor\nable to access pointers into that array.","modified":"2026-09-13T03:47:20.268921623Z","published":"2026-09-11T19:45:22.769Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89626.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3789d0802ddb4b3be04062caf4bfadd23496e9a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79154fad98ee843e5363940841e2d831503c190a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d96f8958d4469ac02d9c563686cdd968005b944d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3f37b937a6ea2a00fb5e6189e74f855caa43eb5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89626.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89626"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d"},{"fixed":"79154fad98ee843e5363940841e2d831503c190a"},{"fixed":"f3f37b937a6ea2a00fb5e6189e74f855caa43eb5"},{"fixed":"d96f8958d4469ac02d9c563686cdd968005b944d"},{"fixed":"3789d0802ddb4b3be04062caf4bfadd23496e9a7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89626.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89626.json"}}],"schema_version":"1.9.0"}