Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 1030 Comm: kworker/u4:6 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound netfs_write_collection_worker RIP: 0010:folioq_folio include/linux/folio_queue.h:277 [inline] RIP: 0010:netfs_writeback_unlock_folios fs/netfs/write_collect.c:107 [inline] RIP: 0010:netfs_collect_write_results fs/netfs/write_collect.c:493 [inline] RIP: 0010:netfs_write_collection_worker+0x16cc/0x4950 fs/netfs/write_collect.c:551 Code: 23 06 00 00 e8 b5 da 4b ff 44 89 64 24 1c 48 89 9c 24 98 00 00 00 49 8d 5c df 08 48 89 d8 48 c1 e8 03 48 89 84 24 b0 00 00 00 <42> 80 3c 28 00 74 08 48 89 df e8 f5 9f b5 ff 4c 89 7c 24 10 48 89 RSP: 0018:ffffc900022a7940 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff88803549c880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000001f RBP: ffffc900022a7bb0 R08: ffffffff8248fd1c R09: 1ffffffff2039fdd R10: dffffc0000000000 R11: fffffbfff2039fde R12: 000000000000002c R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1ff407ed8 CR3: 00000000411e0000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 23 06 and (%rsi),%eax 2: 00 00 add %al,(%rax) 4: e8 b5 da 4b ff call 0xff4bdabe 9: 44 89 64 24 1c mov %r12d,0x1c(%rsp) e: 48 89 9c 24 98 00 00 mov %rbx,0x98(%rsp) 15: 00 16: 49 8d 5c df 08 lea 0x8(%r15,%rbx,8),%rbx 1b: 48 89 d8 mov %rbx,%rax 1e: 48 c1 e8 03 shr $0x3,%rax 22: 48 89 84 24 b0 00 00 mov %rax,0xb0(%rsp) 29: 00 * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 f5 9f b5 ff call 0xffb5a02e 39: 4c 89 7c 24 10 mov %r15,0x10(%rsp) 3e: 48 rex.W 3f: 89 .byte 0x89