# crypto: af_alg - Fix incorrect boolean values in af_alg_ctx

CVE record · `CVE-2025-40022`

- **Identifiers:** `CVE-2025-40022`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 24 Oct 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 24 Oct 2025, 12:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `0f28c4adbc4a97437874c9b669fd7958a8c6d6ce to before 3a21698ace915a445bce2d0dcfc84b6d2199baf7` (git)
  - affected: `e4c1ec11132ec466f7362a95f36a506ce4dc08c9 to before d382d6daf0184490f366562469a5673f65ee2662` (git)
  - affected: `1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8 to before 54506c6335690f4ef1b9f154e34f5a604c72c1ed` (git)
  - affected: `7c4491b5644e3a3708f3dbd7591be0a570135b84 to before 8703940bd30b5ad94408d28d7192db2491cd3592` (git)
  - affected: `9aee87da5572b3a14075f501752e209801160d3d to before 316b090c2fee964c307a634fecc7df269664b158` (git)
  - affected: `45bcf60fe49b37daab1acee57b27211ad1574042 to before fbe96bd25423e61273d8831e995260b429d850b6` (git)
  - affected: `1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 to before d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.1.154 to before 6.1.155` (semver)
  - affected: `6.6.108 to before 6.6.109` (semver)
  - affected: `6.12.49 to before 6.12.50` (semver)
  - affected: `6.16.9 to before 6.16.10` (semver)
  - Other versions: unaffected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 24 Oct 2025, 12:24 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-40022)
- 24 Oct 2025, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-40022)

## Sources

- [CVE List: CVE-2025-40022](https://www.cve.org/CVERecord?id=CVE-2025-40022)
- [NVD: CVE-2025-40022](https://nvd.nist.gov/vuln/detail/CVE-2025-40022)

### References from the CNA

- <https://git.kernel.org/stable/c/3a21698ace915a445bce2d0dcfc84b6d2199baf7>
- <https://git.kernel.org/stable/c/d382d6daf0184490f366562469a5673f65ee2662>
- <https://git.kernel.org/stable/c/54506c6335690f4ef1b9f154e34f5a604c72c1ed>
- <https://git.kernel.org/stable/c/8703940bd30b5ad94408d28d7192db2491cd3592>
- <https://git.kernel.org/stable/c/316b090c2fee964c307a634fecc7df269664b158>
- <https://git.kernel.org/stable/c/fbe96bd25423e61273d8831e995260b429d850b6>
- <https://git.kernel.org/stable/c/d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40022>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40022/>. Everything for agents: <https://agentprime.io/llms.txt>.
