mmap: syz.0.23 (4205) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.rst. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4205 at include/linux/fs.h:532 i_mmap_assert_write_locked include/linux/fs.h:532 [inline] WARNING: CPU: 0 PID: 4205 at include/linux/fs.h:532 hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 Modules linked in: CPU: 0 PID: 4205 Comm: syz.0.23 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : i_mmap_assert_write_locked include/linux/fs.h:532 [inline] pc : hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 lr : i_mmap_assert_write_locked include/linux/fs.h:532 [inline] lr : hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 sp : ffff80001fd778c0 x29: ffff80001fd778c0 x28: ffff0000ce828298 x27: 0000000000000000 x26: dfff800000000000 x25: ffff800014170000 x24: 1ffff0000282e06a x23: dfff800000000000 x22: 0000000000000001 x21: 0000000000000000 x20: 0000000020400000 x19: ffff0000ce828210 x18: 0000000000000000 x17: ffff800008762b8c x16: ffff8000082bf708 x15: ffff8000113a8c40 x14: 0000000000000000 x13: ffff0000ce828288 x12: 0000000000080000 x11: 0000000000001150 x10: ffff80002195a000 x9 : ffff8000087f5bdc x8 : 0000000000001151 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff0000ce828108 x3 : ffff8000087f5a5c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: i_mmap_assert_write_locked include/linux/fs.h:532 [inline] hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 __vma_adjust+0x290/0x1890 mm/mmap.c:842 vma_adjust include/linux/mm.h:2556 [inline] __split_vma+0x310/0x3f0 mm/mmap.c:-1 __do_munmap+0x2fc/0xc04 mm/mmap.c:2852 do_munmap mm/mmap.c:2906 [inline] munmap_vma_range mm/mmap.c:602 [inline] __mmap_region mm/mmap.c:1753 [inline] mmap_region+0x7b0/0x1390 mm/mmap.c:2929 do_mmap+0x67c/0xdb4 mm/mmap.c:1582 __do_sys_remap_file_pages mm/mmap.c:3046 [inline] __se_sys_remap_file_pages mm/mmap.c:2981 [inline] __arm64_sys_remap_file_pages+0x404/0x584 mm/mmap.c:2981 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 182 hardirqs last enabled at (181): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (181): [] _raw_spin_unlock_irqrestore+0xa8/0x14c kernel/locking/spinlock.c:194 hardirqs last disabled at (182): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (156): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (154): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 52979bbab60fc029 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4205 at include/linux/fs.h:532 i_mmap_assert_write_locked include/linux/fs.h:532 [inline] WARNING: CPU: 0 PID: 4205 at include/linux/fs.h:532 hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 Modules linked in: CPU: 0 PID: 4205 Comm: syz.0.23 Tainted: G W 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : i_mmap_assert_write_locked include/linux/fs.h:532 [inline] pc : hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 lr : i_mmap_assert_write_locked include/linux/fs.h:532 [inline] lr : hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 sp : ffff80001fd778c0 x29: ffff80001fd778c0 x28: ffff0000ce828298 x27: 0000000000000000 x26: dfff800000000000 x25: ffff800014170000 x24: 1ffff0000282e06a x23: dfff800000000000 x22: 0000000000000001 x21: 0000000000000000 x20: 0000000020800000 x19: ffff0000ce828210 x18: 0000000000000000 x17: ffff800008762b8c x16: ffff8000082bf708 x15: ffff8000113a8c40 x14: 0000000000000000 x13: ffff0000ce828288 x12: 0000000000080000 x11: 00000000000142d8 x10: ffff80002195a000 x9 : ffff8000087f5bdc x8 : 00000000000142d9 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff0000ce828108 x3 : ffff8000087f5a5c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: i_mmap_assert_write_locked include/linux/fs.h:532 [inline] hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 __vma_adjust+0x29c/0x1890 mm/mmap.c:843 vma_adjust include/linux/mm.h:2556 [inline] __split_vma+0x310/0x3f0 mm/mmap.c:-1 __do_munmap+0x2fc/0xc04 mm/mmap.c:2852 do_munmap mm/mmap.c:2906 [inline] munmap_vma_range mm/mmap.c:602 [inline] __mmap_region mm/mmap.c:1753 [inline] mmap_region+0x7b0/0x1390 mm/mmap.c:2929 do_mmap+0x67c/0xdb4 mm/mmap.c:1582 __do_sys_remap_file_pages mm/mmap.c:3046 [inline] __se_sys_remap_file_pages mm/mmap.c:2981 [inline] __arm64_sys_remap_file_pages+0x404/0x584 mm/mmap.c:2981 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 420 hardirqs last enabled at (419): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline] hardirqs last enabled at (419): [] exit_to_kernel_mode+0xe0/0x168 arch/arm64/kernel/entry-common.c:91 hardirqs last disabled at (420): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (414): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (414): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604 softirqs last disabled at (185): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (185): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (185): [] invoke_softirq kernel/softirq.c:457 [inline] softirqs last disabled at (185): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:659 ---[ end trace 52979bbab60fc02a ]---