← Back to CVE Explorer

CVE-2026-89468

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: lp8788-charger: fix use-after-free on remove lp8788_charger_remove() flushes charger_work before unregistering the IRQs. An IRQ thread can queue charger_work after flush_work() has returned. The work can then run after devres frees pchg and dereference it in lp8788_charger_event(). Unregister the IRQs first. free_irq() waits for any running threaded handler, so no handler can queue more work afterwards. Then use cancel_work_sync() to cancel pending work or wait for running work to finish. This issue was found by an in-house static analysis tool.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-11 20:19:27.910000
Last modified
2026-10-30 13:20:17.067000
View original CVE JSON
{
  "id": "CVE-2026-89468",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-11T20:19:27.910",
  "lastModified": "2026-10-30T13:20:17.067",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: lp8788-charger: fix use-after-free on remove\n\nlp8788_charger_remove() flushes charger_work before unregistering the\nIRQs. An IRQ thread can queue charger_work after flush_work() has\nreturned. The work can then run after devres frees pchg and dereference\nit in lp8788_charger_event().\n\nUnregister the IRQs first. free_irq() waits for any running threaded\nhandler, so no handler can queue more work afterwards. Then use\ncancel_work_sync() to cancel pending work or wait for running work to\nfinish.\n\nThis issue was found by an in-house static analysis tool."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/power/supply/lp8788-charger.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "98a2766493589c18c327ae3dad5243b53fcb5f70",
              "lessThan": "8758fe39a993f86998c8071826150b8859902497",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "98a2766493589c18c327ae3dad5243b53fcb5f70",
              "lessThan": "4e3d3923976a986cc3cf960d13f1264cea8a9bba",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "98a2766493589c18c327ae3dad5243b53fcb5f70",
              "lessThan": "88d8eadfad5d9ff967e74090152940bcfa27df69",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "98a2766493589c18c327ae3dad5243b53fcb5f70",
              "lessThan": "b3aa1e9509e1b0a863353356d617fb45d1b6250a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "98a2766493589c18c327ae3dad5243b53fcb5f70",
              "lessThan": "b4eb6a056b441ba0caedfbfc42cec501acf12f67",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "98a2766493589c18c327ae3dad5243b53fcb5f70",
              "lessThan": "831c29a12d560f8a3225f43050b3fbb5dfd79c66",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/power/supply/lp8788-charger.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3.7",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.7",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.109",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.50",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.4",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/4e3d3923976a986cc3cf960d13f1264cea8a9bba",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/831c29a12d560f8a3225f43050b3fbb5dfd79c66",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/8758fe39a993f86998c8071826150b8859902497",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/88d8eadfad5d9ff967e74090152940bcfa27df69",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b3aa1e9509e1b0a863353356d617fb45d1b6250a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b4eb6a056b441ba0caedfbfc42cec501acf12f67",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}