CVE-2026-46159
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
btrfs: fix btrfs_ioctl_space_info() slot_count TOCTOU which can lead to info-leak
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix btrfs_ioctl_space_info() slot_count TOCTOU which can lead to info-leak btrfs_ioctl_space_info() has a TOCTOU race between two passes over the block group RAID type lists. The first pass counts entries to determine the allocation size, then the second pass fills the buffer. The groups_sem rwlock is released between passes, allowing concurrent block group removal to reduce the entry count. When the second pass fills fewer entries than the first pass counted, copy_to_user() copies the full alloc_size bytes including trailing uninitialized kmalloc bytes to userspace. Fix by copying only total_spaces entries (the actually-filled count from the second pass) instead of alloc_size bytes, and switch to kzalloc so any future copy size mismatch cannot leak heap data.
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) |
|---|---|---|---|---|---|
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | f407aad350bdea4db300c47433573b7a41630d33 | Indisponível | Nenhuma listada |
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | d8224b1be6627c6c3b204bfb264508d27c65ac44 | Indisponível | Nenhuma listada |
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | d69a4a6813fdba7c4cc3695a7e843842b240790d | Indisponível | Nenhuma listada |
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | f5ee467b56764964027c361641f64953fc0f8f9a | Indisponível | Nenhuma listada |
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | 4fdc6ee0802121d9cd96b8d085e589f51e5a4ec3 | Indisponível | Nenhuma listada |
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | 5d12e0ab009ade48c1bff9324fd9bea2c773d088 | Indisponível | Nenhuma listada |
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | d09d67d5de577cedae3de9497dff217e0ac8b641 | Indisponível | Nenhuma listada |
| 7fde62bffb576d384ea49a3aed3403d5609ee5bc | affected | git | 973e57c726c1f8e77259d1c8e519519f1e9aea77 | 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) |
|---|---|---|---|---|---|
| 2.6.34 | affected | Indisponível | Indisponível | Indisponível | Nenhuma listada |
| 0 | unaffected | semver | 2.6.34 | Indisponível | Nenhuma listada |
| 5.10.259 | unaffected | semver | Indisponível | 5.10.* | Nenhuma listada |
| 5.15.210 | unaffected | semver | Indisponível | 5.15.* | Nenhuma listada |
| 6.1.176 | unaffected | semver | Indisponível | 6.1.* | Nenhuma listada |
| 6.6.140 | unaffected | semver | Indisponível | 6.6.* | Nenhuma listada |
| 6.12.90 | unaffected | semver | Indisponível | 6.12.* | Nenhuma listada |
| 6.18.32 | unaffected | semver | Indisponível | 6.18.* | Nenhuma listada |
| 7.0.7 | unaffected | semver | Indisponível | 7.0.* | Nenhuma listada |
| 7.1 | unaffected | original_commit_for_fix | Indisponível | * | Nenhuma listada |