cifs: call pagecache_isize_extended() in cifs_setsize() when extending
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e1f692b6da3e632a25d0b3a99f833bb609bae1a3, Kernel 12bafe32f09c0d24f5096154b59c347b9c6606e0, Kernel 40c16040783abcc240bd1b453e679ea6ca30e19e and 8 more.
In the Linux kernel, the following vulnerability has been resolved: cifs: call pagecache_isize_extended() in cifs_setsize() when extending cifs_setsize() calls truncate_pagecache() but skips pagecache_isize_extended() on extension. truncate_setsize() shows the correct pattern: i_size_write(inode, newsize); if (newsize > oldsize) pagecache_isize_extended(inode, oldsize, newsize); truncate_pagecache(inode, newsize); pagecache_isize_extended() zeroes the tail of the page straddling old EOF. Without it, dirty bytes in that region can be written back to the server, exposing stale data in the newly extended range.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e1f692b6da3e632a25d0b3a99f833bb609bae1a3, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <12bafe32f09c0d24f5096154b59c347b9c6606e0, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <40c16040783abcc240bd1b453e679ea6ca30e19e, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5463d96cd2e46064ceefcf861b028745a4f4c373, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <880e1b5883a5d78d916fa446791c48f28a16719b, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c510edb9734af1c274d18f4f31a471a166bbc7e8, =2.6.12 | e1f692b6da3e632a25d0b3a99f833bb609bae1a3, 12bafe32f09c0d24f5096154b59c347b9c6606e0, 40c16040783abcc240bd1b453e679ea6ca30e19e, 5463d96cd2e46064ceefcf861b028745a4f4c373, 880e1b5883a5d78d916fa446791c48f28a16719b, c510edb9734af1c274d18f4f31a471a166bbc7e8 |
| linux-kernel: Kernel | >=6.13.0 <6.18.57, >=6.19.0 <7.2.4, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=2.6.12 <6.1.191 | 6.18.57, 7.2.4, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket