CVE-2025-38390
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | e0573444edbf4ee7e3c191d3d08a4ccbd26628be < 076fa20b4f5737c34921dbb152f9efceaee571b2 | affected |
| Linux | Linux | e0573444edbf4ee7e3c191d3d08a4ccbd26628be < 938827c440564b2cf2f9b804d1fe81ce8267eded | affected |
| Linux | Linux | e0573444edbf4ee7e3c191d3d08a4ccbd26628be < a833d31ad867103ba72a0b73f3606f4ab8601719 | affected |
| Linux | Linux | 6.7 | affected |
| Linux | Linux | 0 < 6.7 | unaffected |
| Linux | Linux | 6.12.37 <= 6.12.* | unaffected |
| Linux | Linux | 6.15.6 <= 6.15.* | unaffected |
| Linux | Linux | 6.16 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/076fa20b4f5737c34921dbb152f9efceaee571b2
- https://git.kernel.org/stable/c/938827c440564b2cf2f9b804d1fe81ce8267eded
- https://git.kernel.org/stable/c/a833d31ad867103ba72a0b73f3606f4ab8601719
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.