{"id":"CVE-2026-46246","published":"2026-06-03T15:49:41Z","modified":"2026-06-03T15:49:41Z","title":"power: supply: pm8916_lbc: Fix use-after-free for extcon in IRQ handler","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: pm8916_lbc: Fix use-after-free for extcon in IRQ handler\n\nUsing the `devm_` variant for requesting IRQ _before_ the `devm_`\nvariant for allocating/registering the `extcon` handle, means that the\n`extcon` handle will be deallocated/unregistered _before_ the interrupt\nhandler (since `devm_` naturally deallocates in reverse allocation\norder). This means that during removal, there is a race condition where\nan interrupt can fire just _after_ the `extcon` handle has been\nfreed, *but* just _before_ the corresponding unregistration of the IRQ\nhandler has run.\n\nThis will lead to the IRQ handler calling `extcon_set_state_sync()` with\na freed `extcon` handle. Which usually crashes the system or otherwise\nsilently corrupts the memory...\n\nFix this racy use-after-free by making sure the IRQ is requested _after_\nthe registration of the `extcon` handle.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00125,"percentile":0.02225,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9fab0120907e6965168e55b1e17cb9dfaf262b86","tags":[]},{"url":"https://git.kernel.org/stable/c/47abfc207ab02cf1297257e282e8048da63f0d08","tags":[]},{"url":"https://git.kernel.org/stable/c/48e0f68b50c344bb2d78d65dd98f93e41276ee00","tags":[]},{"url":"https://git.kernel.org/stable/c/23067259919663580c6f81801847cfc7bd54fd1f","tags":[]}],"priority":{"score":0.4,"factors":[{"name":"EPSS percentile","points":0.44}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f8d7a3d21160a0cab4d15b81231f2a76b0fcee13, < 9fab0120907e6965168e55b1e17cb9dfaf262b86",">= f8d7a3d21160a0cab4d15b81231f2a76b0fcee13, < 47abfc207ab02cf1297257e282e8048da63f0d08",">= f8d7a3d21160a0cab4d15b81231f2a76b0fcee13, < 48e0f68b50c344bb2d78d65dd98f93e41276ee00",">= f8d7a3d21160a0cab4d15b81231f2a76b0fcee13, < 23067259919663580c6f81801847cfc7bd54fd1f"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"euvd":{"id":"EUVD-2026-34108","exploited":false,"provenance":"source"}}