CVE-2025-38395
CVE.org · Publicado
- Status do registro
- Publicado
- Ano do identificador (não é o ano de publicação)
- 2025
- 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
regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods
In the Linux kernel, the following vulnerability has been resolved: regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods drvdata::gpiods is supposed to hold an array of 'gpio_desc' pointers. But the memory is allocated for only one pointer. This will lead to out-of-bounds access later in the code if 'config::ngpios' is > 1. So fix the code to allocate enough memory to hold 'config::ngpios' of GPIO descriptors. While at it, also move the check for memory allocation failure to be below the allocation to make it more readable.
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) |
|---|---|---|---|---|---|
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | a3cd5ae7befbac849e0e0529c94ca04e8093cfd2 | Indisponível | Nenhuma listada |
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | 9fe71972869faed1f8f9b3beb9040f9c1b300c79 | Indisponível | Nenhuma listada |
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | 56738cbac3bbb1d39a71a07f57484dec1db8b239 | Indisponível | Nenhuma listada |
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | a1e12fac214d4f49fcb186dbdf9c5592e7fa0a7a | Indisponível | Nenhuma listada |
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | 24418bc77a66cb5be9f5a837431ba3674ed8b52f | Indisponível | Nenhuma listada |
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | e4d19e5d71b217940e33f2ef6c6962b7b68c5606 | Indisponível | Nenhuma listada |
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | 3830ab97cda9599872625cc0dc7b00160193634f | Indisponível | Nenhuma listada |
| d6cd33ad71029a3f77ba1686caf55d4dea58d916 | affected | git | c9764fd88bc744592b0604ccb6b6fc1a5f76b4e3 | 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) |
|---|---|---|---|---|---|
| 5.1 | affected | Indisponível | Indisponível | Indisponível | Nenhuma listada |
| 0 | unaffected | semver | 5.1 | Indisponível | Nenhuma listada |
| 5.4.296 | unaffected | semver | Indisponível | 5.4.* | Nenhuma listada |
| 5.10.240 | unaffected | semver | Indisponível | 5.10.* | Nenhuma listada |
| 5.15.187 | unaffected | semver | Indisponível | 5.15.* | Nenhuma listada |
| 6.1.144 | unaffected | semver | Indisponível | 6.1.* | Nenhuma listada |
| 6.6.97 | unaffected | semver | Indisponível | 6.6.* | Nenhuma listada |
| 6.12.37 | unaffected | semver | Indisponível | 6.12.* | Nenhuma listada |
| 6.15.6 | unaffected | semver | Indisponível | 6.15.* | Nenhuma listada |
| 6.16 | unaffected | original_commit_for_fix | Indisponível | * | Nenhuma listada |