Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access to CAAM-equipped host
-
DeliverySubmit malformed RSA CRT key or induce alloc failure
-
ExploitTrigger double-free in caam_rsa_set_priv_key_form
-
ExecutionCorrupt kernel heap allocator metadata
-
ImpactEscalate privileges or crash kernel
Vulnerability Assessment
| Exploitation Conditions | Requires: (1) local access with the ability to drive the kernel RSA crypto path on the CAAM backend (e.g. via keyctl/AF_ALG or an in-kernel RSA consumer), and (2) the target must have NXP/Freescale CAAM cryptographic acceleration hardware present with the caam RSA driver bound. The double-free is reached specifically when allocation of q, tmp1, tmp2, dp, dq or qinv fails (memory pressure) OR when a malformed key's CRT members decode to zero length, causing caam_read_rsa_crt() to return NULL and the function to take its error path. Limiting factors: no remote vector (AV:L), low-privilege local access needed (PR:L), and - most significantly - the hardware dependency, which excludes the vast majority of x86/standard server deployments that lack the CAAM engine. |
| Impact | This is a locally-exploitable memory-corruption flaw (double-free) in the Linux kernel CAAM crypto driver, carrying CVSS 7.8 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - i.e. local, low-complexity, low-privilege, no user interaction, with high CIA impact consistent with kernel heap corruption. The real-world urgency signals are modest: EPSS is low at 0.19% (9th percentile), the CVE is not in CISA KEV, and no public exploit or PoC reference is provided, so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week' (patch available), which outranks the low EPSS for prioritization but is below act_now/emergency. The dominant limiting factor is reach: exploitation requires local access AND the presence of NXP/Freescale CAAM cryptographic acceleration hardware with the caam RSA driver loaded - this is not a ubiquitous attack surface. Net assessment: a legitimate but not emergency priority; schedule the patch within normal cycles for the small subset of systems running on NXP CAAM-equipped SoCs. Note a tag discrepancy: the input tags this as 'Information Disclosure,' but the mechanism is a double-free (memory-corruption class), not primarily disclosure - the tag appears mislabeled. |
| Exploit ScenarioDerived | A local, low-privileged user on a system with NXP/Freescale CAAM crypto hardware submits a malformed RSA private key (whose CRT components decode to zero length) or triggers the setup path under memory pressure, causing caam_rsa_set_priv_key_form() to free key components without nulling the pointers; the subsequent caam_rsa_free_key() frees them a second time. The resulting kernel heap double-free can corrupt allocator metadata and, with favorable heap state, be steered toward privilege escalation. No public exploit or PoC is identified for this specific issue. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
A double-free in the Linux kernel's CAAM crypto driver can be triggered by a local user who drives the RSA private-key import path on systems with NXP/Freescale CAAM hardware and the caam RSA backend bound. When caam_rsa_set_priv_key_form() fails partway through parsing or allocating CRT components (p, q, dp, dq, qinv), it frees them with kfree_sensitive() but leaves the pointers dangling, so the caller's error path frees the same memory a second time. The flaw is local only (AV:L/PR:L, authenticated local access) and carries CVSS 7.8 with high confidentiality, integrity and availability impact; EPSS is low at 0.19% (9th percentile) and no public exploit has been identified at time of analysis, though the vendor fix is available and the issue is prioritized for remediation this week.
RemediationAI
Vendor-released patch: update to mainline 7.4-rc1 or to the stable release for your branch - 7.3.4, 6.18.63, 6.12.117, 6.6.163, 6.1.193, 5.15.226 or 5.10.275 - each carrying the corresponding upstream commit listed in the references (see https://git.kernel.org/stable/c/068e85ed81838a9d98c3018d532402dbd360fd1f and the sibling stable links). The fix NULLs each freed pointer immediately after kfree_sensitive() so the subsequent caam_rsa_free_key() call becomes a no-op for already-released fields. Exposure is confined to systems with NXP/Freescale CAAM hardware present and the caam RSA driver bound; deployments without the CAAM engine are not affected, so inventorying for that hardware dependency is the practical way to scope emergency patching. Beyond installing the fixed kernel, the supplied sources do not describe any separate workaround or configuration mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CAAM (Cryptographic Acceleration and Assurance Module) is the NXP/Freescale on-SoC crypto engine; the kernel driver lives under the fsl CAAM crypto backend and exposes RSA key operations through the kernel crypto API (e.g. via AF_ALG/keyctl or in-kernel RSA consumers). caam_rsa_set_priv_key_form() reads the CRT parameters of an RSA private key using caam_read_rsa_crt() and allocates q, tmp1, tmp2, dp, dq and qinv. Its error path releases the partially allocated components with kfree_sensitive() but does not NULL the pointers, so when the error propagates back to caam_rsa_set_priv_key() and that function jumps to its err label, caam_rsa_free_key() walks the same fields and frees them a second time. The root cause is the double-free class (CWE-415): the trigger is not a race or heap-grooming primitive; the sources state it is reached either when one of those allocations fails (for example under memory pressure) or when a malformed key whose CRT members decode to zero length makes caam_read_rsa_crt() return NULL. Exploitation requires local access with the ability to invoke the kernel RSA crypto path on the CAAM backend plus the presence of CAAM hardware with the caam RSA driver bound, which excludes the vast majority of x86 and standard server deployments that have no CAAM engine.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local unprivileged user can trigger the double-free via a malformed key or alloc failure (AV:L/AC:L/PR:L); kernel heap corruption plausibly yields full CIA impact within the unchanged scope.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
A high-severity double-free flaw (CVE-2026-138921) in the Linux kernel's CAAM crypto driver affects systems running NXP/Freescale CAAM hardware with the RSA backend bound. A local authenticated user can trigger the flaw, potentially causing memory corruption with impacts to confidentiality, integrity, and availability on hosts with that hardware. Because exploitation requires local access and specific hardware, broad exposure is limited, but affected platform owners should treat remediation as a priority given the severity and availability of a vendor fix.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-138624
GHSA-gv56-89v2-f734
NVD
CVE.org
EPSS
Exploit-DB