CVE-2026-31478
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
ksmbd: replace hardcoded hdr2_len with offsetof() in smb2_calc_max_out_buf_len()
In the Linux kernel, the following vulnerability has been resolved: ksmbd: replace hardcoded hdr2_len with offsetof() in smb2_calc_max_out_buf_len() After this commit (e2b76ab8b5c9 "ksmbd: add support for read compound"), response buffer management was changed to use dynamic iov array. In the new design, smb2_calc_max_out_buf_len() expects the second argument (hdr2_len) to be the offset of ->Buffer field in the response structure, not a hardcoded magic number. Fix the remaining call sites to use the correct offsetof() value.
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) |
|---|---|---|---|---|---|
| f2283680a80571ca82d710bc6ecd8f8beac67d63 | affected | git | 70b4c414889492c522b6e4331562360f49be2361 | Indisponível | Nenhuma listada |
| 9f297df20d93411c0b4ddad7f88ba04a7cd36e77 | affected | git | 9a7166f0ef8cbb7bb48dd05e2471d995566003f5 | Indisponível | Nenhuma listada |
| e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d | affected | git | c3a89e3ec1ccf64fa6a34e391e1581ebbcba8683 | Indisponível | Nenhuma listada |
| e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d | affected | git | 6aef1765d6807e0f027cd87f6ac973eb0879a46d | Indisponível | Nenhuma listada |
| e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d | affected | git | 80824c7e527b70cf9039534e60aff592e8f209d1 | Indisponível | Nenhuma listada |
| e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d | affected | git | 4cb537ae4f37d7d0f617815ed4bed7173fb50861 | Indisponível | Nenhuma listada |
| e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d | affected | git | 0e55f63dd08f09651d39e1b709a91705a8a0ddcb | Indisponível | Nenhuma listada |
| 5.15.145 | affected | semver | 5.15.203 | Indisponível | Nenhuma listada |
| 6.1.71 | affected | semver | 6.1.168 | 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.6 | affected | Indisponível | Indisponível | Indisponível | Nenhuma listada |
| 0 | unaffected | semver | 6.6 | Indisponível | Nenhuma listada |
| 5.15.203 | unaffected | semver | Indisponível | 5.15.* | Nenhuma listada |
| 6.1.168 | unaffected | semver | Indisponível | 6.1.* | Nenhuma listada |
| 6.6.131 | unaffected | semver | Indisponível | 6.6.* | Nenhuma listada |
| 6.12.80 | unaffected | semver | Indisponível | 6.12.* | Nenhuma listada |
| 6.18.21 | unaffected | semver | Indisponível | 6.18.* | Nenhuma listada |
| 6.19.11 | unaffected | semver | Indisponível | 6.19.* | Nenhuma listada |
| 7.0 | unaffected | original_commit_for_fix | Indisponível | * | Nenhuma listada |