
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52681 is a vulnerability discovered in the Linux kernel's efivarfs filesystem, where s_fs_info is not properly freed upon unmounting. The issue was first disclosed on May 17, 2024, and affects the efivarfs filesystem component. This vulnerability stems from a memory management oversight where the s_fs_info struct, which is allocated during filesystem context creation, is not properly deallocated when the superblock is destroyed (NVD, RedHat).
The vulnerability is related to a use-after-free condition in the efivarfs filesystem component of the Linux kernel. The issue occurs specifically when the s_fs_info struct, which is allocated during filesystem context creation, is not properly freed when the superblock is destroyed during unmounting. This was fixed by adding proper deallocation code using kfree(sfi) in the efivarfs_kill_sb function (Kernel Commit).
According to Red Hat's assessment, this vulnerability could potentially be exploited by an attacker to execute arbitrary code or cause a system crash through a use-after-free condition. The vulnerability has been assigned a CVSS v3 base score of 5.5 (Moderate) by Red Hat, indicating a moderate severity level (RedHat).
The vulnerability requires local access with low privileges to exploit. The attack complexity is considered low, and no user interaction is required. However, the scope remains unchanged, meaning the impact is limited to the vulnerable component's security scope (RedHat).
The vulnerability has been patched in the Linux kernel through a fix that properly frees the s_fs_info struct during unmount operations. The fix was implemented by adding the appropriate memory deallocation code in the efivarfs_kill_sb function. Users are advised to update their Linux kernel to a version that includes this fix (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."