{"affected": [{"affectedData": [{"defaultStatus": "unaffected", "product": "Linux", "programFiles": ["drivers/power/supply/pm8916_lbc.c"], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [{"lessThan": "9fab0120907e6965168e55b1e17cb9dfaf262b86", "status": "affected", "version": "f8d7a3d21160a0cab4d15b81231f2a76b0fcee13", "versionType": "git"}, {"lessThan": "47abfc207ab02cf1297257e282e8048da63f0d08", "status": "affected", "version": "f8d7a3d21160a0cab4d15b81231f2a76b0fcee13", "versionType": "git"}, {"lessThan": "48e0f68b50c344bb2d78d65dd98f93e41276ee00", "status": "affected", "version": "f8d7a3d21160a0cab4d15b81231f2a76b0fcee13", "versionType": "git"}, {"lessThan": "23067259919663580c6f81801847cfc7bd54fd1f", "status": "affected", "version": "f8d7a3d21160a0cab4d15b81231f2a76b0fcee13", "versionType": "git"}]}, {"defaultStatus": "affected", "product": "Linux", "programFiles": ["drivers/power/supply/pm8916_lbc.c"], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [{"status": "affected", "version": "6.7"}, {"lessThan": "6.7", "status": "unaffected", "version": "0", "versionType": "semver"}, {"lessThanOrEqual": "6.12.*", "status": "unaffected", "version": "6.12.75", "versionType": "semver"}, {"lessThanOrEqual": "6.18.*", "status": "unaffected", "version": "6.18.14", "versionType": "semver"}, {"lessThanOrEqual": "6.19.*", "status": "unaffected", "version": "6.19.4", "versionType": "semver"}, {"lessThanOrEqual": "*", "status": "unaffected", "version": "7.0", "versionType": "original_commit_for_fix"}]}], "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"}], "configurations": [{"nodes": [{"cpeMatch": [{"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "matchCriteriaId": "BCE16369-98ED-41CF-8995-DFDC10B288D2", "versionEndExcluding": "6.12.75", "versionStartIncluding": "6.7", "vulnerable": true}, {"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "matchCriteriaId": "BF463CB7-1F58-4607-B847-77ED23E4B9B7", "versionEndExcluding": "6.18.14", "versionStartIncluding": "6.13", "vulnerable": true}, {"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "matchCriteriaId": "672A3E79-EC03-479D-8503-361DFBDC8092", "versionEndExcluding": "6.19.4", "versionStartIncluding": "6.19", "vulnerable": true}], "negate": false, "operator": "OR"}]}], "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\npower: supply: pm8916_lbc: Correcci\u00f3n de uso despu\u00e9s de liberaci\u00f3n 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\u00e1 desasignado/dado de baja _antes_ del gestor de interrupciones (ya que 'devm_' desasigna naturalmente en orden inverso de asignaci\u00f3n). Esto significa que durante la eliminaci\u00f3n, hay una condici\u00f3n de carrera donde una interrupci\u00f3n puede dispararse justo _despu\u00e9s_ de que el manejador 'extcon' haya sido liberado, pero justo _antes_ de que se haya ejecutado la correspondiente anulaci\u00f3n de registro del gestor IRQ.\n\nEsto llevar\u00e1 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\u00e9s de liberaci\u00f3n propenso a condiciones de carrera asegur\u00e1ndose de que la IRQ sea solicitada _despu\u00e9s_ del registro del manejador 'extcon'."}], "id": "CVE-2026-46246", "lastModified": "2026-07-22T20:10:00.127", "metrics": {"cvssMetricV31": [{"cvssData": {"attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1"}, "exploitabilityScore": 1.8, "impactScore": 5.9, "source": "nvd@nist.gov", "type": "Primary"}]}, "published": "2026-06-03T18:16:24.793", "references": [{"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"], "url": "https://git.kernel.org/stable/c/23067259919663580c6f81801847cfc7bd54fd1f"}, {"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"], "url": "https://git.kernel.org/stable/c/47abfc207ab02cf1297257e282e8048da63f0d08"}, {"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"], "url": "https://git.kernel.org/stable/c/48e0f68b50c344bb2d78d65dd98f93e41276ee00"}, {"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"], "url": "https://git.kernel.org/stable/c/9fab0120907e6965168e55b1e17cb9dfaf262b86"}], "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "vulnStatus": "Analyzed", "weaknesses": [{"description": [{"lang": "en", "value": "CWE-416"}], "source": "nvd@nist.gov", "type": "Primary"}]}