CVE-2026-45882
CVE.org · Publicado
- Status do registro
- Publicado
- Ano do identificador (não é o ano de publicação)
- 2026
- Publicação na fonte
- Atualização na fonte
- Importado pelo cveboard
- Snapshot da fonte
- cve_2026-10-24_midnight_baseline ·
Texto da CNA em inglês
power: supply: pm8916_bms_vm: Fix use-after-free in power_supply_changed()
In the Linux kernel, the following vulnerability has been resolved: power: supply: pm8916_bms_vm: Fix use-after-free in power_supply_changed() Using the `devm_` variant for requesting IRQ _before_ the `devm_` variant for allocating/registering the `power_supply` handle, means that the `power_supply` handle will be deallocated/unregistered _before_ the interrupt handler (since `devm_` naturally deallocates in reverse allocation order). This means that during removal, there is a race condition where an interrupt can fire just _after_ the `power_supply` handle has been freed, *but* just _before_ the corresponding unregistration of the IRQ handler has run. This will lead to the IRQ handler calling `power_supply_changed()` with a freed `power_supply` handle. Which usually crashes the system or otherwise silently corrupts the memory... Note that there is a similar situation which can also happen during `probe()`; the possibility of an interrupt firing _before_ registering the `power_supply` handle. This would then lead to the nasty situation of using the `power_supply` handle *uninitialized* in `power_supply_changed()`. Fix this racy use-after-free by making sure the IRQ is requested _after_ the registration of the `power_supply` handle.
Fatos de produtos e versões por escopo
Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.
Exploração desconhecida; este catálogo não avalia exploração.
Linux
- Fornecedor
- Linux
- Produto
- Linux
- Plataformas
- Desconhecido
- Status padrão
unaffected
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 098bce1838e0549228c8d426e5de72ec5594b5c4 | affected | git | b69bb88e20c6f8e998dff3e13a316207f49d3fa2 | Indisponível | Nenhuma listada |
| 098bce1838e0549228c8d426e5de72ec5594b5c4 | affected | git | a8b7117ae3a791c6a328674d05a06cd45d8241bd | Indisponível | Nenhuma listada |
| 098bce1838e0549228c8d426e5de72ec5594b5c4 | affected | git | 17db6b3abd823c9fba3f3413c4f0f432d99d49dc | Indisponível | Nenhuma listada |
| 098bce1838e0549228c8d426e5de72ec5594b5c4 | affected | git | 62914959b35e9a1e29cc0f64cb8cfc5075a5366f | Indisponível | Nenhuma listada |
Linux
- Fornecedor
- Linux
- Produto
- Linux
- Plataformas
- Desconhecido
- Status padrão
affected
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 6.7 | affected | Indisponível | Indisponível | Indisponível | Nenhuma listada |
| 0 | unaffected | semver | 6.7 | Indisponível | Nenhuma listada |
| 6.12.75 | unaffected | semver | Indisponível | 6.12.* | Nenhuma listada |
| 6.18.14 | unaffected | semver | Indisponível | 6.18.* | Nenhuma listada |
| 6.19.4 | unaffected | semver | Indisponível | 6.19.* | Nenhuma listada |
| 7.0 | unaffected | original_commit_for_fix | Indisponível | * | Nenhuma listada |