Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 880e1b5883a5d78d916fa446791c48f28a16719baffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5463d96cd2e46064ceefcf861b028745a4f4c373affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 40c16040783abcc240bd1b453e679ea6ca30e19eaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e1f692b6da3e632a25d0b3a99f833bb609bae1a3affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 12bafe32f09c0d24f5096154b59c347b9c6606e0affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c510edb9734af1c274d18f4f31a471a166bbc7e8affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/880e1b5883a5d78d916fa446791c48f28a16719b ↗
- https://git.kernel.org/stable/c/5463d96cd2e46064ceefcf861b028745a4f4c373 ↗
- https://git.kernel.org/stable/c/40c16040783abcc240bd1b453e679ea6ca30e19e ↗
- https://git.kernel.org/stable/c/e1f692b6da3e632a25d0b3a99f833bb609bae1a3 ↗
- https://git.kernel.org/stable/c/12bafe32f09c0d24f5096154b59c347b9c6606e0 ↗
- https://git.kernel.org/stable/c/c510edb9734af1c274d18f4f31a471a166bbc7e8 ↗