uffd: Set unprivileged_userfaultfd sysctl knob to 1 if kernel faults must be handled without obtaining CAP_SYS_PTRACE capability ------------[ cut here ]------------ WARNING: CPU: 0 PID: 10121 at include/linux/fs.h:532 i_mmap_assert_write_locked include/linux/fs.h:532 [inline] WARNING: CPU: 0 PID: 10121 at include/linux/fs.h:532 hugetlb_split+0x237/0x2a0 mm/hugetlb.c:4182 Modules linked in: CPU: 0 PID: 10121 Comm: syz.7.1262 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:i_mmap_assert_write_locked include/linux/fs.h:532 [inline] RIP: 0010:hugetlb_split+0x237/0x2a0 mm/hugetlb.c:4182 Code: c0 ff 4c 89 f7 48 89 de 4c 89 fa 31 c9 5b 41 5c 41 5d 41 5e 41 5f 5d eb 7a e8 25 4b c0 ff 0f 0b e9 62 fe ff ff e8 19 4b c0 ff <0f> 0b e9 2d ff ff ff 48 c7 c1 44 a2 69 8d 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc900022d7930 EFLAGS: 00010283 RAX: ffffffff81b77907 RBX: 0000200000600000 RCX: 0000000000080000 RDX: ffffc900041c4000 RSI: 0000000000000160 RDI: 0000000000000161 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100f5d9638 R10: ffffed100f5d9638 R11: 1ffff1100f5d9637 R12: ffff88801ea7a8e0 R13: dffffc0000000000 R14: ffff88801ea7a840 R15: ffff88806117fd40 FS: 00007fdd9bc826c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f97cde42000 CR3: 000000006682a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vma_adjust+0x6a9/0x1c20 mm/mmap.c:842 vma_adjust include/linux/mm.h:2556 [inline] __split_vma+0x34b/0x410 mm/mmap.c:-1 __do_munmap+0x3eb/0xdc0 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+0x762/0x15e0 mm/mmap.c:2929 do_mmap+0x77a/0xdf0 mm/mmap.c:1582 vm_mmap_pgoff+0x1b2/0x2b0 mm/util.c:551 ksys_mmap_pgoff+0x542/0x780 mm/mmap.c:1631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdd9da1abe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdd9bc82038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fdd9dc41fa0 RCX: 00007fdd9da1abe9 RDX: 00000000027ffff7 RSI: 0000000000600000 RDI: 0000200000000000 RBP: 00007fdd9da9de19 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000004012011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdd9dc42038 R14: 00007fdd9dc41fa0 R15: 00007ffe5ac49a58