CVE Feed
0.0 Unscored

In the Linux kernel, the following vulnerability has been resolved: crypto: caam - fix double-free in caamrsasetprivkeyform()…

CVE-2026-138921

In the Linux kernel, the following vulnerability has been resolved: crypto: caam - fix double-free in caamrsasetprivkeyform() caamrsasetprivkeyform() frees the partially allocated key components (p, q, tmp1, tmp2, dp, dq) with kfreesensitive() on its error path, but does not set those pointers to NULL afterward. When the function returns an error, caamrsasetprivkey() jumps to its err label and calls caamrsafreekey(), 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 caamreadrsacrt() return NULL. Set each pointer to NULL right after freeing it so that the subsequent caamrsafreekey() call becomes a no-op for the already-freed fields.

Assessment

CVSS
0
Severity
Unscored
EPSS
0% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
30 November 2026
Last updated
30 November 2026
Affected
Linux · Linux
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-138921