syzbot


kernel BUG in f2fs_evict_inode (2)

Status: upstream: reported C repro on 2023/11/08 15:01
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+31e4659a3fe953aec2f4@syzkaller.appspotmail.com
First crash: 110d, last: 7d07h
Cause bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly f2fs report (Feb 2024) 0 (1) 2024/02/15 13:28
[syzbot] Monthly f2fs report (Nov 2023) 0 (1) 2023/11/22 09:42
[syzbot] [f2fs?] kernel BUG in f2fs_evict_inode (2) 0 (1) 2023/11/08 15:01
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in f2fs_evict_inode f2fs C error 135 148d 427d 23/26 fixed on 2023/10/12 12:47
linux-4.19 kernel BUG at fs/f2fs/inode.c:LINE! f2fs tmpfs C error 3 425d 1227d 0/1 upstream: reported C repro on 2020/10/13 04:23
linux-6.1 kernel BUG in f2fs_evict_inode origin:upstream C 8 14d 317d 0/3 upstream: reported C repro on 2023/04/11 09:45
linux-5.15 kernel BUG in f2fs_evict_inode (2) origin:upstream C 5 30d 108d 0/3 upstream: reported C repro on 2023/11/06 18:33
linux-4.14 kernel BUG in f2fs_evict_inode f2fs tmpfs C 1 355d 423d 0/1 upstream: reported C repro on 2022/12/26 05:49
linux-5.15 kernel BUG in f2fs_evict_inode 3 314d 335d 0/3 auto-obsoleted due to no activity on 2023/08/12 09:15
Last patch testing requests (6)
Created Duration User Patch Repo Result
2024/01/14 09:26 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/01/14 09:26 23m retest repro upstream OK log
2024/01/14 09:26 21m retest repro upstream OK log
2024/01/14 09:26 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/12/22 17:06 10m retest repro upstream report log
2023/12/22 17:06 11m retest repro upstream report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:904!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 PID: 5108 Comm: syz-executor413 Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:f2fs_evict_inode+0x157c/0x15a0 fs/f2fs/inode.c:904
Code: ff 89 de e8 66 6b b4 fd 40 84 ed 75 2d e8 5c 68 b4 fd 4c 8b 74 24 08 e9 c5 eb ff ff e8 4d 68 b4 fd 90 0f 0b e8 45 68 b4 fd 90 <0f> 0b e8 3d 68 b4 fd 90 0f 0b 90 e9 f2 fe ff ff e8 2f 68 b4 fd e8
RSP: 0018:ffffc9000462f9d8 EFLAGS: 00010293
RAX: ffffffff83df03fb RBX: 0000000000000002 RCX: ffff8880238b1dc0
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff83defcea R09: 1ffff1100eccddda
R10: dffffc0000000000 R11: ffffed100eccdddb R12: 1ffff1100eccdd4c
R13: ffff88807666ea20 R14: ffff88807666eed0 R15: dffffc0000000000
FS:  00005555563f43c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555563fd738 CR3: 00000000177f6000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 evict+0x2aa/0x630 fs/inode.c:665
 dispose_list fs/inode.c:698 [inline]
 evict_inodes+0x5f8/0x690 fs/inode.c:748
 generic_shutdown_super+0x9d/0x2d0 fs/super.c:631
 kill_block_super+0x44/0x90 fs/super.c:1680
 kill_f2fs_super+0x344/0x690 fs/f2fs/super.c:4930
 deactivate_locked_super+0xc6/0x130 fs/super.c:477
 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267
 task_work_run+0x250/0x310 kernel/task_work.c:180
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:108 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline]
 syscall_exit_to_user_mode+0x167/0x370 kernel/entry/common.c:212
 do_syscall_64+0x108/0x240 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7fbe8c756eb7
Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffca844a9d8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00000000000c7bc0 RCX: 00007fbe8c756eb7
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffca844aa90
RBP: 00007ffca844aa90 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffca844bb50
R13: 00005555563f5700 R14: 431bde82d7b634db R15: 00007ffca844baf4
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_evict_inode+0x157c/0x15a0 fs/f2fs/inode.c:904
Code: ff 89 de e8 66 6b b4 fd 40 84 ed 75 2d e8 5c 68 b4 fd 4c 8b 74 24 08 e9 c5 eb ff ff e8 4d 68 b4 fd 90 0f 0b e8 45 68 b4 fd 90 <0f> 0b e8 3d 68 b4 fd 90 0f 0b 90 e9 f2 fe ff ff e8 2f 68 b4 fd e8
RSP: 0018:ffffc9000462f9d8 EFLAGS: 00010293
RAX: ffffffff83df03fb RBX: 0000000000000002 RCX: ffff8880238b1dc0
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff83defcea R09: 1ffff1100eccddda
R10: dffffc0000000000 R11: ffffed100eccdddb R12: 1ffff1100eccdd4c
R13: ffff88807666ea20 R14: ffff88807666eed0 R15: dffffc0000000000
FS:  00005555563f43c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555563fd738 CR3: 00000000177f6000 CR4: 0000000000350ef0

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/15 17:26 upstream 8d3dea210042 d9b1cdd5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in f2fs_evict_inode
2023/11/17 23:12 upstream 6bc40e44f1dd cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2023/11/04 16:40 upstream 90b0c2b2edd1 500bfdc4 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2023/11/24 07:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 5b429f39 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in f2fs_evict_inode
2023/11/04 15:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in f2fs_evict_inode
2023/11/12 02:57 upstream 3ca112b71f35 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root kernel BUG in f2fs_evict_inode
2023/11/08 22:58 upstream 305230142ae0 df3908d6 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in f2fs_evict_inode
2024/02/15 06:55 upstream 8d3dea210042 d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2023/12/31 08:04 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2023/12/25 21:12 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in f2fs_evict_inode
2023/11/05 07:46 upstream aea6bf908d73 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2023/11/04 18:06 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in f2fs_evict_inode
2023/11/04 14:50 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2023/11/21 04:16 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in f2fs_evict_inode
2024/02/15 10:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f735966ee23c d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in f2fs_evict_inode
2023/12/08 16:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in f2fs_evict_inode
2023/11/27 17:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in f2fs_evict_inode
2023/11/04 15:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in f2fs_evict_inode
* Struck through repros no longer work on HEAD.