CVE-2025-40022: Linux kernel · crypto: af_alg – Fix incorrect boolean values in af_alg_ctx
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in fbe96bd25423e61273d8831e995260b429d850b6 : update Linux kernel when convenient.
Data as of 10 Nov 2026, 15:03 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- Patch
- Available – fixed in fbe96bd25423e61273d8831e995260b429d850b6, d382d6daf0184490f366562469a5673f65ee2662, d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb +8
Exploitation evidence
Disclosed: evidence found.
CVE published 24 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
AI-suggested
This vulnerability has been fixed in Linux kernel versions 6.1.155, 6.6.109, 6.12.50, and 6.16.10. Users and administrators should update to these or later versions to remediate the issue.
Description
A vulnerability in the Linux kernel's crypto subsystem (af_alg) involved incorrect boolean value handling due to a change from bool to 1-bit bitfields of type u32. This caused some fields to receive incorrect values, potentially affecting the intended logic. The issue has been fixed by reverting these fields back to bool type.
References
- git.kernel.org/stable/c/3a21698ace915a445bce2d0dcfc84b6d2199baf7 (opens in a new tab)
- git.kernel.org/stable/c/d382d6daf0184490f366562469a5673f65ee2662 (opens in a new tab)
- git.kernel.org/stable/c/54506c6335690f4ef1b9f154e34f5a604c72c1ed (opens in a new tab)
- git.kernel.org/stable/c/8703940bd30b5ad94408d28d7192db2491cd3592 (opens in a new tab)
- git.kernel.org/stable/c/316b090c2fee964c307a634fecc7df269664b158 (opens in a new tab)
- git.kernel.org/stable/c/fbe96bd25423e61273d8831e995260b429d850b6 (opens in a new tab)
- git.kernel.org/stable/c/d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-082556.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)