CVE-2025-71131
kernel: crypto: seqiv - Do not use req->iv after crypto_aead_encrypt
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 14, 2026
Updated · August 17, 2026
Description
A use-after-free vulnerability was found in the Linux kernel's seqiv (Sequence IV) crypto module. After calling crypto_aead_encrypt(), the underlying request may be freed by asynchronous completion handlers. The code then incorrectly dereferences req->iv to compare against info, accessing potentially freed memory. This can cause memory corruption or crashes when using asynchronous AEAD encryption.
Statement
This vulnerability affects systems using the seqiv IV generator with asynchronous AEAD encryption algorithms. The race condition occurs when the encryption completes asynchronously before the calling code finishes examining the request structure. The use-after-free can cause kernel crashes or unpredictable behavior during cryptographic operations.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-825 · Expired Pointer Dereference