diff options
| author | Hui Peng <benquike@gmail.com> | 2026-09-19 22:17:33 +0000 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-10-16 12:17:08 +0200 |
| commit | 15c20483d91589f868fe7a72aec4b97dc68b931b (patch) | |
| tree | 8ee6fe2d86ad3ac4a927d46c339c7a4b7f52bca2 /tools/lib/python/kdoc/python_version.py | |
| parent | bcd3a16ae7ab00199ce7376b60735f476fb63f11 (diff) | |
fuse: validate folio state before pipe_buf_try_steal() in fuse_try_move_folio()
In fuse_try_move_folio(), check that the pipe buffer's folio is not
hugetlb, swap-backed, or already mapped/anon before attempting
pipe_buf_try_steal() and inserting it into the FUSE inode's page cache,
preventing VM_BUG_ON_FOLIO() and page cache state corruption.
Fixes: 394244b24fdd ("fuse: support copying large folios")
Assisted-by: LLM
Signed-off-by: Hui Peng <benquike@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
