diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2026-05-27 21:15:04 +0200 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2026-05-29 11:11:40 +0200 |
| commit | 4982e58669b11c43644efb5fb7435975848b716e (patch) | |
| tree | 7c3e48a85cd3e6ba18dfd541d60b0e89ee55a337 /mm/tests/git@git.tavy.me:linux.git | |
| parent | 70008e22ab3fd619fb2a50dcfa80b9dfa26c5d8a (diff) | |
gfs2: page poisoning fix
Processes can write to the last page of a file using mmap, and when the file
size is not a multiple of the page size, this can be used to write beyond the
end of the file. This is sometimes referred to as page poisoning, and it is
not a problem in itself because the data beyond eof will be ignored. However,
we currently fail to clear out any space beyond the end of the file that we
skip over when the file size is increased, so that "poison" can end up getting
exposed. Fix that.
Fixes xfstest generic/363.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'mm/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
