What’s Vulnerable › Vulnerabilities
CVE-2025-38390: firmware: arm_ffa: Fix memory leak by freeing notifier callback node
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-25 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_ffa: Fix memory leak by freeing notifier callback node Commit e0573444edbf ("firmware: arm_ffa: Add interfaces to request notification callbacks") adds support for notifier callbacks by allocating and inserting a callback node into a hashtable during registration of notifiers. However, during unregistration, the code only removes the node from the hashtable without freeing the associated memory, resulting in a memory leak. Resolve the memory leak issue by ensuring the allocated notifier callback node is properly freed after it is removed from the hashtable entry.
Affected products
- Linux kernel: from 6.7 before 6.12.37; from 6.13 before 6.15.6; 6.16-rc1, 6.16-rc2, 6.16-rc3, 6.16-rc4 — fixed in 6.12.37, 6.15.6
How to fix
Upgrade to a fixed version: Linux kernel 6.12.37, 6.15.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/076fa20b4f5737c34921dbb152f9efceaee571b2
- https://git.kernel.org/stable/c/938827c440564b2cf2f9b804d1fe81ce8267eded
- https://git.kernel.org/stable/c/a833d31ad867103ba72a0b73f3606f4ab8601719
Get alerted when CVE-2025-38390 or the next vulnerability affects your stack