CVE-2025-38549

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/08/2025
Last modified:
18/11/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.40 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.15.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*