VDB

CVE-2026-74578

CVE-2026-74578 PUBLISHED CVSS 7.1 HIGH

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

Reported by linux · Published August 16, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-headersAmazon Linux1:6.18.41-94.142.amzn2023
LinuxLinuxf1a87ca0843d74482402a206ea2dfb315ee9acbd, d7860b682da55433b5da0591b0e4c1982ecd2689, bf09b0be8e851f050e98da702d247c14d81b591a, b05defc41b27c7d0c05c45f67bf5b91c28f93669, 7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd, 73dd3bf704ca6c20639de70c08e9a10bee904a95, 60eafc7b08c6689ea3ad39eff8d97aefc8a087c7, 4.14

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
LinuxLinuxe870456d8e7c8d57c059ea479b5aadbb55ff4c3a, e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, e870456d8e7c8d57c059ea479b5aadbb55ff4c3a
LinuxLinux4.14, 0, 5.10.261
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.18-headers0
LinuxLinux6.18.40, 6.12.97, 6.6.145
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023kernel-devel0
amazon:2023bpftool0
amazon:2023microvm-kernel6.180
linuxlinux_kernel4.14, 4.14, 4.14
amazon:2023python3-perf0
amazon:2023python3-perf6.180
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.180
amazon:2023perf6.180

…and 18 more

Timeline

  • Aug 16, 2026 EPSS Score (12 in total, the first dated here)
  • Aug 16, 2026 CVE Published
  • Aug 17, 2026 Coalition ESS Score
  • Aug 18, 2026 Security Advisory
  • Oct 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74578
vulnetix vdb fixes CVE-2026-74578

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74578/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›