smb: client: discard post-EOF pagecache when extending a file via zero range
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 03408d15c5405f8dc3e1a114cdce2174027a85f6, Kernel 1ecf89d8efca618e0c758c06b9a1fdde8bd941da, Kernel 3df27277f8f95345d4a6c57367824bf1aefdbf66 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.1, >=72c419d9b073628d3b5b0b2fc787b724f1a8c726 <03408d15c5405f8dc3e1a114cdce2174027a85f6, >=72c419d9b073628d3b5b0b2fc787b724f1a8c726 <1ecf89d8efca618e0c758c06b9a1fdde8bd941da, >=72c419d9b073628d3b5b0b2fc787b724f1a8c726 <3df27277f8f95345d4a6c57367824bf1aefdbf66, >=72c419d9b073628d3b5b0b2fc787b724f1a8c726 <6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d, >=72c419d9b073628d3b5b0b2fc787b724f1a8c726 <94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183, >=72c419d9b073628d3b5b0b2fc787b724f1a8c726 <b75dadb50a25eed525264bf6fea44fad94e7626f, >=72c419d9b073628d3b5b0b2fc787b724f1a8c726 <da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0 | 03408d15c5405f8dc3e1a114cdce2174027a85f6, 1ecf89d8efca618e0c758c06b9a1fdde8bd941da, 3df27277f8f95345d4a6c57367824bf1aefdbf66, 6a8279c98ad289b27c0bdb11adb3f0c0b7fd456d, 94949b6b2f2bf0dba2e8786aed0b08cc6bc3a183, b75dadb50a25eed525264bf6fea44fad94e7626f, da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket