firmware: arm_ffa: Fix memory leak by freeing notifier callback node (Linux Linux)

CVE-2025-38390
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e0573444edbf4ee7e3c191d3d08a4ccbd26628be < 076fa20b4f5737c34921dbb152f9efceaee571b2 ; affected e0573444edbf4ee7e3c191d3d08a4ccbd26628be < 938827c440564b2cf2f9b804d1fe81ce8267eded ; affected e0573444edbf4ee7e3c191d3d08a4ccbd26628be < a833d31ad867103ba72a0b73f3606f4ab8601719
Linux · Linuxaffected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.12.37 ≤ 6.12.* ; unaffected 6.15.6 ≤ 6.15.* ; unaffected 6.16 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD