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.
CVSS Details
- CVSS 3.1 Base Score: 7.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel-debuginfoUpgrade kernel-livepatch-6.1.180-225.360Upgrade kernel-develUpgrade bpftoolUpgrade kernelUpgrade kernel-toolsUpgrade python3-perf-debuginfoUpgrade kernel-modules-extraUpgrade kernel-debuginfo-common-x86_64Upgrade bpftool-debuginfoUpgrade kernel-tools-debuginfoUpgrade perf-debuginfoUpgrade python3-perfUpgrade kernel-headersUpgrade kernel-modules-extra-commonUpgrade kernel-tools-develUpgrade kernel-debuginfo-common-aarch64Upgrade perf | Sep 1, 2026 | Aug 16, 2026 |
| Debian | — | Upgrade linux | Aug 17, 2026 | Aug 17, 2026 |
| Redhat_linux | — | No solution exists | Aug 19, 2026 | Aug 16, 2026 |
| Ubuntu | — | Upgrade linux-image-5.15.0-1100-gkeopUpgrade linux-image-5.15.0-1109-intel-iot-realtimeUpgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-aws-5.15Upgrade linux-image-awsUpgrade linux-image-generic-lpaeUpgrade linux-image-virtualUpgrade linux-image-gcp-5.15Upgrade linux-image-5.15.0-1118-gcp-fipsUpgrade linux-image-gke-5.15Upgrade linux-image-nvidia-tegra-rtUpgrade linux-image-lowlatency-64k-5.15Upgrade linux-image-oem-20.04Upgrade linux-image-xilinx-zynqmp-5.15Upgrade linux-image-fipsUpgrade linux-image-5.15.0-1116-realtimeUpgrade linux-image-ibmUpgrade linux-image-aws-64k-5.15Upgrade linux-image-5.15.0-1117-awsUpgrade linux-image-aws-lts-22.04Upgrade linux-image-genericUpgrade linux-image-gcp-lts-22.04Upgrade linux-image-5.15.0-1080-xilinx-zynqmpUpgrade linux-image-realtimeUpgrade linux-image-generic-64k-hwe-20.04Upgrade linux-image-intel-iot-realtime-5.15Upgrade linux-image-5.15.0-1117-aws-64kUpgrade linux-image-5.15.0-1109-kvmUpgrade linux-image-generic-5.15Upgrade linux-image-intel-iotg-5.15Upgrade linux-image-azure-cvmUpgrade linux-image-5.15.0-195-lowlatency-64kUpgrade linux-image-oracleUpgrade linux-image-5.15.0-1111-ibmUpgrade linux-image-5.15.0-198-generic-64kUpgrade linux-image-oracle-lts-22.04Upgrade linux-image-gkeUpgrade linux-image-aws-64k-lts-22.04Upgrade linux-image-lowlatency-hwe-20.04Upgrade linux-image-lowlatency-64kUpgrade linux-image-lowlatencyUpgrade linux-image-oem-20.04dUpgrade linux-image-gcpUpgrade linux-image-fips-5.15Upgrade linux-image-5.15.0-195-lowlatencyUpgrade linux-image-gkeopUpgrade linux-image-5.15.0-1123-azureUpgrade linux-image-lowlatency-64k-hwe-20.04Upgrade linux-image-intel-iotgUpgrade linux-image-generic-64k-5.15Upgrade linux-image-5.15.0-1113-gkeUpgrade linux-image-azure-fipsUpgrade linux-image-aws-fips-5.15Upgrade linux-image-5.15.0-198-generic-lpaeUpgrade linux-image-intelUpgrade linux-image-ibm-5.15Upgrade linux-image-azure-lts-22.04Upgrade linux-image-nvidia-tegraUpgrade linux-image-oem-20.04bUpgrade linux-image-azure-fdeUpgrade linux-image-gcp-fips-5.15Upgrade linux-image-generic-64kUpgrade linux-image-gcp-fipsUpgrade linux-image-azure-fips-5.15Upgrade linux-image-6.8.0-1036-nvidia-tegra-rtUpgrade linux-image-xilinx-zynqmpUpgrade linux-image-virtual-hwe-20.04Upgrade linux-image-intel-iot-realtimeUpgrade linux-image-azure-fde-lts-22.04Upgrade linux-image-5.15.0-1118-gcpUpgrade linux-image-5.15.0-1112-intel-iotgUpgrade linux-image-virtual-5.15Upgrade linux-image-5.15.0-198-genericUpgrade linux-image-generic-lpae-hwe-20.04Upgrade linux-image-aws-fipsUpgrade linux-image-kvm-5.15Upgrade linux-image-generic-lpae-5.15Upgrade linux-image-5.15.0-1123-azure-fipsUpgrade linux-image-5.15.0-1117-aws-fipsUpgrade linux-image-5.15.0-1114-oracleUpgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-realtime-5.15Upgrade linux-image-gkeop-5.15Upgrade linux-image-azureUpgrade linux-image-azure-fde-5.15Upgrade linux-image-5.15.0-198-fipsUpgrade linux-image-5.15.0-1122-azure-fdeUpgrade linux-image-6.8.0-1036-nvidia-tegraUpgrade linux-image-oem-20.04cUpgrade linux-image-lowlatency-5.15Upgrade linux-image-generic-hwe-20.04Upgrade linux-image-azure-5.15Upgrade linux-image-oracle-5.15Upgrade linux-image-kvm | Oct 6, 2026 | Oct 6, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Sep 21, 2026 | Aug 16, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub