# CVE-2025-38390: firmware: arm_ffa: Fix memory leak by freeing notifier callback node

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-25T12:53:30.311Z
- Modified: 2026-06-17T09:16:45.733Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e0573444edbf4ee7e3c191d3d08a4ccbd26628be before 076fa20b4f5737c34921dbb152f9efceaee571b2; from e0573444edbf4ee7e3c191d3d08a4ccbd26628be before 938827c440564b2cf2f9b804d1fe81ce8267eded; from e0573444edbf4ee7e3c191d3d08a4ccbd26628be before a833d31ad867103ba72a0b73f3606f4ab8601719; 6.7 (not affected: before 6.7; from 6.12.37 up to 6.12.*; from 6.15.6 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.7 before 6.12.37; from 6.13 before 6.15.6; 6.16

## References

- <https://git.kernel.org/stable/c/076fa20b4f5737c34921dbb152f9efceaee571b2> (patch)
- <https://git.kernel.org/stable/c/938827c440564b2cf2f9b804d1fe81ce8267eded> (patch)
- <https://git.kernel.org/stable/c/a833d31ad867103ba72a0b73f3606f4ab8601719> (patch)

## Sources

- CVE List: [CVE-2025-38390](https://www.cve.org/CVERecord?id=CVE-2025-38390), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38390](https://nvd.nist.gov/vuln/detail/CVE-2025-38390), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38390 · Whole record: https://cve.day/CVE-2025-38390.json · Rebuilt by cve.day 2026-11-25T22:59:01.685Z
