------------[ cut here ]------------ WARNING: CPU: 1 PID: 4887 at include/linux/fs.h:532 i_mmap_assert_write_locked include/linux/fs.h:532 [inline] WARNING: CPU: 1 PID: 4887 at include/linux/fs.h:532 hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 Modules linked in: CPU: 1 PID: 4887 Comm: syz.0.287 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 : ffff800021457730 x29: ffff800021457730 x28: ffff0000e6ccf8c8 x27: 0000000000000000 x26: dfff800000000000 x25: ffff800014170000 x24: 1ffff0000282e06a x23: dfff800000000000 x22: 0000000000000001 x21: 0000000000000000 x20: 0000000020200000 x19: ffff0000e6ccf840 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082bf708 x15: ffff8000117602e0 x14: 0000000000000000 x13: 1ffff0000282e06b x12: 0000000000080000 x11: 0000000000000373 x10: ffff8000217ec000 x9 : ffff8000087f5bdc x8 : 0000000000000374 x7 : ffff80000a35483c x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff0000e6ccf630 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+0x370/0xc04 mm/mmap.c:2861 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 vm_mmap_pgoff+0x184/0x284 mm/util.c:551 ksys_mmap_pgoff+0x11c/0x620 mm/mmap.c:1631 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __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: 306 hardirqs last enabled at (305): [] local_daif_restore arch/arm64/include/asm/daifflags.h:75 [inline] hardirqs last enabled at (305): [] el0_svc_common+0x9c/0x258 arch/arm64/kernel/syscall.c:107 hardirqs last disabled at (306): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (300): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (298): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 91071f7e43b5af3a ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4887 at include/linux/fs.h:532 i_mmap_assert_write_locked include/linux/fs.h:532 [inline] WARNING: CPU: 0 PID: 4887 at include/linux/fs.h:532 hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 Modules linked in: CPU: 0 PID: 4887 Comm: syz.0.287 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 : ffff800021457730 x29: ffff800021457730 x28: ffff0000e6ccf8c8 x27: 0000000000000000 x26: dfff800000000000 x25: ffff800014170000 x24: 1ffff0000282e06a x23: dfff800000000000 x22: 0000000000000001 x21: 0000000000000000 x20: 0000000020800000 x19: ffff0000e6ccf840 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082bf708 x15: ffff8000117602e0 x14: 0000000000000000 x13: 1ffff0000282e06b x12: 0000000000080000 x11: 0000000000013ae2 x10: ffff8000217ec000 x9 : ffff8000087f5bdc x8 : 0000000000013ae3 x7 : ffff80000a35483c x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff0000e6ccf630 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+0x370/0xc04 mm/mmap.c:2861 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 vm_mmap_pgoff+0x184/0x284 mm/util.c:551 ksys_mmap_pgoff+0x11c/0x620 mm/mmap.c:1631 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __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: 470 hardirqs last enabled at (469): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline] hardirqs last enabled at (469): [] exit_to_kernel_mode+0xe0/0x168 arch/arm64/kernel/entry-common.c:91 hardirqs last disabled at (470): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (464): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (464): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604 softirqs last disabled at (309): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (309): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (309): [] invoke_softirq kernel/softirq.c:457 [inline] softirqs last disabled at (309): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:659 ---[ end trace 91071f7e43b5af3b ]---