------------[ cut here ]------------ WARNING: CPU: 2 PID: 3704 at fs/f2fs/checkpoint.c:199 arch_set_bit arch/x86/include/asm/bitops.h:55 [inline] WARNING: CPU: 2 PID: 3704 at fs/f2fs/checkpoint.c:199 set_bit include/asm-generic/bitops/instrumented-atomic.h:29 [inline] WARNING: CPU: 2 PID: 3704 at fs/f2fs/checkpoint.c:199 set_sbi_flag fs/f2fs/f2fs.h:2047 [inline] WARNING: CPU: 2 PID: 3704 at fs/f2fs/checkpoint.c:199 f2fs_is_valid_blkaddr+0xea2/0x1140 fs/f2fs/checkpoint.c:198 Modules linked in: CPU: 2 PID: 3704 Comm: syz-executor.0 Not tainted 5.18.0-syzkaller-11179-gc3a9a3c5f559 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:f2fs_is_valid_blkaddr+0xea2/0x1140 fs/f2fs/checkpoint.c:199 Code: 89 e2 48 89 df 48 c7 c6 c0 df 1b 8a e8 1f 86 a6 05 48 8d bb b8 00 00 00 be 08 00 00 00 e8 e6 23 2e fe f0 80 8b b8 00 00 00 04 <0f> 0b e9 12 f7 ff ff e8 f2 60 e1 fd 48 8d 7b 10 48 b8 00 00 00 00 RSP: 0018:ffffc90002d0f090 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff888049b78000 RCX: ffffffff8399109a RDX: ffffed100936f018 RSI: 0000000000000008 RDI: ffff888049b780b8 RBP: 0000000000000007 R08: 0000000000000001 R09: ffff888049b780bf R10: ffffed100936f017 R11: 0000000000000001 R12: 00000000ffff0000 R13: ffff88801ca75400 R14: 0000000000004000 R15: 0000000000000200 FS: 0000000000000000(0000) GS:ffff88802cc00000(0063) knlGS:0000000058074380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f6f36110 CR3: 000000006ec04000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_do_write_data_page+0x55d/0x1c50 fs/f2fs/data.c:2599 f2fs_write_single_data_page+0x11eb/0x18a0 fs/f2fs/data.c:2757 f2fs_write_cache_pages+0xae2/0x2100 fs/f2fs/data.c:3030 __f2fs_write_data_pages fs/f2fs/data.c:3180 [inline] f2fs_write_data_pages+0x4d5/0x1260 fs/f2fs/data.c:3207 do_writepages+0x1ab/0x690 mm/page-writeback.c:2443 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] filemap_fdatawrite_wbc+0x143/0x1b0 mm/filemap.c:378 __filemap_fdatawrite_range+0xb4/0xf0 mm/filemap.c:421 f2fs_sync_dirty_inodes+0x276/0xdb0 fs/f2fs/checkpoint.c:1103 block_operations+0x28f/0xc40 fs/f2fs/checkpoint.c:1234 f2fs_write_checkpoint+0x607/0x4c70 fs/f2fs/checkpoint.c:1643 kill_f2fs_super+0x32c/0x3c0 fs/f2fs/super.c:4510 deactivate_locked_super+0x94/0x160 fs/super.c:332 deactivate_super+0xad/0xd0 fs/super.c:363 cleanup_mnt+0x3a2/0x540 fs/namespace.c:1186 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x53/0x62 RIP: 0023:0xf7ff7549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000ffc6cb7c EFLAGS: 00000292 ORIG_RAX: 0000000000000034 RAX: 0000000000000000 RBX: 00000000ffc6cc20 RCX: 000000000000000a RDX: 00000000f6f36000 RSI: 0000000000000000 RDI: 00000000f6eaf470 RBP: 00000000ffc6cc20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi