CVE-2026-89626 (GCVE-0-2026-89626)

Vulnerability from cvelistv5 – Published: 2026-09-11 19:45 – Updated: 2026-09-14 12:01
VLAI
Title
HID: sensor: custom: Fix field sysfs group cleanup on failure
Summary
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.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < 416194933af63bd58d03b7605b1ebc1711186838 (git)
Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < d0e15091e88d18e30b67daf85b88f6528bb9bf41 (git)
Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < 10b05fafff932e325896d59dde40938954ab4577 (git)
Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < 2409779f3096fcef41bcf57b5f4887d0fa0dc8dd (git)
Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < 79154fad98ee843e5363940841e2d831503c190a (git)
Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < f3f37b937a6ea2a00fb5e6189e74f855caa43eb5 (git)
Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < d96f8958d4469ac02d9c563686cdd968005b944d (git)
Affected: 4a7de0519df5e8fb89cef6ee062330ffe4b50a4d , < 3789d0802ddb4b3be04062caf4bfadd23496e9a7 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.1
Unaffected: 0 , < 4.1 (semver)
Unaffected: 5.10.270 , ≤ 5.10.* (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.109 , ≤ 6.12.* (semver)
Unaffected: 6.18.50 , ≤ 6.18.* (semver)
Unaffected: 7.2.4 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "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": "416194933af63bd58d03b7605b1ebc1711186838",
              "status": "affected",
              "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
              "versionType": "git"
            },
            {
              "lessThan": "d0e15091e88d18e30b67daf85b88f6528bb9bf41",
              "status": "affected",
              "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
              "versionType": "git"
            },
            {
              "lessThan": "10b05fafff932e325896d59dde40938954ab4577",
              "status": "affected",
              "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
              "versionType": "git"
            },
            {
              "lessThan": "2409779f3096fcef41bcf57b5f4887d0fa0dc8dd",
              "status": "affected",
              "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
              "versionType": "git"
            },
            {
              "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": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "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": "5.10.270",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "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-\u003efields 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-14T12:01:37.430Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "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-14T12:01:37.430Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89626",
      "date": "2026-09-21",
      "epss": "0.00349",
      "percentile": "0.2851"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-15T01:49:14.000Z",
      "cve": "CVE-2026-89626",
      "id": "msrc_CVE-2026-89626",
      "initial_release_date": "2026-09-13T01:04:15.000Z",
      "product_status:known_not_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "HID: sensor: custom: Fix field sysfs group cleanup on failure",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89626.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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": "416194933af63bd58d03b7605b1ebc1711186838",
                    "status": "affected",
                    "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d0e15091e88d18e30b67daf85b88f6528bb9bf41",
                    "status": "affected",
                    "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "10b05fafff932e325896d59dde40938954ab4577",
                    "status": "affected",
                    "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2409779f3096fcef41bcf57b5f4887d0fa0dc8dd",
                    "status": "affected",
                    "version": "4a7de0519df5e8fb89cef6ee062330ffe4b50a4d",
                    "versionType": "git"
                  },
                  {
                    "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": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.270",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.221",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.188",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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-\u003efields without leaving enable_sensor\nable to access pointers into that array."
          }
        ],
        "id": "CVE-2026-89626",
        "lastModified": "2026-09-14T13:19:16.210",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "ADJACENT_NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-11T20:19:48.023",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/10b05fafff932e325896d59dde40938954ab4577"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2409779f3096fcef41bcf57b5f4887d0fa0dc8dd"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3789d0802ddb4b3be04062caf4bfadd23496e9a7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/416194933af63bd58d03b7605b1ebc1711186838"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/79154fad98ee843e5363940841e2d831503c190a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d0e15091e88d18e30b67daf85b88f6528bb9bf41"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d96f8958d4469ac02d9c563686cdd968005b944d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f3f37b937a6ea2a00fb5e6189e74f855caa43eb5"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-14T13:54:18+00:00",
      "cve": "CVE-2026-89626",
      "id": "CVE-2026-89626",
      "initial_release_date": "2026-09-11T00:00:00+00:00",
      "product_status:known_affected": "262",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: HID: sensor: custom: Fix field sysfs group cleanup on failure",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89626.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-16T00:01:24Z",
      "cve": "CVE-2026-89626",
      "id": "CVE-2026-89626",
      "initial_release_date": "2026-09-12T16:24:45Z",
      "product_status:known_affected": "265",
      "product_status:known_not_affected": "88",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-89626",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-89626.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…