CVE-2026-138879
crypto: algif_skcipher - rewind rounded output bytes
Check your servers for CVE-2026-138879
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138879 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 2b3d265a3fc85067d31b5afb1d361fd3572ceccc affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 9e2ad142742c81f1c2f47211994fe8d259d6c2c0 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before aee0549e284b65763e8df946b85271eaf5884f70 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 53a4a201240155d486df7c62e0a26bac37d5e28b affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before b4526c0966888aafecead8956910de7318969d48 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before ca4d514d32a9c4c293d742f7091c49d4d016cd11 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 6bc3e7aa73fbdcf6cd48435d9a944d84594c53fc affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 2f90facc7b94934653eb7ebfadcc25d503b89196
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138879 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138879
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138879
trivy image --scanners vuln IMAGE | grep CVE-2026-138879
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2b3d265a3fc85067d31b5afb1d361fd3572ceccc git.kernel.org
- https://git.kernel.org/stable/c/9e2ad142742c81f1c2f47211994fe8d259d6c2c0 git.kernel.org
- https://git.kernel.org/stable/c/aee0549e284b65763e8df946b85271eaf5884f70 git.kernel.org
- https://git.kernel.org/stable/c/53a4a201240155d486df7c62e0a26bac37d5e28b git.kernel.org
- https://git.kernel.org/stable/c/b4526c0966888aafecead8956910de7318969d48 git.kernel.org
- https://git.kernel.org/stable/c/ca4d514d32a9c4c293d742f7091c49d4d016cd11 git.kernel.org
- https://git.kernel.org/stable/c/6bc3e7aa73fbdcf6cd48435d9a944d84594c53fc git.kernel.org
- https://git.kernel.org/stable/c/2f90facc7b94934653eb7ebfadcc25d503b89196 git.kernel.org
Source: the record CVE-2026-138879 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse