Skip to main content
VulnerabilityPublished Updated

CVE-2025-40022: Linux kernel · crypto: af_alg – Fix incorrect boolean values in af_alg_ctx

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in fbe96bd25423e61273d8831e995260b429d850b6 : update Linux kernel when convenient.

Data as of 10 Nov 2026, 15:03 UTC

Severity
Medium

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

  1. Disclosed: evidence found.

    CVE published 24 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 45bcf60fe49b37daab1acee57b27211ad1574042, < fbe96bd25423e61273d8831e995260b429d850b6
Fixed in
  • fbe96bd25423e61273d8831e995260b429d850b6
LinuxLinuxAffected
  • ≥ e4c1ec11132ec466f7362a95f36a506ce4dc08c9, < d382d6daf0184490f366562469a5673f65ee2662
Fixed in
  • d382d6daf0184490f366562469a5673f65ee2662
LinuxLinuxAffected
  • ≥ 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285, < d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb
Fixed in
  • d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb
LinuxLinuxAffected
  • ≥ 7c4491b5644e3a3708f3dbd7591be0a570135b84, < 8703940bd30b5ad94408d28d7192db2491cd3592
Fixed in
  • 8703940bd30b5ad94408d28d7192db2491cd3592
LinuxLinuxAffected
  • ≥ 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8, < 54506c6335690f4ef1b9f154e34f5a604c72c1ed
Fixed in
  • 54506c6335690f4ef1b9f154e34f5a604c72c1ed
LinuxLinuxAffected
  • ≥ 9aee87da5572b3a14075f501752e209801160d3d, < 316b090c2fee964c307a634fecc7df269664b158
Fixed in
  • 316b090c2fee964c307a634fecc7df269664b158

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

Community reviews

Loading reviews…