netfs: Fix overrun check in netfs_extract_user_iter()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix overrun check in netfs_extract_user_iter()
Fix netfs_extract_user_iter() so that if iov_iter_extract_pages() overfills pages[], then those pages don't get included in the iterator constructed at the end of the function. If there was an overfill, memory corruption has already happened.
From the CVE record · Linux
A flaw in the Linux kernel’s netfs_extract_user_iter() can allow iov_iter_extract_pages() to overfill the pages array, causing memory corruption. The input does not establish how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Anyone running the Linux kernel should check whether their version is affected; affected versions are not specified.