In the Linux kernel, the following vulnerability has been resolved:
efivarfs: Fix memory leak of efivarfsfsinfo in fs_context error paths
When processing mount options, efivarfs allocates efivarfsfsinfo (sfi) early in fscontext initialization. However, sfi is associated with the superblock and typically freed when the superblock is destroyed. If the fscontext 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 efivarfscontextops to ensure any allocated sfi is properly freed if the fscontext is torn down before fillsuper, preventing this memory leak.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2025/38xxx/CVE-2025-38549.json",
"cna_assigner": "Linux"
}