netfs: Fix netfs_create_write_req() to handle async cache object creation
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_create_write_req() to handle async cache object creation
netfs_create_write_req() will skip caching if the fscache cookie is disabled, but this is a problem because async cache object creation might not have got far enough yet that has been enabled - thereby causing the call to fscache_begin_write_operation() to be skipped.
Fix this by removing the checks on the cookie and delegating this to fscache_begin_write_operation().
From the CVE record · Linux
The Linux kernel’s netfs_create_write_req() can skip caching when an fscache cookie is still disabled during asynchronous cache object creation. The input does not establish what an attacker could do or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with netfs should check their versions against the vendor advisory; affected versions are not specified.