{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2219a935963e5eeb19e5abfb99475fcc06bbb804"
            },
            {
              "fixed": "861ec73ce86e2ca18082cc7be4f140a5bbdf1428"
            },
            {
              "fixed": "f495808cdd6d9576965787cf6d9737d0b0e86b73"
            },
            {
              "fixed": "47ccbad210f48721c30d69d65b83dc9fff919ca9"
            },
            {
              "fixed": "9d34c9d660c3d0931d2cc749c46c47cf31f96e48"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.2.0"
            },
            {
              "fixed": "6.12.109"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.50"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89475.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: bq24257: fix use-after-free on remove\n\nThe STAT-pin interrupt is devm-managed, so it stays armed until the devm\ncleanup that runs after remove() returns. remove() cancels\nbq-\u003eiilimit_setup_work while the threaded handler can still fire; that\nhandler reschedules the work and dereferences bq, so the work runs\nagainst freed memory once devm frees bq.\n\nMake the delayed work device-managed with devm_delayed_work_autocancel(),\nregistered before the interrupt request. The devm cleanup then releases\nthe interrupt first, so the handler can no longer reschedule the work,\nand cancels the work before bq is freed. The explicit\ncancel_delayed_work_sync() in remove() is no longer needed and is dropped.\n\nFound by static analysis.",
  "id": "CVE-2026-89475",
  "modified": "2026-09-13T03:30:16.303386559Z",
  "published": "2026-09-11T19:43:32.537Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/47ccbad210f48721c30d69d65b83dc9fff919ca9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/861ec73ce86e2ca18082cc7be4f140a5bbdf1428"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d34c9d660c3d0931d2cc749c46c47cf31f96e48"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f495808cdd6d9576965787cf6d9737d0b0e86b73"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89475.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89475"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "power: supply: bq24257: fix use-after-free on remove"
}