---
title: "CVE-2026-138921"
canonical_url: "https://pkgseek.com/security/CVE-2026-138921"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-138921

In the Linux kernel, the following vulnerability has been resolved:  crypto: caam - fix double-free in caam_rsa_set_priv_key_form()  caam_rsa_set_priv_key_form() frees the partially allocated key components (p, q, tmp1, tmp2, dp, dq) with kfree_sensitive() on its error path, but does not set those pointers to NULL afterward.  When the function returns an error, caam_rsa_set_priv_key() jumps to its err label and calls caam_rsa_free_key(), which frees all of those same pointers again, resulting in a double-free.  This is reachable when the allocation of q, tmp1, tmp2, dp, dq or qinv fails, e.g. …

CVE-2026-138921 is rated HIGH (7.8), with 13 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.8)
- **Affected builds**: 13
- **Affected distros**: 1
- **Distros with fixed_in**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | linux-headers-6.12.107+deb13-amd64 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-cloud-amd64 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-common | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-common-rt | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-rt-amd64 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-dbg | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-unsigned | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-dbg | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-unsigned | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-dbg | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-unsigned | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-kbuild-6.12.107+deb13 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-support-6.12.107+deb13 | 6.12.107-1 | 6.12.117-1 |
