CVE-2025-38390

Source
https://cve.org/CVERecord?id=CVE-2025-38390
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38390.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38390
Downstream
Related
Published
2025-07-25T12:53:30.311Z
Modified
2026-03-12T02:19:27.091663Z
Summary
firmware: arm_ffa: Fix memory leak by freeing notifier callback node
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38390.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"