{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89626","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-11T19:38:34.737Z","datePublished":"2026-09-11T19:45:22.769Z","dateUpdated":"2026-09-14T12:01:37.430Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-09-14T12:01:37.430Z"},"descriptions":[{"lang":"en","value":"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->fields without leaving enable_sensor\nable to access pointers into that array."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - hid-sensor-hub matches HID_BUS_ANY HID_GROUP_SENSOR_HUB devices and instantiates HID-SENSOR-2000e1/2000e2, so a Bluetooth HID/HoGP peer in radio range can supply a crafted custom-sensor descriptor that probes hid-sensor-custom; USB attach is only a lower-severity physical path.\nAC:L - Duplicate feature/input field group names in the attacker-controlled HID descriptor make sysfs_create_group() fail with -EEXIST after earlier groups are installed, so the missing unwind runs deterministically with no attacker-uncontrollable race or memory layout.\nPR:N - hid_sensor_custom_probe() runs from HID/MFD enumeration when the Bluetooth or USB sensor-hub connects and needs no local account, capability, or userspace authorization.\nUI:N - Probe and sysfs group creation run automatically on HID connect; leftover field attributes are then hit by udev and ordinary sysfs reads with no separate victim mount or file-open action.\nS:U - The leftover sysfs groups and use-after-free of probe-allocated hid_sensor_custom state remain in the host kernel and do not cross a VM, IOMMU, or sandbox boundary.\nC:H - Failed probe leaves field sysfs groups in place while really_probe() device_unbind_cleanup() frees the devm hid_sensor_custom object, so in-progress or later show_value() is a slab use-after-free enabling arbitrary kernel read.\nI:H - The same dangling sysfs show/store path runs against freed hid_sensor_custom state (fields, mutex, hid-sensor-hub pointers), a heap UAF that can be sprayed for arbitrary write and control-flow hijack.\nA:H - Accessing leftover field attributes after probe failure NULL-dereferences cleared drvdata or uses freed sensor_inst, causing kernel oops/panic; any UAF is High availability impact."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-sensor-custom.c"],"versions":[{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"416194933af63bd58d03b7605b1ebc1711186838","status":"affected","versionType":"git"},{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"d0e15091e88d18e30b67daf85b88f6528bb9bf41","status":"affected","versionType":"git"},{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"10b05fafff932e325896d59dde40938954ab4577","status":"affected","versionType":"git"},{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"2409779f3096fcef41bcf57b5f4887d0fa0dc8dd","status":"affected","versionType":"git"},{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"79154fad98ee843e5363940841e2d831503c190a","status":"affected","versionType":"git"},{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"f3f37b937a6ea2a00fb5e6189e74f855caa43eb5","status":"affected","versionType":"git"},{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"d96f8958d4469ac02d9c563686cdd968005b944d","status":"affected","versionType":"git"},{"version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","lessThan":"3789d0802ddb4b3be04062caf4bfadd23496e9a7","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-sensor-custom.c"],"versions":[{"version":"4.1","status":"affected"},{"version":"0","lessThan":"4.1","status":"unaffected","versionType":"semver"},{"version":"5.10.270","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.221","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.188","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.157","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.109","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.50","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.4","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.10.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.12.109"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"7.3-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/416194933af63bd58d03b7605b1ebc1711186838"},{"url":"https://git.kernel.org/stable/c/d0e15091e88d18e30b67daf85b88f6528bb9bf41"},{"url":"https://git.kernel.org/stable/c/10b05fafff932e325896d59dde40938954ab4577"},{"url":"https://git.kernel.org/stable/c/2409779f3096fcef41bcf57b5f4887d0fa0dc8dd"},{"url":"https://git.kernel.org/stable/c/79154fad98ee843e5363940841e2d831503c190a"},{"url":"https://git.kernel.org/stable/c/f3f37b937a6ea2a00fb5e6189e74f855caa43eb5"},{"url":"https://git.kernel.org/stable/c/d96f8958d4469ac02d9c563686cdd968005b944d"},{"url":"https://git.kernel.org/stable/c/3789d0802ddb4b3be04062caf4bfadd23496e9a7"}],"title":"HID: sensor: custom: Fix field sysfs group cleanup on failure","x_generator":{"engine":"bippy-1.2.0"}}}}