
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-27031 affects the Linux kernel's NFS (Network File System) implementation. The vulnerability was discovered in the nfs_netfs_issue_read() function, where interrupts are not properly disabled while iterating through pages in the xarray for NFS read operations. This vulnerability affects Linux kernel versions from 6.4 through 6.6.23, 6.7 through 6.7.11, and 6.8 through 6.8.2. The issue was disclosed on May 1, 2024, and received a CVSS v3.1 base score of 5.5 (Medium) (NVD).
The vulnerability exists in the nfs_netfs_issue_read() function where the loop does not properly disable interrupts while iterating through pages in the xarray to submit for NFS read. After taking xa_lock, another page in the mapping could be processed for writeback inside an interrupt, potentially leading to a deadlock condition. The issue stems from improper locking mechanisms (CWE-667: Improper Locking) and can be triggered during NFS read operations when using file system caching (Kernel Patch).
When exploited, this vulnerability can cause a deadlock in the system, potentially leading to a denial of service condition. The issue specifically affects NFS operations when file system caching is enabled, impacting system stability and availability (NVD).
The vulnerability can be triggered by mounting an NFS share with file system caching enabled and performing specific read operations. A proof-of-concept test case involves mounting an NFS share with version 3 and fsc options, writing data to a file, clearing the cache, and reading the file (Kernel Patch).
The issue has been fixed in the Linux kernel by modifying the nfs_netfs_issue_read() function to use xa_for_each_range(), which handles the iteration with RCU while reducing code complexity. Users should update to Linux kernel versions 6.6.23, 6.7.11, or 6.8.2 or later to address this vulnerability (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."