------------[ cut here ]------------ WARNING: CPU: 1 PID: 5849 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:525 [inline] WARNING: CPU: 1 PID: 5849 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:523 [inline] WARNING: CPU: 1 PID: 5849 at include/linux/fs.h:525 hugetlb_split+0x320/0xc50 mm/hugetlb.c:3716 Modules linked in: CPU: 1 PID: 5849 Comm: syz-executor.2 Not tainted 5.10.245 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:i_mmap_assert_write_locked include/linux/fs.h:525 [inline] RIP: 0010:i_mmap_assert_write_locked include/linux/fs.h:523 [inline] RIP: 0010:hugetlb_split+0x320/0xc50 mm/hugetlb.c:3716 Code: 00 00 31 f6 48 81 c7 e0 00 00 00 e8 ea 0a 7d 02 31 ff 41 89 c6 89 c6 e8 ee d3 d5 ff 45 85 f6 0f 85 5e fe ff ff e8 90 da d5 ff <0f> 0b e9 52 fe ff ff e8 84 da d5 ff 48 8d 43 50 48 89 c2 48 89 44 RSP: 0018:ffff888016c97ad8 EFLAGS: 00010212 RAX: 0000000000000133 RBX: ffff88800e1b5600 RCX: ffffc900025fa000 RDX: 0000000000040000 RSI: ffffffff816af820 RDI: 0000000000000005 RBP: 0000000020800000 R08: 0000000000000000 R09: ffff88804673e2bf R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff11002d92f64 R13: ffffffff8567afbc R14: 0000000000000000 R15: 0000000000000001 FS: 00007f3ab4c5f700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001d80 CR3: 00000000471d2000 CR4: 0000000000350ee0 Call Trace: __vma_adjust+0xbe8/0x2510 mm/mmap.c:842 vma_adjust include/linux/mm.h:2548 [inline] __split_vma+0x41a/0x4e0 mm/mmap.c:2782 split_vma+0x99/0xe0 mm/mmap.c:2813 mprotect_fixup+0x669/0x8c0 mm/mprotect.c:467 do_mprotect_pkey+0x518/0x940 mm/mprotect.c:619 __do_sys_pkey_mprotect mm/mprotect.c:652 [inline] __se_sys_pkey_mprotect mm/mprotect.c:649 [inline] __x64_sys_pkey_mprotect+0x93/0x100 mm/mprotect.c:649 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f3ab76e9b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3ab4c5f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000149 RAX: ffffffffffffffda RBX: 00007f3ab77fcf60 RCX: 00007f3ab76e9b19 RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000020800000 RBP: 00007f3ab7743f6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb0a6183f R14: 00007f3ab4c5f300 R15: 0000000000022000 irq event stamp: 841 hardirqs last enabled at (849): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (860): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (434): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (379): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 69abe2cd9587b15b ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5849 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:525 [inline] WARNING: CPU: 1 PID: 5849 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:523 [inline] WARNING: CPU: 1 PID: 5849 at include/linux/fs.h:525 hugetlb_split+0x320/0xc50 mm/hugetlb.c:3716 Modules linked in: CPU: 1 PID: 5849 Comm: syz-executor.2 Tainted: G W 5.10.245 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:i_mmap_assert_write_locked include/linux/fs.h:525 [inline] RIP: 0010:i_mmap_assert_write_locked include/linux/fs.h:523 [inline] RIP: 0010:hugetlb_split+0x320/0xc50 mm/hugetlb.c:3716 Code: 00 00 31 f6 48 81 c7 e0 00 00 00 e8 ea 0a 7d 02 31 ff 41 89 c6 89 c6 e8 ee d3 d5 ff 45 85 f6 0f 85 5e fe ff ff e8 90 da d5 ff <0f> 0b e9 52 fe ff ff e8 84 da d5 ff 48 8d 43 50 48 89 c2 48 89 44 RSP: 0018:ffff888016c97ad8 EFLAGS: 00010212 RAX: 0000000000019e16 RBX: ffff88800e1b5600 RCX: ffffc900025fa000 RDX: 0000000000040000 RSI: ffffffff816af820 RDI: 0000000000000005 RBP: 0000000020c00000 R08: 0000000000000000 R09: ffff88804673e2bf R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff11002d92f64 R13: ffffffff8567afbc R14: 0000000000000000 R15: 0000000000000001 FS: 00007f3ab4c5f700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001d80 CR3: 00000000471d2000 CR4: 0000000000350ee0 Call Trace: __vma_adjust+0xbf3/0x2510 mm/mmap.c:843 vma_adjust include/linux/mm.h:2548 [inline] __split_vma+0x41a/0x4e0 mm/mmap.c:2782 split_vma+0x99/0xe0 mm/mmap.c:2813 mprotect_fixup+0x669/0x8c0 mm/mprotect.c:467 do_mprotect_pkey+0x518/0x940 mm/mprotect.c:619 __do_sys_pkey_mprotect mm/mprotect.c:652 [inline] __se_sys_pkey_mprotect mm/mprotect.c:649 [inline] __x64_sys_pkey_mprotect+0x93/0x100 mm/mprotect.c:649 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f3ab76e9b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3ab4c5f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000149 RAX: ffffffffffffffda RBX: 00007f3ab77fcf60 RCX: 00007f3ab76e9b19 RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000020800000 RBP: 00007f3ab7743f6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb0a6183f R14: 00007f3ab4c5f300 R15: 0000000000022000 irq event stamp: 1309 hardirqs last enabled at (1317): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (1326): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (434): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (379): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 69abe2cd9587b15c ]--- kauditd_printk_skb: 27 callbacks suppressed audit: type=1326 audit(1760780341.741:149): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000 audit: type=1326 audit(1760780341.741:150): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000 audit: type=1326 audit(1760780341.759:151): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=68 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000 audit: type=1326 audit(1760780341.760:152): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000 audit: type=1326 audit(1760780341.760:153): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000 audit: type=1326 audit(1760780341.767:154): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=425 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000 audit: type=1326 audit(1760780341.769:155): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=9 compat=0 ip=0x7f2ea63f6b62 code=0x7ffc0000 audit: type=1326 audit(1760780341.770:156): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=9 compat=0 ip=0x7f2ea63f6b62 code=0x7ffc0000 audit: type=1326 audit(1760780341.792:157): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000 audit: type=1326 audit(1760780341.792:158): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=5851 comm="syz-executor.4" exe="/syz-executor.4" sig=0 arch=c000003e syscall=202 compat=0 ip=0x7f2ea63f6b19 code=0x7ffc0000