netfs: clear PG_private_2 on copy-to-cache append failure
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 |
|
|
6.18.447.1.87.2In the Linux kernel, the following vulnerability has been resolved:
netfs: clear PG_private_2 on copy-to-cache append failure
netfs_pgpriv2_copy_to_cache() marks the folio with PG_private_2 before netfs_pgpriv2_copy_folio() appends it to the copy-to-cache rolling buffer.
If the append fails, the folio is not queued for cache writeback, so the PG_private_2 state and its reference must be released immediately.
From the CVE record · Linux
In the Linux kernel's netfs code, a failed copy-to-cache append can leave a folio marked PG_private_2 with a reference that should have been released. The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Teams running Linux kernels with the affected netfs code should check their versions; no affected versions are specified.