CVE-2025-38390

firmware: arm_ffa: Fix memory leak by freeing notifier callback node

MEDIUM
5.5
CVSS Score
Published: July 25, 2025 at 12:53 PM UTC
Updated: June 17, 2026 at 09:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.15.66.7 ≤ v < 6.12.376.7 ≤ v < 6.15.66.7 ≤ v < 6.166.16 rc16.16 rc26.16 rc36.16 rc46.7e0573444edbf4ee7e3c191d3d08a4ccbd26628be
Vendor states this is fixed in 076fa20b4f5737c34921dbb152f9efceaee571b2 (fixed)
Vendor states this is fixed in 938827c440564b2cf2f9b804d1fe81ce8267eded (fixed)
Vendor states this is fixed in a833d31ad867103ba72a0b73f3606f4ab8601719 (fixed)
Vendor states this is fixed in 6.12.37 (unaffected)
Vendor states this is fixed in 6.15.6 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/076fa20b4f5737c34921dbb152f9efceaee571b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/938827c440564b2cf2f9b804d1fe81ce8267eded
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a833d31ad867103ba72a0b73f3606f4ab8601719

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card