CVE-2025-38390

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

State
Published
Severity
Not scored
Published
Jul 25, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e0573444edbf4ee7e3c191d3d08a4ccbd26628be to before 076fa20b4f5737c34921dbb152f9efceaee571b2Affected
  • e0573444edbf4ee7e3c191d3d08a4ccbd26628be to before 938827c440564b2cf2f9b804d1fe81ce8267ededAffected
  • e0573444edbf4ee7e3c191d3d08a4ccbd26628be to before a833d31ad867103ba72a0b73f3606f4ab8601719Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.37 through 6.12.*Not affected
  • 6.15.6 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.