netfs: Fix netfs_read_folio() to wait on writeback
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:
netfs: Fix netfs_read_folio() to wait on writeback
Fix netfs_read_folio() to wait for an ongoing writeback to complete so that it can trust the dirty flag and whatever is attached to folio->private (folio->private may get cleaned up by the collector before it clears the writeback flag).
From the CVE record · Linux
The Linux kernel’s netfs_read_folio() did not wait for ongoing writeback before checking a folio’s dirty flag and private data. This can cause it to rely on state that writeback has changed. The input does not specify an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with netfs should check their deployments; affected versions are not specified.