------------[ cut here ]------------ WARNING: CPU: 1 PID: 4530 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:525 [inline] WARNING: CPU: 1 PID: 4530 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:523 [inline] WARNING: CPU: 1 PID: 4530 at include/linux/fs.h:525 hugetlb_split+0x320/0xc50 mm/hugetlb.c:3716 Modules linked in: CPU: 1 PID: 4530 Comm: syz-executor.5 Not tainted 5.10.244 #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 8a fb 7c 02 31 ff 41 89 c6 89 c6 e8 0e d4 d5 ff 45 85 f6 0f 85 5e fe ff ff e8 b0 da d5 ff <0f> 0b e9 52 fe ff ff e8 a4 da d5 ff 48 8d 43 50 48 89 c2 48 89 44 RSP: 0018:ffff88800d31fad8 EFLAGS: 00010216 RAX: 00000000000000ef RBX: ffff88800ee90700 RCX: ffffc90005218000 RDX: 0000000000040000 RSI: ffffffff816af780 RDI: 0000000000000005 RBP: 0000000020800000 R08: 0000000000000000 R09: ffff888017e546bf R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff11001a63f64 R13: ffffffff8567ae3c R14: 0000000000000000 R15: 0000000000000001 FS: 00007f04c7306700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d726000 CR3: 0000000049d0c000 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:0x7f04c9d90b19 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:00007f04c7306188 EFLAGS: 00000246 ORIG_RAX: 0000000000000149 RAX: ffffffffffffffda RBX: 00007f04c9ea3f60 RCX: 00007f04c9d90b19 RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000020800000 RBP: 00007f04c9deaf6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd2e3fc33f R14: 00007f04c7306300 R15: 0000000000022000 irq event stamp: 2483 hardirqs last enabled at (2493): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (2502): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) softirqs last enabled at (2126): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1973): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace d046db2bfe506a59 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4530 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:525 [inline] WARNING: CPU: 1 PID: 4530 at include/linux/fs.h:525 i_mmap_assert_write_locked include/linux/fs.h:523 [inline] WARNING: CPU: 1 PID: 4530 at include/linux/fs.h:525 hugetlb_split+0x320/0xc50 mm/hugetlb.c:3716 Modules linked in: CPU: 1 PID: 4530 Comm: syz-executor.5 Tainted: G W 5.10.244 #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 8a fb 7c 02 31 ff 41 89 c6 89 c6 e8 0e d4 d5 ff 45 85 f6 0f 85 5e fe ff ff e8 b0 da d5 ff <0f> 0b e9 52 fe ff ff e8 a4 da d5 ff 48 8d 43 50 48 89 c2 48 89 44 loop2: detected capacity change from 0 to 135266304 RSP: 0018:ffff88800d31fad8 EFLAGS: 00010202 RAX: 000000000001f930 RBX: ffff88800ee90700 RCX: ffffc90005218000 RDX: 0000000000040000 RSI: ffffffff816af780 RDI: 0000000000000005 RBP: 0000000020c00000 R08: 0000000000000000 R09: ffff888017e546bf R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff11001a63f64 R13: ffffffff8567ae3c R14: 0000000000000000 R15: 0000000000000001 FS: 00007f04c7306700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d726000 CR3: 0000000049d0c000 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 FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) RIP: 0033:0x7f04c9d90b19 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:00007f04c7306188 EFLAGS: 00000246 ORIG_RAX: 0000000000000149 RAX: ffffffffffffffda RBX: 00007f04c9ea3f60 RCX: 00007f04c9d90b19 RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000020800000 RBP: 00007f04c9deaf6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd2e3fc33f R14: 00007f04c7306300 R15: 0000000000022000 irq event stamp: 2975 hardirqs last enabled at (2985): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2567 hardirqs last disabled at (2994): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2482 softirqs last enabled at (2126): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (1973): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace d046db2bfe506a5a ]--- FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) scsi_io_completion_action: 229 callbacks suppressed sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3b c0 00 00 40 00 print_req_error: 229 callbacks suppressed blk_update_request: critical target error, dev sr0, sector 61184 op 0x1:(WRITE) flags 0x0 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3c 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 61440 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3c 40 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 61696 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3c 80 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 61952 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3c c0 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 62208 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3d 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 62464 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3d 40 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 62720 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3d 80 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 62976 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3d c0 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 63232 op 0x1:(WRITE) flags 0x0 phys_seg 32 prio class 0 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 3e 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 63488 op 0x1:(WRITE) flags 0x4000 phys_seg 32 prio class 0