RDX: 0000000000000000 RSI: 0000000000000a32 RDI: 0000000000000004 RBP: 00007fd854de51d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fff34d3432f R14: 00007fd854de5300 R15: 0000000000022000 general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 5738 Comm: syz-executor.4 Not tainted 5.10.175 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:io_arm_poll_handler io_uring/io_uring.c:5795 [inline] RIP: 0010:__io_queue_sqe+0x69f/0xa60 io_uring/io_uring.c:7043 Code: 0f 85 24 03 00 00 48 8b 3d 66 86 da 02 ba 48 00 00 00 be 20 0a 00 00 e8 0f cd 7d ff 48 8d 78 14 49 89 c5 48 89 f8 48 c1 e8 03 <42> 0f b6 14 20 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffff888047dbfb28 EFLAGS: 00010213 RAX: 0000000000000002 RBX: 1ffff11008fb7f6b RCX: 0000000000000000 RDX: 0000000000000048 RSI: 0000000000000000 RDI: 0000000000000014 RBP: ffff888045a00dc0 R08: 0000000000000000 R09: ffffffff8509e133 R10: fffffbfff0a13c26 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888045a00e18 R15: ffff888045a00e08 FS: 00007fd854de5700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d222000 CR3: 000000000e388000 CR4: 0000000000350ef0 Call Trace: FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 io_queue_sqe io_uring/io_uring.c:7071 [inline] io_submit_sqe io_uring/io_uring.c:7248 [inline] io_submit_sqes+0x4484/0x86e0 io_uring/io_uring.c:7354 CPU: 1 PID: 5725 Comm: syz-executor.6 Not tainted 5.10.175 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 __do_sys_io_uring_enter+0x6b5/0x17b0 io_uring/io_uring.c:10083 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x167 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 _copy_to_user+0x2e/0x180 lib/usercopy.c:36 copy_to_user include/linux/uaccess.h:200 [inline] simple_read_from_buffer+0xcc/0x160 fs/libfs.c:729 proc_fail_nth_read+0x198/0x230 fs/proc/base.c:1423 vfs_read+0x228/0x580 fs/read_write.c:494 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 ksys_read+0x12d/0x260 fs/read_write.c:634 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd85786fb19 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:00007fd854de5188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 RAX: ffffffffffffffda RBX: 00007fd857982f60 RCX: 00007fd85786fb19 RDX: 0000000000000000 RSI: 0000000000000a32 RDI: 0000000000000004 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RBP: 00007fd854de51d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 RIP: 0033:0x7f19732f069c R13: 00007fff34d3432f R14: 00007fd854de5300 R15: 0000000000022000 Modules linked in: Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48 ---[ end trace bc536341393c6d9a ]--- RSP: 002b:00007f19708b3170 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RIP: 0010:io_arm_poll_handler io_uring/io_uring.c:5795 [inline] RIP: 0010:__io_queue_sqe+0x69f/0xa60 io_uring/io_uring.c:7043 RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 00007f19732f069c RDX: 000000000000000f RSI: 00007f19708b31e0 RDI: 0000000000000004 Code: 0f 85 24 03 00 00 48 8b 3d 66 86 da 02 ba 48 00 00 00 be 20 0a 00 00 e8 0f cd 7d ff 48 8d 78 14 49 89 c5 48 89 f8 48 c1 e8 03 <42> 0f b6 14 20 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RBP: 00007f19708b31d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000002 RSP: 0018:ffff888047dbfb28 EFLAGS: 00010213 R13: 00007ffd07810adf R14: 00007f19708b3300 R15: 0000000000022000 RAX: 0000000000000002 RBX: 1ffff11008fb7f6b RCX: 0000000000000000 RDX: 0000000000000048 RSI: 0000000000000000 RDI: 0000000000000014 RBP: ffff888045a00dc0 R08: 0000000000000000 R09: ffffffff8509e133 R10: fffffbfff0a13c26 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888045a00e18 R15: ffff888045a00e08 FS: 00007fd854de5700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d222000 CR3: 000000000e388000 CR4: 0000000000350ef0 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 00 80 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 512 op 0x1:(WRITE) flags 0xc800 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 00 c0 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 768 op 0x1:(WRITE) flags 0xc800 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 01 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1024 op 0x1:(WRITE) flags 0xc800 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 01 40 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1280 op 0x1:(WRITE) flags 0xc800 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 01 80 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1536 op 0x1:(WRITE) flags 0xc800 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 01 c0 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 1792 op 0x1:(WRITE) flags 0x8800 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 02 00 00 00 40 00 blk_update_request: critical target error, dev sr0, sector 2048 op 0x1:(WRITE) flags 0xc800 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 02 40 00 00 40 00 ---------------- Code disassembly (best guess): 0: 0f 85 24 03 00 00 jne 0x32a 6: 48 8b 3d 66 86 da 02 mov 0x2da8666(%rip),%rdi # 0x2da8673 d: ba 48 00 00 00 mov $0x48,%edx 12: be 20 0a 00 00 mov $0xa20,%esi 17: e8 0f cd 7d ff callq 0xff7dcd2b 1c: 48 8d 78 14 lea 0x14(%rax),%rdi 20: 49 89 c5 mov %rax,%r13 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 14 20 movzbl (%rax,%r12,1),%edx <-- trapping instruction 2f: 48 89 f8 mov %rdi,%rax 32: 83 e0 07 and $0x7,%eax 35: 83 c0 03 add $0x3,%eax 38: 38 d0 cmp %dl,%al 3a: 7c 08 jl 0x44 3c: 84 d2 test %dl,%dl 3e: 0f .byte 0xf 3f: 85 .byte 0x85