summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-05-12 09:06:06 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-22 14:31:55 +0200
commit65fa4eea83bc22ae5253a3aede0d63e0fdf194d8 (patch)
tree66c612e0bc4444ab6398b9f0d3ac71138b51efaa /tools/perf/scripts/python/stackcollapse.py
parent20debee3bedcdad9b52000ed93eb6c8dd95e9ecc (diff)
io_uring/memmap: don't use page_address() on a highmem page
commit f446c6311e86618a1f81eb576b56a6266307238f upstream. For older/32-bit systems with highmem, don't assume that the pages in a mapped region are always going to be mapped. If io_region_init_ptr() finds that the pages are coalescable, also check if the first page is a HighMem page or not. If it is, fall through to the usual vmap() mapping rather than attempt to get the unmapped page address. Cc: stable@vger.kernel.org Fixes: c4d0ac1c1567 ("io_uring/memmap: optimise single folio regions") Link: https://lore.kernel.org/all/681fe2fb.050a0220.f2294.001a.GAE@google.com/ Reported-by: syzbot+5b8c4abafcb1d791ccfc@syzkaller.appspotmail.com Link: https://lore.kernel.org/all/681fed0a.050a0220.f2294.001c.GAE@google.com/ Reported-by: syzbot+6456a99dfdc2e78c4feb@syzkaller.appspotmail.com Tested-by: syzbot+6456a99dfdc2e78c4feb@syzkaller.appspotmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions