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: 766 Comm: syz.2.112 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2912 [inline] RIP: 0010:update_sit_entry+0x5a4/0xfd0 fs/f2fs/segment.c:2339 Code: 80 3c 08 00 74 08 48 89 df e8 08 34 92 ff 4c 89 75 b0 48 8b 1b 48 03 5d a8 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 0b 09 00 00 44 0f b6 33 44 89 f0 44 08 e8 RSP: 0000:ffffc90000c566d8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffff88810c12a780 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000c56750 R08: ffff888100996030 R09: 1ffff11020132c06 R10: dffffc0000000000 R11: ffffed1020132c07 R12: ffff888127350000 R13: 0000000000000002 R14: ffff8881273500c0 R15: ffff88810bf48878 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26b4eb7d40 CR3: 000000010be78000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_allocate_data_block+0x10c9/0x3880 fs/f2fs/segment.c:3481 do_write_page+0x2be/0x7e0 fs/f2fs/segment.c:3569 f2fs_outplace_write_data+0xf6/0x240 fs/f2fs/segment.c:3635 f2fs_convert_inline_page+0x7f7/0xeb0 fs/f2fs/inline.c:197 f2fs_convert_inline_inode+0x631/0x700 fs/f2fs/inline.c:247 f2fs_preallocate_blocks fs/f2fs/file.c:4664 [inline] f2fs_file_write_iter+0xe23/0x27c0 fs/f2fs/file.c:4906 __kernel_write+0x5a5/0x9d0 fs/read_write.c:550 dump_emit+0x255/0x380 fs/coredump.c:855 writenote+0x1bd/0x2f0 fs/binfmt_elf.c:1465 write_note_info+0x14d/0x320 fs/binfmt_elf.c:1925 elf_core_dump+0x26ef/0x2c20 fs/binfmt_elf.c:2277 do_coredump+0x1be6/0x2910 fs/coredump.c:817 get_signal+0xf4c/0x1300 kernel/signal.c:2780 arch_do_signal_or_restart+0xe7/0x11b0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0xa2/0xe0 kernel/entry/common.c:169 exit_to_user_mode_prepare+0x76/0xa0 kernel/entry/common.c:199 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:287 irqentry_exit+0x12/0x60 kernel/entry/common.c:375 exc_page_fault+0x67/0xc0 arch/x86/mm/fault.c:1495 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571 RIP: 0033:0x7f26b6354b27 Code: e8 8e fa ff ff 89 f2 48 8d 3d c5 3e 1b 00 48 8d 35 be f9 1d 00 31 c0 e8 e7 f8 ff ff 0f 1f 80 00 00 00 00 53 89 fb 48 83 ec 10 <64> 8b 04 25 a4 ff ff ff 85 c0 74 2a 89 fe 31 c0 bf 3c 00 00 00 e8 RSP: 002b:00007f26b4eb8120 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f26b649ee59 RDX: 00007f26b4eb8140 RSI: 00007f26b4eb8270 RDI: 000000000000000b RBP: 00007f26b6534e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f26b6727128 R14: 00007f26b6727090 R15: 00007ffd15262098 Modules linked in: ---[ end trace 72286ffbba93b6bf ]--- RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2912 [inline] RIP: 0010:update_sit_entry+0x5a4/0xfd0 fs/f2fs/segment.c:2339 Code: 80 3c 08 00 74 08 48 89 df e8 08 34 92 ff 4c 89 75 b0 48 8b 1b 48 03 5d a8 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 0b 09 00 00 44 0f b6 33 44 89 f0 44 08 e8 RSP: 0000:ffffc90000c566d8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffff88810c12a780 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000c56750 R08: ffff888100996030 R09: 1ffff11020132c06 R10: dffffc0000000000 R11: ffffed1020132c07 R12: ffff888127350000 R13: 0000000000000002 R14: ffff8881273500c0 R15: ffff88810bf48878 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd1525fff8 CR3: 000000010be78000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 4: 74 08 je 0xe 6: 48 89 df mov %rbx,%rdi 9: e8 08 34 92 ff call 0xff923416 e: 4c 89 75 b0 mov %r14,-0x50(%rbp) 12: 48 8b 1b mov (%rbx),%rbx 15: 48 03 5d a8 add -0x58(%rbp),%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 0b 09 00 00 jne 0x941 36: 44 0f b6 33 movzbl (%rbx),%r14d 3a: 44 89 f0 mov %r14d,%eax 3d: 44 08 e8 or %r13b,%al