
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52582 is a vulnerability in the Linux kernel's netfs component, discovered and disclosed on March 2, 2024. The issue affects Linux kernel versions from 5.13 through 6.1.56, 6.2 through 6.5.6, and specific release candidates 6.6-rc1 and 6.6-rc2. The vulnerability occurs when a network filesystem using netfs implements a clamp_length() function that can set subrequest lengths smaller than a page size (NVD).
The vulnerability stems from an improper loop implementation in the netfs_rreq_unlock_folios() function. When processing folios to be written back, the function incorrectly calls folio_start_fscache() multiple times for each folio instead of ensuring a single call. This issue has a CVSS v3.1 Base Score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
When exploited, the vulnerability triggers a kernel oops due to a VM_BUG_ON_FOLIO check failure, potentially leading to system availability issues. This occurs specifically when using network filesystems with specific mount options and file operations (Kernel Patch).
The vulnerability can be triggered through a simple test case involving mounting a network filesystem with specific options (fsc,rsize=1024,wsize=1024) and performing basic file operations. The exploit requires local access and low privileges to execute (NVD).
The vulnerability has been patched in the Linux kernel. The fix involves modifying the netfs_rreq_unlock_folios() function to ensure folio_start_fscache() is called only once for each folio by introducing a boolean flag to track the state (Kernel Patch).
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."