{"id":"CVE-2026-46246","aliases":["CVE-2026-46246"],"related":[],"kind":"vulnerability","state":"published","title":"power: supply: pm8916_lbc: Fix use-after-free for extcon in IRQ handler","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\npower: supply: pm8916_lbc: Corrección de uso después de liberación para extcon en el gestor IRQ\n\nUsar la variante 'devm_' para solicitar IRQ _antes_ de la variante 'devm_' para asignar/registrar el manejador 'extcon', significa que el manejador 'extcon' será desasignado/dado de baja _antes_ del gestor de interrupciones (ya que 'devm_' desasigna naturalmente en orden inverso de asignación). Esto significa que durante la eliminación, hay una condición de carrera donde una interrupción puede dispararse justo _después_ de que el manejador 'extcon' haya sido liberado, pero justo _antes_ de que se haya ejecutado la correspondiente anulación de registro del gestor IRQ.\n\nEsto llevará a que el gestor IRQ llame a 'extcon_set_state_sync()' con un manejador 'extcon' liberado. Lo que usualmente bloquea el sistema o de otra manera corrompe silenciosamente la memoria...\n\nCorrige este uso después de liberación propenso a condiciones de carrera asegurándose de que la IRQ sea solicitada _después_ del registro del manejador 'extcon'.","source":"nvd"}],"published":"2026-06-03T15:49:41.607Z","modified":"2026-07-22T20:10:00.127Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"f8d7a3d21160a0cab4d15b81231f2a76b0fcee13","fixed":"9fab0120907e6965168e55b1e17cb9dfaf262b86","status":"affected"},{"type":"git","introduced":"f8d7a3d21160a0cab4d15b81231f2a76b0fcee13","fixed":"47abfc207ab02cf1297257e282e8048da63f0d08","status":"affected"},{"type":"git","introduced":"f8d7a3d21160a0cab4d15b81231f2a76b0fcee13","fixed":"48e0f68b50c344bb2d78d65dd98f93e41276ee00","status":"affected"},{"type":"git","introduced":"f8d7a3d21160a0cab4d15b81231f2a76b0fcee13","fixed":"23067259919663580c6f81801847cfc7bd54fd1f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9fab0120907e6965168e55b1e17cb9dfaf262b86","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47abfc207ab02cf1297257e282e8048da63f0d08","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48e0f68b50c344bb2d78d65dd98f93e41276ee00","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23067259919663580c6f81801847cfc7bd54fd1f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46246","url":"https://www.cve.org/CVERecord?id=CVE-2026-46246","licence":"CVE Terms of Use","modified":"2026-06-03T15:49:41.607Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46246","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46246","licence":"Public domain","modified":"2026-07-22T20:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:23.652Z","epss":{"score":0.0017,"percentile":0.03659,"date":"2026-11-30T12:00:22.000Z"}}