CVE-2026-45900

In the Linux kernel, the following vulnerability has been resolved: crypto: caam - fix netdev memory leak in dpaa2_caam_probe When commit 0e1a4d427f58 ("crypto: caam: Unembed net_dev structure in dpaa2") converted embedded net_device to dynamically allocated pointers, it added cleanup in dpaa2_dpseci_disable() but missed adding cleanup in dpaa2_dpseci_free() for error paths. This causes memory leaks when dpaa2_dpseci_dpio_setup() fails during probe due to DPIO devices not being ready yet. The kernel's deferred probe mechanism handles the retry successfully, but the netdevs allocated during the failed probe attempt are never freed, resulting in kmemleak reports showing multiple leaked netdev-related allocations all traced back to dpaa2_caam_probe(). Fix this by preserving the CPU mask of allocated netdevs during setup and using it for cleanup in dpaa2_dpseci_free(). This approach ensures that only the CPUs that actually had netdevs allocated will be cleaned up, avoiding potential issues with CPU hotplug scenarios.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

24 Jun 2026, 16:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/7d43252b3060b0ba4a192dce5dba85a3f39ffe39 - () https://git.kernel.org/stable/c/7d43252b3060b0ba4a192dce5dba85a3f39ffe39 - Patch
References () https://git.kernel.org/stable/c/d5c6f254528caf78d5de7d9646dc21c81d351827 - () https://git.kernel.org/stable/c/d5c6f254528caf78d5de7d9646dc21c81d351827 - Patch
References () https://git.kernel.org/stable/c/d7decb572b55d2af33e59e9858fcee5d9ae69175 - () https://git.kernel.org/stable/c/d7decb572b55d2af33e59e9858fcee5d9ae69175 - Patch
References () https://git.kernel.org/stable/c/e144cce29851610ce9c6eda405ce21118779aa51 - () https://git.kernel.org/stable/c/e144cce29851610ce9c6eda405ce21118779aa51 - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CWE CWE-401
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

27 May 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-27 14:17

Updated : 2026-06-24 16:35


NVD link : CVE-2026-45900

Mitre link : CVE-2026-45900

CVE.ORG link : CVE-2026-45900


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime