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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38390.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38390.json"
[
{
"signature_version": "v1",
"target": {
"file": "drivers/firmware/arm_ffa/driver.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@076fa20b4f5737c34921dbb152f9efceaee571b2",
"deprecated": false,
"digest": {
"line_hashes": [
"326567555706953984676691956449392793373",
"127478976822890425869879746309906732411",
"195450458434168174426513819238881437877",
"228235234280515508436794143788611429281"
],
"threshold": 0.9
},
"id": "CVE-2025-38390-10230c07",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/firmware/arm_ffa/driver.c",
"function": "update_notifier_cb"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@076fa20b4f5737c34921dbb152f9efceaee571b2",
"deprecated": false,
"digest": {
"function_hash": "224016096955207051309542643980611023511",
"length": 510.0
},
"id": "CVE-2025-38390-adb0cf54",
"signature_type": "Function"
}
]