Skip to main content
Network Thinking Solutions Logo

CVE-2025-38549

Linux kernel: efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths

All CVEs
CVE-2025-38549Published 8/16/2025

Linux kernel: efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths When processing mount options, efivarfs allocates efivarfs_fs_info (sfi) early in fs_context initialization. However, sfi is associated with the superblock and typically freed when the superblock is destroyed. If the fs_context is released (final put) before fill_super is called—such as on error paths or during reconfiguration—the sfi structure would leak, as ownership never transfers to the superblock. Implement the .free callback in efivarfs_context_ops to ensure any allocated sfi is properly freed if the fs_context is torn down before fill_super, preventing this memory leak.

Published
8/16/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.7, < 6.12.40

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.8

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 5329aa5101f73c451bcd48deaf3f296685849d9c, < 816d36973467d1c9c08a48bdffe4675e219a2e84

Verify advisory

Source
Linux
Linux
≥ 5329aa5101f73c451bcd48deaf3f296685849d9c, < e9fabe7036bb8be6071f39dc38605508f5f57b20

Verify advisory

Source
Linux
Linux
≥ 5329aa5101f73c451bcd48deaf3f296685849d9c, < 64e135f1eaba0bbb0cdee859af3328c68d5b9789

Verify advisory

Source
Linux
Linux
6.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.