diff options
| author | Linus Torvalds <[email protected]> | 2025-09-28 16:32:00 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2025-09-28 16:32:00 +0000 |
| commit | 09d95bc8023569a56078950f2fc6f1a12a94ee08 (patch) | |
| tree | bbec7ede2f650b541211d8556ae1b0c1b3406fcd /fs/proc/task_mmu.c | |
| parent | Merge tag 'trace-tools-v6.17-rc5' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| parent | include/linux/pgtable.h: convert arch_enter_lazy_mmu_mode() and friends to st... (diff) | |
| download | kernel-09d95bc8023569a56078950f2fc6f1a12a94ee08.tar.gz kernel-09d95bc8023569a56078950f2fc6f1a12a94ee08.zip | |
Merge tag 'mm-hotfixes-stable-2025-09-27-22-35' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull misc fixes from Andrew Morton:
"7 hotfixes. 4 are cc:stable and the remainder address post-6.16 issues
or aren't considered necessary for -stable kernels. 6 of these fixes
are for MM.
All singletons, please see the changelogs for details"
* tag 'mm-hotfixes-stable-2025-09-27-22-35' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
include/linux/pgtable.h: convert arch_enter_lazy_mmu_mode() and friends to static inlines
mm/damon/sysfs: do not ignore callback's return value in damon_sysfs_damon_call()
mailmap: add entry for Bence Csókás
fs/proc/task_mmu: check p->vec_buf for NULL
kmsan: fix out-of-bounds access to shadow memory
mm/hugetlb: fix copy_hugetlb_page_range() to use ->pt_share_count
mm/hugetlb: fix folio is still mapped when deleted
Diffstat (limited to 'fs/proc/task_mmu.c')
| -rw-r--r-- | fs/proc/task_mmu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 29cca0e6d0ff..b26ae556b446 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -2417,6 +2417,9 @@ static void pagemap_scan_backout_range(struct pagemap_scan_private *p, { struct page_region *cur_buf = &p->vec_buf[p->vec_buf_index]; + if (!p->vec_buf) + return; + if (cur_buf->start != addr) cur_buf->end = addr; else |
