{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138879","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.900Z","datePublished":"2026-11-30T13:25:50.443Z","dateUpdated":"2026-11-30T13:25:50.443Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:25:50.443Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: algif_skcipher - rewind rounded output bytes\n\naf_alg_get_rsgl() advances the receive iterator by the unrounded RX\nscatterlist length.  For a continuing skcipher request,\n_skcipher_recvmsg() then rounds its local length down to a whole chunksize\nwithout restoring the iterator.\n\nA later chunk starts after bytes which the provider never wrote, while the\nsyscall returns only the processed length.  When copy_splice_read()\nsupplies non-zeroed pages and publishes that return as a dense prefix, the\ngap exposes stale bytes from a previous page lifetime.\n\nWith unprivileged xts(aes), a 31-byte MSG_MORE request followed by one\nfinal byte advances a 47-byte destination while returning 32 bytes.  A\nhardened v7.2-rc5 image retained all 15 seeded stale bytes in 4,829 of\n4,829 records.  With init_on_alloc enabled, all 72,345 gap bytes observed\nwere zero.\n\nRewind the iterator by the tail excluded during rounding, before rejecting\na zero processed length.  The crypto request uses only the rounded length;\naf_alg_free_resources() releases the entire RX list before another receive\niteration.\n\nThe fixed target-like kernel returned byte-identical dense 48-byte output\nin 4,771 of 4,771 rounds.  The unmodified kernel returned the vulnerable\n32-byte short record in 2,409 of 2,409 rounds."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/algif_skcipher.c"],"versions":[{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"2b3d265a3fc85067d31b5afb1d361fd3572ceccc","status":"affected","versionType":"git"},{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"9e2ad142742c81f1c2f47211994fe8d259d6c2c0","status":"affected","versionType":"git"},{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"aee0549e284b65763e8df946b85271eaf5884f70","status":"affected","versionType":"git"},{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"53a4a201240155d486df7c62e0a26bac37d5e28b","status":"affected","versionType":"git"},{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"b4526c0966888aafecead8956910de7318969d48","status":"affected","versionType":"git"},{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"ca4d514d32a9c4c293d742f7091c49d4d016cd11","status":"affected","versionType":"git"},{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"6bc3e7aa73fbdcf6cd48435d9a944d84594c53fc","status":"affected","versionType":"git"},{"version":"e870456d8e7c8d57c059ea479b5aadbb55ff4c3a","lessThan":"2f90facc7b94934653eb7ebfadcc25d503b89196","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["crypto/algif_skcipher.c"],"versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/2b3d265a3fc85067d31b5afb1d361fd3572ceccc"},{"url":"https://git.kernel.org/stable/c/9e2ad142742c81f1c2f47211994fe8d259d6c2c0"},{"url":"https://git.kernel.org/stable/c/aee0549e284b65763e8df946b85271eaf5884f70"},{"url":"https://git.kernel.org/stable/c/53a4a201240155d486df7c62e0a26bac37d5e28b"},{"url":"https://git.kernel.org/stable/c/b4526c0966888aafecead8956910de7318969d48"},{"url":"https://git.kernel.org/stable/c/ca4d514d32a9c4c293d742f7091c49d4d016cd11"},{"url":"https://git.kernel.org/stable/c/6bc3e7aa73fbdcf6cd48435d9a944d84594c53fc"},{"url":"https://git.kernel.org/stable/c/2f90facc7b94934653eb7ebfadcc25d503b89196"}],"title":"crypto: algif_skcipher - rewind rounded output bytes","x_generator":{"engine":"bippy-1.2.0"}}}}