
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-1508 is an out-of-bounds read vulnerability discovered in the Linux kernel's io_uring module. The vulnerability was identified in the way a user triggers the io_read() function with specific parameters, allowing a local user to read memory out of bounds. The issue was disclosed on August 31, 2022 (NVD, Ubuntu).
The vulnerability occurs in the Linux kernel's io_uring module, specifically in the calling path: io_issue_sqe -> io_read -> iov_iter_revert. The issue arises when iov_iter_revert() is executed based on the initial size, and the iterator is truncated but not reexpanded in the middle, leading to miscalculation of borders. The problem was fixed by reexpanding iterators to their initial state before reverting, as iterators now store the number of truncated bytes (Kernel Commit). The vulnerability has a CVSS score of 6.1 (Medium) (Ubuntu).
This vulnerability allows a local user to perform out-of-bounds memory reads, which could potentially lead to information disclosure or system crashes. The flaw specifically affects the io_uring subsystem, which is a relatively new interface for asynchronous I/O (NVD).
The vulnerability requires local access to the system and can be triggered through specific parameters passed to the io_read() function. The issue was discovered and reported through multiple sources, including security researchers and automated testing systems (Kernel Commit).
The vulnerability has been fixed in the Linux kernel through a patch that properly handles iterator reexpansion before reverting. The fix ensures that iterators are reexpanded to their initial state, preventing the miscalculation of borders (Kernel Commit). Many Linux distributions have marked this as 'Not Affected' after applying the necessary patches (Ubuntu).
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."