Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 UID: 0 PID: 13904 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:NODE_MAPPING fs/f2fs/f2fs.h:2260 [inline] RIP: 0010:is_node_folio fs/f2fs/f2fs.h:2270 [inline] RIP: 0010:f2fs_in_warm_node_list+0xbd/0x290 fs/f2fs/node.c:330 Code: 00 00 4d 03 3c 24 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 91 04 fd fd 4d 8b 3f 49 83 c7 30 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 74 04 fd fd 4d 3b 37 74 19 e8 aa RSP: 0018:ffffc90005b16f70 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffffea00016fad00 RCX: ffff88802d7a0000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000100 RBP: ffffea00016fad18 R08: ffff88803422dbab R09: 1ffff11006845b75 R10: dffffc0000000000 R11: ffffed1006845b76 R12: ffff8880621d0798 R13: dffffc0000000000 R14: ffff888062989f90 R15: 0000000000000030 FS: 0000555562df8500(0000) GS:ffff888126438000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffebf82ae68 CR3: 0000000063846000 CR4: 00000000003526f0 Call Trace: f2fs_write_end_io+0x7ab/0xff0 fs/f2fs/data.c:400 blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1178 blk_flush_complete_seq+0x687/0xce0 block/blk-flush.c:191 flush_end_io+0xc40/0xf30 block/blk-flush.c:251 __blk_mq_end_request+0x4a9/0x680 block/blk-mq.c:1168 blk_complete_reqs block/blk-mq.c:1253 [inline] blk_done_softirq+0x10a/0x160 block/blk-mq.c:1258 handle_softirqs+0x1de/0x6f0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] __local_bh_enable_ip+0x170/0x2b0 kernel/softirq.c:302 netdev_for_each_tx_queue include/linux/netdevice.h:2684 [inline] dev_deactivate_many+0x71f/0xd40 net/sched/sch_generic.c:1345 __dev_close_many+0x17b/0x6d0 net/core/dev.c:1759 netif_close_many+0x225/0x420 net/core/dev.c:1800 netif_close_many_and_unlock net/core/dev.c:12326 [inline] unregister_netdevice_many_notify+0x81f/0x2360 net/core/dev.c:12390 unregister_netdevice_many net/core/dev.c:12489 [inline] unregister_netdevice_queue+0x31f/0x360 net/core/dev.c:12303 unregister_netdevice include/linux/netdevice.h:3409 [inline] nsim_destroy+0x1e5/0x680 drivers/net/netdevsim/netdev.c:1185 __nsim_dev_port_del+0x14d/0x1b0 drivers/net/netdevsim/dev.c:1528 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1540 [inline] nsim_dev_reload_destroy+0x288/0x490 drivers/net/netdevsim/dev.c:1764 nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1779 device_remove drivers/base/dd.c:631 [inline] __device_release_driver drivers/base/dd.c:1344 [inline] device_release_driver_internal+0x46f/0x870 drivers/base/dd.c:1367 bus_remove_device+0x45a/0x570 drivers/base/bus.c:657 device_del+0x52b/0x900 drivers/base/core.c:3880 device_unregister+0x21/0xf0 drivers/base/core.c:3921 nsim_bus_dev_del drivers/net/netdevsim/bus.c:491 [inline] del_device_store+0x2b0/0x370 drivers/net/netdevsim/bus.c:244 kernfs_fop_write_iter+0x3b0/0x540 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x629/0xba0 fs/read_write.c:688 ksys_write+0x156/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6b2ba0cfce Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007fff62f85828 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000555562df8500 RCX: 00007f6b2ba0cfce RDX: 0000000000000001 RSI: 00007fff62f858b0 RDI: 0000000000000005 RBP: 00007f6b2bae351c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff62f858b0 R14: 00007f6b2c7f4620 R15: 0000000000000003 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:NODE_MAPPING fs/f2fs/f2fs.h:2260 [inline] RIP: 0010:is_node_folio fs/f2fs/f2fs.h:2270 [inline] RIP: 0010:f2fs_in_warm_node_list+0xbd/0x290 fs/f2fs/node.c:330 Code: 00 00 4d 03 3c 24 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 91 04 fd fd 4d 8b 3f 49 83 c7 30 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 74 04 fd fd 4d 3b 37 74 19 e8 aa RSP: 0018:ffffc90005b16f70 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffffea00016fad00 RCX: ffff88802d7a0000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000100 RBP: ffffea00016fad18 R08: ffff88803422dbab R09: 1ffff11006845b75 R10: dffffc0000000000 R11: ffffed1006845b76 R12: ffff8880621d0798 R13: dffffc0000000000 R14: ffff888062989f90 R15: 0000000000000030 FS: 0000555562df8500(0000) GS:ffff888126438000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffebf82ae68 CR3: 0000000063846000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 4d 03 3c 24 add (%r12),%r15 6: 4c 89 f8 mov %r15,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 12: 74 08 je 0x1c 14: 4c 89 ff mov %r15,%rdi 17: e8 91 04 fd fd call 0xfdfd04ad 1c: 4d 8b 3f mov (%r15),%r15 1f: 49 83 c7 30 add $0x30,%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 74 04 fd fd call 0xfdfd04ad 39: 4d 3b 37 cmp (%r15),%r14 3c: 74 19 je 0x57 3e: e8 .byte 0xe8 3f: aa stos %al,%es:(%rdi)