general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 10555 Comm: syz-executor.2 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add include/linux/list.h:71 [inline] RIP: 0010:list_add_tail include/linux/list.h:100 [inline] RIP: 0010:io_sqe_files_set_node fs/io_uring.c:7243 [inline] RIP: 0010:io_sqe_files_unregister+0x42a/0x770 fs/io_uring.c:7279 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 07 03 00 00 4c 89 ea 4c 89 ad 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 f4 02 00 00 49 8d 7f 18 48 8d 85 80 00 00 00 48 RSP: 0018:ffffc90001f4fcf8 EFLAGS: 00010257 RAX: dffffc0000000000 RBX: ffff8880146a1290 RCX: ffffc9000d878000 RDX: 0000000000000000 RSI: ffffffff81d82695 RDI: 0000000000000003 RBP: ffff8880146a1200 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff81d82684 R11: 0000000000000000 R12: 00000000fffffffc R13: 0000000000000004 R14: ffff8880146a1280 R15: fffffffffffffff4 FS: 00007feabbbe8700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056218e678000 CR3: 0000000020d0a000 CR4: 0000000000350ee0 Call Trace: io_sqe_files_register fs/io_uring.c:7787 [inline] __io_uring_register fs/io_uring.c:9910 [inline] __do_sys_io_uring_register+0x3a50/0x4080 fs/io_uring.c:10000 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007feabbbe7c68 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045e219 RDX: 0000000020000100 RSI: 0000000000000002 RDI: 0000000000000006 RBP: 000000000119c118 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 000000000119c0dc R13: 00007ffcbc87370f R14: 00007feabbbe89c0 R15: 000000000119c0dc Modules linked in: ---[ end trace 65a3291ead743cbc ]--- RIP: 0010:__list_add include/linux/list.h:71 [inline] RIP: 0010:list_add_tail include/linux/list.h:100 [inline] RIP: 0010:io_sqe_files_set_node fs/io_uring.c:7243 [inline] RIP: 0010:io_sqe_files_unregister+0x42a/0x770 fs/io_uring.c:7279 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 07 03 00 00 4c 89 ea 4c 89 ad 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 f4 02 00 00 49 8d 7f 18 48 8d 85 80 00 00 00 48 RSP: 0018:ffffc90001f4fcf8 EFLAGS: 00010257 RAX: dffffc0000000000 RBX: ffff8880146a1290 RCX: ffffc9000d878000 RDX: 0000000000000000 RSI: ffffffff81d82695 RDI: 0000000000000003 RBP: ffff8880146a1200 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff81d82684 R11: 0000000000000000 R12: 00000000fffffffc R13: 0000000000000004 R14: ffff8880146a1280 R15: fffffffffffffff4 FS: 00007feabbbe8700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056218e678000 CR3: 0000000020d0a000 CR4: 0000000000350ee0