CVE-2025-40022 — Linux vulnerability
6 documents5 sources
Severity
—N/A
No vectorEPSS
0.1%
top 81.96%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 24
Description
In the Linux kernel, the following vulnerability has been resolved:
crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
Commit 1b34cbbf4f01 ("crypto: af_alg - Disallow concurrent writes in
af_alg_sendmsg") changed some fields from bool to 1-bit bitfields of
type u32.
However, some assignments to these fields, specifically 'more' and
'merge', assign values greater than 1. These relied on C's implicit
conversion to bool, such that zero becomes false and nonzero becomes
true.
With a 1-b…
Affected Packages5 packages
▶CVEListV5linux/linux0f28c4adbc4a97437874c9b669fd7958a8c6d6ce — 3a21698ace915a445bce2d0dcfc84b6d2199baf7+10
🔴Vulnerability Details
3OSV▶
CVE-2025-40022: In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Fix incorrect boolean values in af_alg_ctx Commit 1b34cbbf4f01 ("↗2025-10-24
GHSA▶
GHSA-rjhr-rr92-fh8c: In the Linux kernel, the following vulnerability has been resolved:
crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
Commit 1b34cbbf4f01↗2025-10-24