CVE-2026-74578

crypto: algif_skcipher - force synchronous processing on trees without ctx->state

7.1 high EPSS 0.15%

Published 16 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74578

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-74578 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

crypto: algif_skcipher - force synchronous processing on trees without ctx->state

The AIO/async path in skcipher_recvmsg() passes the socket-wide ctx->iv directly into the skcipher request. After io_submit() the socket lock is dropped and the request is processed asynchronously, so a concurrent sendmsg(ALG_SET_IV) can overwrite ctx->iv and make the in-flight request run under an attacker-controlled IV. For CTR/stream modes this is IV/keystream reuse and lets an unprivileged user recover the plaintext of a concurrent operation.

Snapshotting ctx->iv into per-request storage for the async path is not sufficient. For ciphers with statesize == 0 - which includes cbc and ctr - the MSG_MORE inter-chunk IV chaining is carried solely by the in-place req->iv writeback, which a snapshot redirects into per-request memory that af_alg_free_resources() releases on completion, silently producing wrong output. Writing the IV back from the completion callback instead is not possible either: that would require lock_sock() there, but the callback can run in softirq/atomic context, so it must not sleep.

Make the operation synchronous instead, which removes both the IV race and any writeback race. This is equivalent to the upstream resolution, commit fcc77d33a34c ("net: Remove support for AIO on sockets"), which removed the AIO socket path across net/ entirely and so produces the same end state for this file. This patch deviates from that commit deliberately: rather than removing AIO socket support tree-wide, which would be far too invasive for stable, it removes only the AIO branch in crypto/algif_skcipher.c. io_submit() now completes synchronously; AF_ALG async is rarely used in practice.

The -EIOCBQUEUED check in skcipher_recvmsg() is now dead but harmless, and is left alone to keep the fix minimal.

Tested on 6.6.y: attacker IV injection dropped from 2296/200000 to 0/200000 after the change; MSG_MORE chunked CTR output bit-identical to single-shot.

Severity (CVSS)

7.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.06% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before bf09b0be8e851f050e98da702d247c14d81b591a
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 73dd3bf704ca6c20639de70c08e9a10bee904a95
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before f1a87ca0843d74482402a206ea2dfb315ee9acbd
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 60eafc7b08c6689ea3ad39eff8d97aefc8a087c7
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before d7860b682da55433b5da0591b0e4c1982ecd2689
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before b05defc41b27c7d0c05c45f67bf5b91c28f93669
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before fcc77d33a34cf271702e8daafb6c593e4626776d
Other versions: unaffected
Linux
affected 4.14
unaffected before 4.14
unaffected from 5.10.261 up to and including 5.10.*
unaffected from 5.15.212 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 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-74578 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74578

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-74578
trivy image --scanners vuln IMAGE | grep CVE-2026-74578

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

Source: the record CVE-2026-74578 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.