{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89626",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89626"
  ],
  "published": "2026-09-11T19:47:07Z",
  "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->fields without leaving enable_sensor\nable to access pointers into that array.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-89626"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/416194933af63bd58d03b7605b1ebc1711186838"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d0e15091e88d18e30b67daf85b88f6528bb9bf41"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/10b05fafff932e325896d59dde40938954ab4577"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2409779f3096fcef41bcf57b5f4887d0fa0dc8dd"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/79154fad98ee843e5363940841e2d831503c190a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f3f37b937a6ea2a00fb5e6189e74f855caa43eb5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d96f8958d4469ac02d9c563686cdd968005b944d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3789d0802ddb4b3be04062caf4bfadd23496e9a7"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-14T12:06:03Z"
  }
}
