syzbot


kernel BUG in f2fs_evict_inode (4)

Status: upstream: reported C repro on 2024/11/16 12:19
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+5c81eb8c0a380fa578b5@syzkaller.appspotmail.com
First crash: 449d, last: 50m
Cause bisection: introduced by (bisect log) :
commit acff9409dd40beaca2bd982678d222e2740ad84b
Author: Jaegeuk Kim <jaegeuk@kernel.org>
Date: Tue Nov 12 01:04:58 2024 +0000

  Revert "f2fs: remove unreachable lazytime mount option parsing"

Crash: WARNING in f2fs_init_xattr_caches (log)
Repro: C syz .config
  
Discussions (12)
Title Replies (including bot) Last reply
[syzbot] Monthly f2fs report (Jan 2026) 0 (1) 2026/01/05 08:20
[syzbot] Monthly f2fs report (Dec 2025) 0 (1) 2025/12/04 23:06
[syzbot] Monthly f2fs report (Nov 2025) 0 (1) 2025/11/03 13:10
[syzbot] Monthly f2fs report (Oct 2025) 0 (1) 2025/10/03 06:37
[syzbot] Monthly f2fs report (Sep 2025) 0 (1) 2025/09/02 09:20
[syzbot] Monthly f2fs report (Aug 2025) 0 (1) 2025/08/01 13:49
[syzbot] Monthly f2fs report (Jul 2025) 0 (1) 2025/07/01 09:24
[syzbot] Monthly f2fs report (May 2025) 0 (1) 2025/06/03 11:11
[syzbot] Monthly f2fs report (Apr 2025) 0 (1) 2025/04/29 12:47
[syzbot] Monthly f2fs report (Mar 2025) 0 (1) 2025/03/31 13:08
[syzbot] Monthly f2fs report (Dec 2024) 0 (1) 2024/12/19 21:34
[syzbot] [f2fs?] kernel BUG in f2fs_evict_inode (4) 0 (3) 2024/12/07 22:59
Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in f2fs_evict_inode f2fs -1 C error 135 861d 1140d 23/29 fixed on 2023/10/12 12:47
linux-4.19 kernel BUG at fs/f2fs/inode.c:LINE! f2fs tmpfs -1 C error 3 1138d 1940d 0/1 upstream: reported C repro on 2020/10/13 04:23
linux-6.1 kernel BUG in f2fs_evict_inode origin:upstream -1 C error 96 14d 1030d 0/3 upstream: reported C repro on 2023/04/11 09:45
linux-6.6 kernel BUG in f2fs_evict_inode (2) -1 1 15d 15d 0/2 upstream: reported on 2026/01/21 01:58
upstream kernel BUG in f2fs_evict_inode (2) f2fs -1 C error 575 540d 819d 27/29 fixed on 2024/08/14 03:44
linux-5.15 kernel BUG in f2fs_evict_inode (2) missing-backport origin:upstream -1 C done 271 13d 821d 0/3 upstream: reported C repro on 2023/11/06 18:33
linux-4.14 kernel BUG in f2fs_evict_inode f2fs tmpfs -1 C 1 1069d 1136d 0/1 upstream: reported C repro on 2022/12/26 05:49
upstream kernel BUG in f2fs_evict_inode (3) f2fs -1 C error 33 488d 535d 28/29 fixed on 2024/10/22 11:57
linux-6.6 kernel BUG in f2fs_evict_inode -1 8 147d 168d 0/2 auto-obsoleted due to no activity on 2025/12/19 03:18
linux-5.15 kernel BUG in f2fs_evict_inode -1 3 1027d 1048d 0/3 auto-obsoleted due to no activity on 2023/08/12 09:15
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/12/22 13:35 15m retest repro upstream report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2025/03/01 22:16 3h34m bisect fix upstream OK (0) job log log
2025/01/30 05:26 1h21m bisect fix upstream OK (0) job log log

Sample crash report:
F2FS-fs (loop0): inconsistent node block, node_type:1, nid:10, node_footer[nid:10,ino:10,ofs:0,cpver:0,blkaddr:0]
------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:944!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 5827 Comm: syz-executor139 Not tainted 6.15.0-rc6-syzkaller-00080-g1a80a098c606 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:f2fs_evict_inode+0x18b7/0x18e0 fs/f2fs/inode.c:944
Code: 02 00 00 00 e8 ba b5 ca fd 40 84 ed 75 2c e8 b0 b2 ca fd 4c 8b 2c 24 e9 18 e9 ff ff e8 a2 b2 ca fd 90 0f 0b e8 9a b2 ca fd 90 <0f> 0b e8 92 b2 ca fd 90 0f 0b 90 e9 ff fe ff ff e8 84 b2 ca fd e8
RSP: 0018:ffffc900043ef938 EFLAGS: 00010293
RAX: ffffffff83f53e66 RBX: ffff8880761591e0 RCX: ffff88802d78bc00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff888076159687 R09: 1ffff1100ec2b2d0
R10: dffffc0000000000 R11: ffffed100ec2b2d1 R12: ffff88807a7f4087
R13: 1ffff1100ec2b2d0 R14: 0000000000000002 R15: ffff888076159680
FS:  0000000000000000(0000) GS:ffff8881261fb000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb8e4dafdf8 CR3: 000000000dd38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x504/0x9c0 fs/inode.c:810
 __dentry_kill+0x209/0x660 fs/dcache.c:660
 dput+0x19f/0x2b0 fs/dcache.c:902
 __fput+0x68e/0xa70 fs/file_table.c:473
 task_work_run+0x1d1/0x260 kernel/task_work.c:227
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0x8d6/0x2550 kernel/exit.c:953
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1102
 __do_sys_exit_group kernel/exit.c:1113 [inline]
 __se_sys_exit_group kernel/exit.c:1111 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1111
 x64_sys_call+0x21ba/0x21c0 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb8e4d65bc9
Code: Unable to access opcode bytes at 0x7fb8e4d65b9f.
RSP: 002b:00007ffed9f30458 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb8e4d65bc9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007fb8e4de62d0 R08: ffffffffffffffb8 R09: 000055555cc424c0
R10: 000055555cc424c0 R11: 0000000000000246 R12: 00007fb8e4de62d0
R13: 0000000000000000 R14: 00007fb8e4de7040 R15: 00007fb8e4d33dd0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_evict_inode+0x18b7/0x18e0 fs/f2fs/inode.c:944
Code: 02 00 00 00 e8 ba b5 ca fd 40 84 ed 75 2c e8 b0 b2 ca fd 4c 8b 2c 24 e9 18 e9 ff ff e8 a2 b2 ca fd 90 0f 0b e8 9a b2 ca fd 90 <0f> 0b e8 92 b2 ca fd 90 0f 0b 90 e9 ff fe ff ff e8 84 b2 ca fd e8
RSP: 0018:ffffc900043ef938 EFLAGS: 00010293
RAX: ffffffff83f53e66 RBX: ffff8880761591e0 RCX: ffff88802d78bc00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff888076159687 R09: 1ffff1100ec2b2d0
R10: dffffc0000000000 R11: ffffed100ec2b2d1 R12: ffff88807a7f4087
R13: 1ffff1100ec2b2d0 R14: 0000000000000002 R15: ffff888076159680
FS:  0000000000000000(0000) GS:ffff8881261fb000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb8e4dafdf8 CR3: 0000000075f24000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1710):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/14 21:21 upstream 1a80a098c606 a4fa04ef .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2024/12/06 17:06 upstream b8f52214c61a 946d28f0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2025/03/24 22:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 875573af .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-gce-arm64 kernel BUG in f2fs_evict_inode
2025/06/04 04:29 upstream 5abc7438f1e9 a30356b7 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/05 01:35 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 23:40 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 18:58 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 17:08 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 14:08 upstream 5fd0a1df5d05 ea10c935 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 12:41 upstream 5fd0a1df5d05 42b01fab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 10:56 upstream de0674d9bc69 42b01fab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 09:00 upstream de0674d9bc69 42b01fab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 05:10 upstream de0674d9bc69 42b01fab .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/03 19:46 upstream 6bd9ed02871f 6df4c87a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/03 16:41 upstream 6bd9ed02871f 6df4c87a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/03 08:35 upstream dee65f79364c d78927dd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/03 04:49 upstream dee65f79364c d78927dd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/02 19:38 upstream 18f7fcd5e69a 018ebef2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/02 19:36 upstream 18f7fcd5e69a 018ebef2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/01 21:04 upstream 9f2693489ef8 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/01 17:48 upstream 162b42445b58 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/01 13:51 upstream 162b42445b58 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/01 07:22 upstream 162b42445b58 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/01 02:07 upstream 162b42445b58 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/31 21:06 upstream ad9a728a3388 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/31 14:04 upstream ad9a728a3388 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/31 11:40 upstream 283073725700 c75a2f6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/31 01:06 upstream 4d310797262f c75a2f6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/30 22:28 upstream 4d310797262f ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/30 16:12 upstream 4d310797262f ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/30 14:54 upstream 4d310797262f ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/30 11:40 upstream 4d310797262f ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/30 02:41 upstream 4d310797262f bfa73b7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/29 20:26 upstream 8dfce8991b95 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/29 15:33 upstream 8dfce8991b95 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/29 13:47 upstream 8dfce8991b95 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/29 11:15 upstream 8dfce8991b95 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/29 07:50 upstream 8dfce8991b95 0adc945e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/01/21 12:45 upstream 6c790212c588 6f1aa2f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in f2fs_evict_inode
2025/05/05 11:37 upstream 92a09c47464d b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in f2fs_evict_inode
2024/11/12 12:15 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2026/02/04 21:44 upstream 5fd0a1df5d05 ea10c935 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/04 15:26 upstream 5fd0a1df5d05 ea10c935 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/03 03:38 upstream dee65f79364c d78927dd .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/03 01:16 upstream dee65f79364c d78927dd .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/02 16:43 upstream 18f7fcd5e69a 018ebef2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/02 11:26 upstream 18f7fcd5e69a 018ebef2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/02 09:24 upstream 18f7fcd5e69a 018ebef2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/01 22:13 upstream 9f2693489ef8 6b8752f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/01 12:25 upstream 162b42445b58 6b8752f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/01 09:37 upstream 162b42445b58 6b8752f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/02/01 04:06 upstream 162b42445b58 6b8752f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/01/31 19:28 upstream ad9a728a3388 afc0c4d4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/01/31 17:27 upstream ad9a728a3388 afc0c4d4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/01/30 20:54 upstream 4d310797262f ea6dba22 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/01/30 05:05 upstream 4d310797262f bfa73b7b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/01/29 18:17 upstream 8dfce8991b95 aeb6fdd5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/01/29 04:19 upstream 8dfce8991b95 0adc945e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in f2fs_evict_inode
2026/01/11 16:08 linux-next f417b7ffcbef d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in f2fs_evict_inode
2026/01/22 01:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 101dad69 .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.