{"api_version":"1","generated_at":"2026-07-23T10:57:02+00:00","cve":"CVE-2026-45869","urls":{"html":"https://cve.report/CVE-2026-45869","api":"https://cve.report/api/cve/CVE-2026-45869.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-45869","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45869"},"summary":{"title":"power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()\n\nIn `probe()`, `request_irq()` is called before allocating/registering a\n`power_supply` handle. If an interrupt is fired between the call to\n`request_irq()` and `power_supply_register()`, the `power_supply` handle\nwill be used uninitialized in `power_supply_changed()` in\n`wm97xx_bat_update()` (triggered from the interrupt handler). This will\nlead to a `NULL` pointer dereference since\n\nFix this racy `NULL` pointer dereference by making sure the IRQ is\nrequested _after_ the registration of the `power_supply` handle. Since\nthe IRQ is the last thing requests in the `probe()` now, remove the\nerror path for freeing it. Instead add one for unregistering the\n`power_supply` handle when IRQ request fails.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:00","updated_at":"2026-06-25 21:06:30"},"problem_types":["CWE-476"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/3d7b5391bb95505b3581c1fb77150c467ab92864","name":"https://git.kernel.org/stable/c/3d7b5391bb95505b3581c1fb77150c467ab92864","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dfaf235d5a6b60cbf115a14a656946303ad007b7","name":"https://git.kernel.org/stable/c/dfaf235d5a6b60cbf115a14a656946303ad007b7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/86183153c299e8bb1839e717286d6c6f39508a59","name":"https://git.kernel.org/stable/c/86183153c299e8bb1839e717286d6c6f39508a59","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/39fe0eac6d755ef215026518985fcf8de9360e9e","name":"https://git.kernel.org/stable/c/39fe0eac6d755ef215026518985fcf8de9360e9e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/93bdf715d33cf5ee01c58e8546c2469c71ce082a","name":"https://git.kernel.org/stable/c/93bdf715d33cf5ee01c58e8546c2469c71ce082a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/438f9a303ea8b55162b2d5376490c2ab3ec165a0","name":"https://git.kernel.org/stable/c/438f9a303ea8b55162b2d5376490c2ab3ec165a0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c0def811ad8d642dca9b6d31a198cc39f5f90837","name":"https://git.kernel.org/stable/c/c0def811ad8d642dca9b6d31a198cc39f5f90837","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9b7d77cb046b4487e8e511e04e62b6f416ce845c","name":"https://git.kernel.org/stable/c/9b7d77cb046b4487e8e511e04e62b6f416ce845c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-45869","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45869","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 3d7b5391bb95505b3581c1fb77150c467ab92864 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 438f9a303ea8b55162b2d5376490c2ab3ec165a0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 9b7d77cb046b4487e8e511e04e62b6f416ce845c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 86183153c299e8bb1839e717286d6c6f39508a59 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 93bdf715d33cf5ee01c58e8546c2469c71ce082a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 c0def811ad8d642dca9b6d31a198cc39f5f90837 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 dfaf235d5a6b60cbf115a14a656946303ad007b7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c87942aef52d2120e95ff1dec739998b9f95a78 39fe0eac6d755ef215026518985fcf8de9360e9e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.32","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.32 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.252 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.202 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.165 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.128 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.75 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.14 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.4 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"45869","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"45869","cve":"CVE-2026-45869","epss":"0.000240000","percentile":"0.073320000","score_date":"2026-06-01","updated_at":"2026-06-02 00:05:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/power/supply/wm97xx_battery.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3d7b5391bb95505b3581c1fb77150c467ab92864","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"},{"lessThan":"438f9a303ea8b55162b2d5376490c2ab3ec165a0","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"},{"lessThan":"9b7d77cb046b4487e8e511e04e62b6f416ce845c","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"},{"lessThan":"86183153c299e8bb1839e717286d6c6f39508a59","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"},{"lessThan":"93bdf715d33cf5ee01c58e8546c2469c71ce082a","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"},{"lessThan":"c0def811ad8d642dca9b6d31a198cc39f5f90837","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"},{"lessThan":"dfaf235d5a6b60cbf115a14a656946303ad007b7","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"},{"lessThan":"39fe0eac6d755ef215026518985fcf8de9360e9e","status":"affected","version":"7c87942aef52d2120e95ff1dec739998b9f95a78","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/power/supply/wm97xx_battery.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.32"},{"lessThan":"2.6.32","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.252","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.202","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.165","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.128","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"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.252","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.202","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.165","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.128","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.75","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.14","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.4","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"2.6.32","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()\n\nIn `probe()`, `request_irq()` is called before allocating/registering a\n`power_supply` handle. If an interrupt is fired between the call to\n`request_irq()` and `power_supply_register()`, the `power_supply` handle\nwill be used uninitialized in `power_supply_changed()` in\n`wm97xx_bat_update()` (triggered from the interrupt handler). This will\nlead to a `NULL` pointer dereference since\n\nFix this racy `NULL` pointer dereference by making sure the IRQ is\nrequested _after_ the registration of the `power_supply` handle. Since\nthe IRQ is the last thing requests in the `probe()` now, remove the\nerror path for freeing it. Instead add one for unregistering the\n`power_supply` handle when IRQ request fails."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:15:49.107Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3d7b5391bb95505b3581c1fb77150c467ab92864"},{"url":"https://git.kernel.org/stable/c/438f9a303ea8b55162b2d5376490c2ab3ec165a0"},{"url":"https://git.kernel.org/stable/c/9b7d77cb046b4487e8e511e04e62b6f416ce845c"},{"url":"https://git.kernel.org/stable/c/86183153c299e8bb1839e717286d6c6f39508a59"},{"url":"https://git.kernel.org/stable/c/93bdf715d33cf5ee01c58e8546c2469c71ce082a"},{"url":"https://git.kernel.org/stable/c/c0def811ad8d642dca9b6d31a198cc39f5f90837"},{"url":"https://git.kernel.org/stable/c/dfaf235d5a6b60cbf115a14a656946303ad007b7"},{"url":"https://git.kernel.org/stable/c/39fe0eac6d755ef215026518985fcf8de9360e9e"}],"title":"power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-45869","datePublished":"2026-05-27T12:15:49.107Z","dateReserved":"2026-05-13T15:03:33.080Z","dateUpdated":"2026-05-27T12:15:49.107Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:00","lastModifiedDate":"2026-06-25 21:06:30","problem_types":["CWE-476"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.32","versionEndExcluding":"5.10.252","matchCriteriaId":"8CE41C75-8DCF-44F0-8113-EB9D133FC448"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.202","matchCriteriaId":"4002FC2B-1456-4666-B240-0EBF590C4671"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.165","matchCriteriaId":"797C7F46-D0BE-4FB8-A502-C5EF8E6B6654"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.128","matchCriteriaId":"851E9353-6C09-4CC9-877E-E09DB164A3C2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.75","matchCriteriaId":"BCE16369-98ED-41CF-8995-DFDC10B288D2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.14","matchCriteriaId":"BF463CB7-1F58-4607-B847-77ED23E4B9B7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.4","matchCriteriaId":"672A3E79-EC03-479D-8503-361DFBDC8092"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"45869","Ordinal":"1","Title":"power: supply: wm97xx: Fix NULL pointer dereference in power_sup","CVE":"CVE-2026-45869","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"45869","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()\n\nIn `probe()`, `request_irq()` is called before allocating/registering a\n`power_supply` handle. If an interrupt is fired between the call to\n`request_irq()` and `power_supply_register()`, the `power_supply` handle\nwill be used uninitialized in `power_supply_changed()` in\n`wm97xx_bat_update()` (triggered from the interrupt handler). This will\nlead to a `NULL` pointer dereference since\n\nFix this racy `NULL` pointer dereference by making sure the IRQ is\nrequested _after_ the registration of the `power_supply` handle. Since\nthe IRQ is the last thing requests in the `probe()` now, remove the\nerror path for freeing it. Instead add one for unregistering the\n`power_supply` handle when IRQ request fails.","Type":"Description","Title":"power: supply: wm97xx: Fix NULL pointer dereference in power_sup"}]}}}