{"id":"CVE-2025-38390","summary":"firmware: arm_ffa: Fix memory leak by freeing notifier callback node","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Fix memory leak by freeing notifier callback node\n\nCommit e0573444edbf (\"firmware: arm_ffa: Add interfaces to request\nnotification callbacks\") adds support for notifier callbacks by allocating\nand inserting a callback node into a hashtable during registration of\nnotifiers. However, during unregistration, the code only removes the\nnode from the hashtable without freeing the associated memory, resulting\nin a memory leak.\n\nResolve the memory leak issue by ensuring the allocated notifier callback\nnode is properly freed after it is removed from the hashtable entry.","modified":"2026-03-20T12:42:50.387431Z","published":"2025-07-25T12:53:30.311Z","related":["SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38390.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/076fa20b4f5737c34921dbb152f9efceaee571b2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/938827c440564b2cf2f9b804d1fe81ce8267eded"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a833d31ad867103ba72a0b73f3606f4ab8601719"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38390.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38390"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e0573444edbf4ee7e3c191d3d08a4ccbd26628be"},{"fixed":"076fa20b4f5737c34921dbb152f9efceaee571b2"},{"fixed":"938827c440564b2cf2f9b804d1fe81ce8267eded"},{"fixed":"a833d31ad867103ba72a0b73f3606f4ab8601719"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38390.json"}}],"schema_version":"1.7.5"}