Skip to main content
VulnerabilityPublished

CVE-2026-138921: Linux kernel · crypto: caam – fix double-free in caam_rsa_set_priv_key_form()

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138921· High

Not known to be exploited · fixed in f3e503a31d3cfdc8fae1baeb0ad5ba8471ceea9d : patch Linux kernel soon.

Data as of 30 Nov 2026, 17:16 UTC

Severity
High

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in f3e503a31d3cfdc8fae1baeb0ad5ba8471ceea9d, e7a5cea8804f1210fe45c3a0281b11943c58553f, ad78e2cd8b4dde0b8c52bb5227e09faf3f49b939 +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  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 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 52e26d77b8b3de2e9ed6c7126f68e04cad5fe852, < f3e503a31d3cfdc8fae1baeb0ad5ba8471ceea9d
Fixed in
  • f3e503a31d3cfdc8fae1baeb0ad5ba8471ceea9d
LinuxLinuxAffected
  • ≥ 52e26d77b8b3de2e9ed6c7126f68e04cad5fe852, < e7a5cea8804f1210fe45c3a0281b11943c58553f
Fixed in
  • e7a5cea8804f1210fe45c3a0281b11943c58553f
LinuxLinuxAffected
  • ≥ 52e26d77b8b3de2e9ed6c7126f68e04cad5fe852, < ad78e2cd8b4dde0b8c52bb5227e09faf3f49b939
Fixed in
  • ad78e2cd8b4dde0b8c52bb5227e09faf3f49b939
LinuxLinuxAffected
  • ≥ 52e26d77b8b3de2e9ed6c7126f68e04cad5fe852, < a91d9346a70b68f77884cba9d9ec3b70f96bf9d2
Fixed in
  • a91d9346a70b68f77884cba9d9ec3b70f96bf9d2
LinuxLinuxAffected
  • ≥ 52e26d77b8b3de2e9ed6c7126f68e04cad5fe852, < a5e1e36dace783c8d1688a299a3919f4d624217d
Fixed in
  • a5e1e36dace783c8d1688a299a3919f4d624217d
LinuxLinuxAffected
  • ≥ 52e26d77b8b3de2e9ed6c7126f68e04cad5fe852, < 523eb58df5c11531a99f2e75d08e10f20cc28565
Fixed in
  • 523eb58df5c11531a99f2e75d08e10f20cc28565

Description

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. under memory pressure, or for a malformed key whose CRT members decode to zero length and make caam_read_rsa_crt() return NULL. Set each pointer to NULL right after freeing it so that the subsequent caam_rsa_free_key() call becomes a no-op for the already-freed fields.

References

Community reviews

Loading reviews…