What’s Vulnerable › Vulnerabilities

CVE-2025-71131: crypto: seqiv - Do not use req->iv after crypto_aead_encrypt

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: seqiv - Do not use req->iv after crypto_aead_encrypt As soon as crypto_aead_encrypt is called, the underlying request may be freed by an asynchronous completion. Thus dereferencing req->iv after it returns is invalid. Instead of checking req->iv against info, create a new variable unaligned_info and use it for that purpose instead.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.248, 5.15.198, 6.1.160, 6.12.64. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71131 or the next vulnerability affects your stack