9p: Fix v9fs_issue_write() to update i_size and remote_i_size
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
9p: Fix v9fs_issue_write() to update i_size and remote_i_size
Fix v9fs_issue_write() to update i_size and remote_i_size to the new size of the server file if we made it larger, using the start fpos and the count returned by p9_client_write() to calculate the new minimum file size.
This assumes that if the 9P server makes a short write (say it hits ENOSPC), a reduced count is returned.
From the CVE record · Linux
The Linux kernel’s 9p write path can fail to update local and remote file sizes when a write enlarges a server file. The input does not describe how an attacker could exploit this or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels that use 9p should check their versions against the vendor advisory; affected versions are not specified.