{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89474",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89474"
  ],
  "published": "2026-09-11T19:47:07Z",
  "summary": "power: supply: bq256xx: drain usb_work before freeing the charger",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: bq256xx: drain usb_work before freeing the charger\n\nThe USB-PHY notifier queues usb_work, whose handler calls\npower_supply_changed(bq->charger). The reset devm action only unregisters\nthe notifier and was registered before the power supplies, so devm frees\nbq->charger on unwind before the action runs; a usb_work still queued can\nthen dereference it.\n\nRegister the reset action after the power supplies, so it unregisters\nthe notifiers and drains usb_work before the supplies are released.\nInitialize usb_work and obtain the PHY references before registering\nthe notifiers, so the worker cannot run before the supplies exist.\n\nFound by static analysis.",
  "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-89474"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9dcfdf6c598301b278f0b3490eb2bf4f600524e2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fd08d4dbbec07a44f01b0ddb041912be0dc88f8c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2cfb59dc9df8b5ebdd95e3d874a7f4690cee2bc8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-14T12:06:03Z"
  }
}
