------------[ cut here ]------------ WARNING: CPU: 0 PID: 4724 at include/linux/fs.h:532 i_mmap_assert_write_locked include/linux/fs.h:532 [inline] WARNING: CPU: 0 PID: 4724 at include/linux/fs.h:532 hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 Modules linked in: CPU: 0 PID: 4724 Comm: syz.4.157 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 : ffff80001fe579f0 x29: ffff80001fe579f0 x28: ffff0000f290f088 x27: 0000000000000000 x26: dfff800000000000 x25: ffff800014170000 x24: 1ffff0000282e06a x23: dfff800000000000 x22: 0000000000000001 x21: 0000000000000000 x20: 0000000020000000 x19: ffff0000f290f000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082bf708 x15: ffff8000113a8c40 x14: 0000000000000000 x13: ffff0000f290f078 x12: 0000000000080000 x11: 00000000000002fa x10: ffff800028220000 x9 : ffff8000087f5bdc x8 : 00000000000002fb x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff0000f290f108 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 split_vma+0x9c/0xf4 mm/mmap.c:2783 mprotect_fixup+0x3cc/0x5c4 mm/mprotect.c:483 do_mprotect_pkey mm/mprotect.c:636 [inline] __do_sys_mprotect mm/mprotect.c:662 [inline] __se_sys_mprotect mm/mprotect.c:659 [inline] __arm64_sys_mprotect+0x4c4/0x8f4 mm/mprotect.c:659 __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: 494 hardirqs last enabled at (493): [] local_daif_restore arch/arm64/include/asm/daifflags.h:75 [inline] hardirqs last enabled at (493): [] el0_svc_common+0x9c/0x258 arch/arm64/kernel/syscall.c:107 hardirqs last disabled at (494): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (488): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (486): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 520e3e739a4e730f ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4724 at include/linux/fs.h:532 i_mmap_assert_write_locked include/linux/fs.h:532 [inline] WARNING: CPU: 0 PID: 4724 at include/linux/fs.h:532 hugetlb_split+0x234/0x29c mm/hugetlb.c:4182 Modules linked in: CPU: 0 PID: 4724 Comm: syz.4.157 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 : ffff80001fe579f0 x29: ffff80001fe579f0 x28: ffff0000f290f088 x27: 0000000000000000 x26: dfff800000000000 x25: ffff800014170000 x24: 1ffff0000282e06a x23: dfff800000000000 x22: 0000000000000001 x21: 0000000000000000 x20: 0000000020800000 x19: ffff0000f290f000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082bf708 x15: ffff8000113a8c40 x14: 0000000000000000 x13: ffff0000f290f078 x12: 0000000000080000 x11: 000000000001315e x10: ffff800028220000 x9 : ffff8000087f5bdc x8 : 000000000001315f x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff0000f290f108 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 split_vma+0x9c/0xf4 mm/mmap.c:2783 mprotect_fixup+0x3cc/0x5c4 mm/mprotect.c:483 do_mprotect_pkey mm/mprotect.c:636 [inline] __do_sys_mprotect mm/mprotect.c:662 [inline] __se_sys_mprotect mm/mprotect.c:659 [inline] __arm64_sys_mprotect+0x4c4/0x8f4 mm/mprotect.c:659 __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: 722 hardirqs last enabled at (721): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline] hardirqs last enabled at (721): [] exit_to_kernel_mode+0xe0/0x168 arch/arm64/kernel/entry-common.c:91 hardirqs last disabled at (722): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (716): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (716): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604 softirqs last disabled at (497): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (497): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (497): [] invoke_softirq kernel/softirq.c:457 [inline] softirqs last disabled at (497): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:659 ---[ end trace 520e3e739a4e7310 ]---