Oops: general protection fault, probably for non-canonical address 0xdffffc0000000023: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f] CPU: 1 UID: 0 PID: 5976 Comm: kworker/u8:9 Not tainted 6.15.0-rc5-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Workqueue: events_unbound netfs_write_collection_worker RIP: 0010:folioq_folio_order include/linux/folio_queue.h:291 [inline] RIP: 0010:folioq_folio_size include/linux/folio_queue.h:305 [inline] RIP: 0010:iov_iter_folioq_revert lib/iov_iter.c:599 [inline] RIP: 0010:iov_iter_revert lib/iov_iter.c:644 [inline] RIP: 0010:iov_iter_revert+0x2ec/0x5a0 lib/iov_iter.c:611 Code: ec 41 83 fd 1e 0f 87 3b 02 00 00 4b 8d bc 26 00 01 00 00 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 08 38 d0 7f 08 84 c0 0f 85 02 02 00 00 47 0f b6 bc 26 00 RSP: 0018:ffffc90004c27950 EFLAGS: 00010206 RAX: 0000000000000023 RBX: 0000000000000001 RCX: dffffc0000000000 RDX: 0000000000000006 RSI: ffffffff84ceb5d0 RDI: 000000000000011e RBP: ffffc90004c27a78 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88805b52422c R12: 000000000000001e R13: 000000000000001e R14: 0000000000000000 R15: ffff88805b5240a8 FS: 0000000000000000(0000) GS:ffff888124adf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2be541 CR3: 0000000036c9b000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netfs_retry_write_stream fs/netfs/write_retry.c:44 [inline] netfs_retry_writes+0x166d/0x1a50 fs/netfs/write_retry.c:231 netfs_collect_write_results fs/netfs/write_collect.c:352 [inline] netfs_write_collection_worker+0x23fd/0x3830 fs/netfs/write_collect.c:374 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folioq_folio_order include/linux/folio_queue.h:291 [inline] RIP: 0010:folioq_folio_size include/linux/folio_queue.h:305 [inline] RIP: 0010:iov_iter_folioq_revert lib/iov_iter.c:599 [inline] RIP: 0010:iov_iter_revert lib/iov_iter.c:644 [inline] RIP: 0010:iov_iter_revert+0x2ec/0x5a0 lib/iov_iter.c:611 Code: ec 41 83 fd 1e 0f 87 3b 02 00 00 4b 8d bc 26 00 01 00 00 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 08 38 d0 7f 08 84 c0 0f 85 02 02 00 00 47 0f b6 bc 26 00 RSP: 0018:ffffc90004c27950 EFLAGS: 00010206 RAX: 0000000000000023 RBX: 0000000000000001 RCX: dffffc0000000000 RDX: 0000000000000006 RSI: ffffffff84ceb5d0 RDI: 000000000000011e RBP: ffffc90004c27a78 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88805b52422c R12: 000000000000001e R13: 000000000000001e R14: 0000000000000000 R15: ffff88805b5240a8 FS: 0000000000000000(0000) GS:ffff888124adf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f212ef20f98 CR3: 000000000e180000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ec in (%dx),%al 1: 41 83 fd 1e cmp $0x1e,%r13d 5: 0f 87 3b 02 00 00 ja 0x246 b: 4b 8d bc 26 00 01 00 lea 0x100(%r14,%r12,1),%rdi 12: 00 13: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 1a: fc ff df 1d: 48 89 f8 mov %rdi,%rax 20: 48 89 fa mov %rdi,%rdx 23: 48 c1 e8 03 shr $0x3,%rax 27: 83 e2 07 and $0x7,%edx * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 38 d0 cmp %dl,%al 30: 7f 08 jg 0x3a 32: 84 c0 test %al,%al 34: 0f 85 02 02 00 00 jne 0x23c 3a: 47 rex.RXB 3b: 0f .byte 0xf 3c: b6 bc mov $0xbc,%dh 3e: 26 es