CVE-2026-138879
publishedcrypto: algif_skcipher - rewind rounded output bytes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 2b3d265a3fc85067d31b5afb1d361fd3572ceccc · e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 9e2ad142742c81f1c2f47211994fe8d259d6c2c0 · e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < aee0549e284b65763e8df946b85271eaf5884f70 · e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 53a4a201240155d486df7c62e0a26bac37d5e28b · e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < b4526c0966888aafecead8956910de7318969d48 · e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < ca4d514d32a9c4c293d742f7091c49d4d016cd11 · e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 6bc3e7aa73fbdcf6cd48435d9a944d84594c53fc · e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 2f90facc7b94934653eb7ebfadcc25d503b89196 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.14 (affected) · 0 to < 4.14 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: algif_skcipher - rewind rounded output bytes af_alg_get_rsgl() advances the receive iterator by the unrounded RX scatterlist length. For a continuing skcipher request, _skcipher_recvmsg() then rounds its local length down to a whole chunksize without restoring the iterator. A later chunk starts after bytes which the provider never wrote, while the syscall returns only the processed length. When copy_splice_read() supplies non-zeroed pages and publishes that return as a dense prefix, the gap exposes stale bytes from a previous page lifetime. With unprivileged xts(aes), a 31-byte MSG_MORE request followed by one final byte advances a 47-byte destination while returning 32 bytes. A hardened v7.2-rc5 image retained all 15 seeded stale bytes in 4,829 of 4,829 records. With init_on_alloc enabled, all 72,345 gap bytes observed were zero. Rewind the iterator by the tail excluded during rounding, before rejecting a zero processed length. The crypto request uses only the rounded length; af_alg_free_resources() releases the entire RX list before another receive iteration. The fixed target-like kernel returned byte-identical dense 48-byte output in 4,771 of 4,771 rounds. The unmodified kernel returned the vulnerable 32-byte short record in 2,409 of 2,409 rounds.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 2b3d265a3fc85067d31b5afb1d361fd3572ceccc (affected · git)e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 9e2ad142742c81f1c2f47211994fe8d259d6c2c0 (affected · git)e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < aee0549e284b65763e8df946b85271eaf5884f70 (affected · git)e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 53a4a201240155d486df7c62e0a26bac37d5e28b (affected · git)e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < b4526c0966888aafecead8956910de7318969d48 (affected · git)e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < ca4d514d32a9c4c293d742f7091c49d4d016cd11 (affected · git)e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 6bc3e7aa73fbdcf6cd48435d9a944d84594c53fc (affected · git)e870456d8e7c8d57c059ea479b5aadbb55ff4c3a to < 2f90facc7b94934653eb7ebfadcc25d503b89196 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.14 (affected)0 to < 4.14 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2b3d265a3fc85067d31b5afb1d361fd3572ceccc
- https://git.kernel.org/stable/c/2f90facc7b94934653eb7ebfadcc25d503b89196
- https://git.kernel.org/stable/c/53a4a201240155d486df7c62e0a26bac37d5e28b
- https://git.kernel.org/stable/c/6bc3e7aa73fbdcf6cd48435d9a944d84594c53fc
- https://git.kernel.org/stable/c/9e2ad142742c81f1c2f47211994fe8d259d6c2c0
- https://git.kernel.org/stable/c/aee0549e284b65763e8df946b85271eaf5884f70
- https://git.kernel.org/stable/c/b4526c0966888aafecead8956910de7318969d48
- https://git.kernel.org/stable/c/ca4d514d32a9c4c293d742f7091c49d4d016cd11
Provider assertions
1Linux · cna
crypto: algif_skcipher - rewind rounded output bytes
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a3cd886c3441eaf9aec87733f0e90cd747e2157fcbbedc9179a49bf9f2f04d7
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record