# CVE-2026-74578: crypto: algif\_skcipher - force synchronous processing on trees without ctx-\>state

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **Published:** 2026-08-16T08:20:32.055Z
- **Modified:** 2026-10-16T20:17:39.407Z

## Who should check

- Anyone running Linux \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< bf09b0be8e851f050e98da702d247c14d81b591a; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 73dd3bf704ca6c20639de70c08e9a10bee904a95; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< f1a87ca0843d74482402a206ea2dfb315ee9acbd; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 60eafc7b08c6689ea3ad39eff8d97aefc8a087c7; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< d7860b682da55433b5da0591b0e4c1982ecd2689; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< b05defc41b27c7d0c05c45f67bf5b91c28f93669; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< fcc77d33a34cf271702e8daafb6c593e4626776d
- Anyone running Linux 4.14

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

## Affected and fixed versions

- Linux: \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< bf09b0be8e851f050e98da702d247c14d81b591a; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 73dd3bf704ca6c20639de70c08e9a10bee904a95; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< f1a87ca0843d74482402a206ea2dfb315ee9acbd; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 60eafc7b08c6689ea3ad39eff8d97aefc8a087c7; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< d7860b682da55433b5da0591b0e4c1982ecd2689; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< b05defc41b27c7d0c05c45f67bf5b91c28f93669; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< fcc77d33a34cf271702e8daafb6c593e4626776d (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74578. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74578.md
Affected: Linux >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < bf09b0be8e851f050e98da702d247c14d81b591a; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 73dd3bf704ca6c20639de70c08e9a10bee904a95; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < f1a87ca0843d74482402a206ea2dfb315ee9acbd; >= e870456d8e7c8d57c059ea4…
Fixed in: Linux 73dd3bf704ca6c20639de70c08e9a10bee904a95, Linux 7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd, Linux 60eafc7b08c6689ea3ad39eff8d97aefc8a087c7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74578 being exploited?

There is no confirmed exploitation: CVE-2026-74578 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-74578?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74578?

Linux \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< bf09b0be8e851f050e98da702d247c14d81b591a; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 73dd3bf704ca6c20639de70c08e9a10bee904a95; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< f1a87ca0843d74482402a206ea2dfb315ee9acbd; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< 60eafc7b08c6689ea3ad39eff8d97aefc8a087c7; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< d7860b682da55433b5da0591b0e4c1982ecd2689; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< b05defc41b27c7d0c05c45f67bf5b91c28f93669; \>= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, \< fcc77d33a34cf271702e8daafb6c593e4626776d; Linux 4.14.

### Is there a fix for CVE-2026-74578?

Yes. Fixed in Linux 73dd3bf704ca6c20639de70c08e9a10bee904a95, Linux 7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd, Linux 60eafc7b08c6689ea3ad39eff8d97aefc8a087c7. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74578?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bf09b0be8e851f050e98da702d247c14d81b591a>
- other: <https://git.kernel.org/stable/c/73dd3bf704ca6c20639de70c08e9a10bee904a95>
- other: <https://git.kernel.org/stable/c/f1a87ca0843d74482402a206ea2dfb315ee9acbd>
- other: <https://git.kernel.org/stable/c/7b91e51d0eb7cbb07f7f086f9176bd93dbbc85dd>
- other: <https://git.kernel.org/stable/c/60eafc7b08c6689ea3ad39eff8d97aefc8a087c7>
- other: <https://git.kernel.org/stable/c/d7860b682da55433b5da0591b0e4c1982ecd2689>
- other: <https://git.kernel.org/stable/c/b05defc41b27c7d0c05c45f67bf5b91c28f93669>
- other: <https://git.kernel.org/stable/c/fcc77d33a34cf271702e8daafb6c593e4626776d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74578>

HTML: <https://flawdb.com/CVE-2026-74578> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74578>
