Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: smb: client: discard post-EOF pagecache when extending a file via zero range smb3_zero_range() removed the pagecache only for the range being zeroed, so when it extends the file the folio straddling the old EOF - which may hold data dirtied past EOF through an mmap - was never dropped and became visible as file content once the file was extended. Lower the discard boundary to the smaller of the zero-range offset and the old EOF.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 3df27277f8f95345d4a6c57367824bf1aefdbf66; affected 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183; affected 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before b75dadb50a25eed525264bf6fea44fad94e7626f; affected 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before 6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d; affected 72c419d9b073628d3b5b0b2fc787b724f1a8c726 before da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0 |
| Linux / Linux | affected 5.1; unaffected 0 before 5.1; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.56 through 6.18.*; unaffected 7.2.10 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3df27277f8f95345d4a6c57367824bf1aefdbf66
- https://git.kernel.org/stable/c/94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183
- https://git.kernel.org/stable/c/b75dadb50a25eed525264bf6fea44fad94e7626f
- https://git.kernel.org/stable/c/6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d
- https://git.kernel.org/stable/c/da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0