general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 PID: 22 Comm: ksoftirqd/1 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:hlist_unhashed_lockless include/linux/list.h:963 [inline] RIP: 0010:timer_pending include/linux/timer.h:168 [inline] RIP: 0010:blk_stat_is_active block/blk-stat.h:133 [inline] RIP: 0010:blk_stat_add+0x168/0x4f0 block/blk-stat.c:66 Code: 48 bd 00 00 00 00 00 fc ff df 4d 63 f6 4a 8d 04 f5 00 8a 3b 8c 48 89 44 24 08 e8 73 09 7f fd 48 8d 7b 18 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 ca 02 00 00 48 8b 43 18 48 85 c0 0f 84 0d 01 00 RSP: 0018:ffffc900001c7d10 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff888017643b80 RSI: ffffffff8408be0d RDI: 0000000000000018 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000022000 R13: 00000000000195cc R14: 0000000000000001 R15: ffff88801c78d690 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555562206f8 CR3: 000000001be4a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __blk_mq_end_request_acct block/blk-mq.c:1013 [inline] __blk_mq_end_request block/blk-mq.c:1022 [inline] blk_mq_end_request+0x2fd/0x3c0 block/blk-mq.c:1038 lo_complete_rq+0x1c4/0x270 drivers/block/loop.c:370 blk_complete_reqs+0xb2/0xf0 block/blk-mq.c:1114 __do_softirq+0x218/0x965 kernel/softirq.c:553 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x31/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x67d/0xa00 kernel/smpboot.c:164 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hlist_unhashed_lockless include/linux/list.h:963 [inline] RIP: 0010:timer_pending include/linux/timer.h:168 [inline] RIP: 0010:blk_stat_is_active block/blk-stat.h:133 [inline] RIP: 0010:blk_stat_add+0x168/0x4f0 block/blk-stat.c:66 Code: 48 bd 00 00 00 00 00 fc ff df 4d 63 f6 4a 8d 04 f5 00 8a 3b 8c 48 89 44 24 08 e8 73 09 7f fd 48 8d 7b 18 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 ca 02 00 00 48 8b 43 18 48 85 c0 0f 84 0d 01 00 RSP: 0018:ffffc900001c7d10 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff888017643b80 RSI: ffffffff8408be0d RDI: 0000000000000018 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000022000 R13: 00000000000195cc R14: 0000000000000001 R15: ffff88801c78d690 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555562206f8 CR3: 000000001be4a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp 7: fc ff df a: 4d 63 f6 movslq %r14d,%r14 d: 4a 8d 04 f5 00 8a 3b lea -0x73c47600(,%r14,8),%rax 14: 8c 15: 48 89 44 24 08 mov %rax,0x8(%rsp) 1a: e8 73 09 7f fd call 0xfd7f0992 1f: 48 8d 7b 18 lea 0x18(%rbx),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction 2e: 0f 85 ca 02 00 00 jne 0x2fe 34: 48 8b 43 18 mov 0x18(%rbx),%rax 38: 48 85 c0 test %rax,%rax 3b: 0f .byte 0xf 3c: 84 .byte 0x84 3d: 0d .byte 0xd 3e: 01 00 add %eax,(%rax)