{"api_version":"1","generated_at":"2026-09-13T15:19:08+00:00","cve":"CVE-2026-89626","urls":{"html":"https://cve.report/CVE-2026-89626","api":"https://cve.report/api/cve/CVE-2026-89626.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89626","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89626"},"summary":{"title":"HID: sensor: custom: Fix field sysfs group cleanup on failure","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:48","updated_at":"2026-09-13 07:17:27"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"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","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/d96f8958d4469ac02d9c563686cdd968005b944d","name":"https://git.kernel.org/stable/c/d96f8958d4469ac02d9c563686cdd968005b944d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f3f37b937a6ea2a00fb5e6189e74f855caa43eb5","name":"https://git.kernel.org/stable/c/f3f37b937a6ea2a00fb5e6189e74f855caa43eb5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3789d0802ddb4b3be04062caf4bfadd23496e9a7","name":"https://git.kernel.org/stable/c/3789d0802ddb4b3be04062caf4bfadd23496e9a7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/79154fad98ee843e5363940841e2d831503c190a","name":"https://git.kernel.org/stable/c/79154fad98ee843e5363940841e2d831503c190a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89626","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89626","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d 79154fad98ee843e5363940841e2d831503c190a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d f3f37b937a6ea2a00fb5e6189e74f855caa43eb5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d d96f8958d4469ac02d9c563686cdd968005b944d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d 3789d0802ddb4b3be04062caf4bfadd23496e9a7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"89626","cve":"CVE-2026-89626","epss":"0.002000000","percentile":"0.099680000","score_date":"2026-09-12","updated_at":"2026-09-13 00:08:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/hid/hid-sensor-custom.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"79154fad98ee843e5363940841e2d831503c190a","status":"affected","version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","versionType":"git"},{"lessThan":"f3f37b937a6ea2a00fb5e6189e74f855caa43eb5","status":"affected","version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","versionType":"git"},{"lessThan":"d96f8958d4469ac02d9c563686cdd968005b944d","status":"affected","version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","versionType":"git"},{"lessThan":"3789d0802ddb4b3be04062caf4bfadd23496e9a7","status":"affected","version":"4a7de0519df5e8fb89cef6ee062330ffe4b50a4d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/hid/hid-sensor-custom.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.1"},{"lessThan":"4.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"4.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"4.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"4.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"4.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"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."}]}],"providerMetadata":{"dateUpdated":"2026-09-13T06:32:07.327Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89626","datePublished":"2026-09-11T19:45:22.769Z","dateReserved":"2026-09-11T19:38:34.737Z","dateUpdated":"2026-09-13T06:32:07.327Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:48","lastModifiedDate":"2026-09-13 07:17:27","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89626","Ordinal":"1","Title":"HID: sensor: custom: Fix field sysfs group cleanup on failure","CVE":"CVE-2026-89626","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89626","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"HID: sensor: custom: Fix field sysfs group cleanup on failure"}]}}}