syzbot


kernel BUG in f2fs_evict_inode (2)

Status: upstream: reported C repro on 2023/11/06 18:33
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+1cfe9a7ec4b1ea62e2da@syzkaller.appspotmail.com
First crash: 364d, last: 27d
Fix commit to backport (bisect log) :
tree: upstream
commit 192b8fb8d1c8ca3c87366ebbef599fa80bb626b8
Author: Chao Yu <chao@kernel.org>
Date: Tue Jun 4 07:56:36 2024 +0000

  f2fs: fix to don't dirty inode for readonly filesystem

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: kernel BUG in f2fs_evict_inode (log)
Repro: C syz .config
  
Bug presence (1)
Date Name Commit Repro Result
2024/10/26 upstream (ToT) 850925a8133c C [report] SYZFAIL: NL802154_CMD_SET_SHORT_ADDR failed
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in f2fs_evict_inode f2fs C error 135 405d 684d 23/28 fixed on 2023/10/12 12:47
linux-4.19 kernel BUG at fs/f2fs/inode.c:LINE! f2fs tmpfs C error 3 682d 1484d 0/1 upstream: reported C repro on 2020/10/13 04:23
linux-6.1 kernel BUG in f2fs_evict_inode origin:upstream C 93 11d 573d 0/3 upstream: reported C repro on 2023/04/11 09:45
upstream kernel BUG in f2fs_evict_inode (2) f2fs C error 575 83d 362d 27/28 fixed on 2024/08/14 03:44
linux-4.14 kernel BUG in f2fs_evict_inode f2fs tmpfs C 1 612d 680d 0/1 upstream: reported C repro on 2022/12/26 05:49
upstream kernel BUG in f2fs_evict_inode (3) f2fs C error 33 31d 78d 28/28 fixed on 2024/10/22 11:57
linux-5.15 kernel BUG in f2fs_evict_inode 3 571d 591d 0/3 auto-obsoleted due to no activity on 2023/08/12 09:15
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/10/24 18:29 15m retest repro linux-5.15.y OK log
2024/10/05 20:07 14m retest repro linux-5.15.y report log
2024/10/05 20:07 18m retest repro linux-5.15.y OK log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/09/04 07:09 9h47m fix candidate upstream OK (1) job log
2024/04/11 05:19 2h25m bisect fix linux-5.15.y OK (0) job log log
2024/03/02 13:28 50m bisect fix linux-5.15.y OK (0) job log log
2024/01/18 10:09 1h14m bisect fix linux-5.15.y OK (0) job log log
2023/12/18 01:33 1h08m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:833!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 3971 Comm: syz-executor169 Not tainted 5.15.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : f2fs_evict_inode+0x1358/0x1564 fs/f2fs/inode.c:833
lr : f2fs_evict_inode+0x1358/0x1564 fs/f2fs/inode.c:833
sp : ffff80001c7075e0
x29: ffff80001c707680 x28: 1fffe0001be25426 x27: 1fffe0001be25398
x26: ffff0000d6170000 x25: 0000000000000000 x24: ffff0000df129cc0
x23: ffff0000ca556087 x22: 0000000000100902 x21: dfff800000000000
x20: ffff0000df12a130 x19: ffff0000df129c80 x18: 0000000000000000
x17: 0000000000000000 x16: ffff80000824daf4 x15: 000000000000a000
x14: 1ffff0000292806a x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000da961b40
x8 : ffff80000a340e7c x7 : ffff80000a39ee5c x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000a34070c
x2 : 0000000000000001 x1 : 0000000000000002 x0 : 0000000000000000
Call trace:
 f2fs_evict_inode+0x1358/0x1564 fs/f2fs/inode.c:833
 evict+0x260/0x68c fs/inode.c:587
 dispose_list fs/inode.c:620 [inline]
 evict_inodes+0x6b4/0x74c fs/inode.c:670
 generic_shutdown_super+0x9c/0x29c fs/super.c:454
 kill_block_super+0x70/0xdc fs/super.c:1414
 kill_f2fs_super+0x268/0x338 fs/f2fs/super.c:4539
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 35ffffa9 f85f03bb 17fffe2b 97860d25 (d4210000) 
---[ end trace 03c575ac2f907ed1 ]---

Crashes (207):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/12 05:33 linux-5.15.y 284087d4f7d5 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/04 05:51 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in f2fs_evict_inode
2023/11/17 22:43 linux-5.15.y 80529b4968a8 cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in f2fs_evict_inode
2024/10/09 06:57 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/18 03:11 linux-5.15.y 7e89efd3ae1c dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/13 20:15 linux-5.15.y 7e89efd3ae1c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/13 12:31 linux-5.15.y 7e89efd3ae1c 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/13 00:57 linux-5.15.y 7e89efd3ae1c 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/13 00:55 linux-5.15.y 7e89efd3ae1c 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/12 12:50 linux-5.15.y 7e89efd3ae1c 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/10 07:18 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/09 17:37 linux-5.15.y 7e89efd3ae1c a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/08 22:12 linux-5.15.y 7e89efd3ae1c 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/08 02:55 linux-5.15.y 7e89efd3ae1c de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/08 02:51 linux-5.15.y 7e89efd3ae1c de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/07 18:24 linux-5.15.y 7e89efd3ae1c 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/07 08:25 linux-5.15.y 7e89efd3ae1c 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/06 17:12 linux-5.15.y 7e89efd3ae1c 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/06 04:38 linux-5.15.y 7e89efd3ae1c e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/05 23:29 linux-5.15.y 7e89efd3ae1c e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/05 11:50 linux-5.15.y 7e89efd3ae1c e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/05 11:48 linux-5.15.y 7e89efd3ae1c e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/04 23:25 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/03 21:07 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/03 18:11 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/03 09:48 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/03 07:58 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/03 01:38 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/01 22:09 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/08/01 02:55 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/31 11:50 linux-5.15.y 7e89efd3ae1c 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/31 06:49 linux-5.15.y 7e89efd3ae1c 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/30 20:42 linux-5.15.y 7e89efd3ae1c 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/30 05:16 linux-5.15.y 7e89efd3ae1c 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/29 13:58 linux-5.15.y 7e89efd3ae1c 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/29 05:40 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/28 15:06 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/28 01:50 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/27 12:58 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/26 20:09 linux-5.15.y 7c6d66f0266f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/26 02:06 linux-5.15.y 7c6d66f0266f 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/25 14:04 linux-5.15.y 7c6d66f0266f 466a14e5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/24 17:45 linux-5.15.y 7c6d66f0266f d1a1b0ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/24 04:14 linux-5.15.y 7c6d66f0266f 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/23 17:37 linux-5.15.y 7c6d66f0266f e50e8da5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/23 17:37 linux-5.15.y 7c6d66f0266f e50e8da5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/23 03:36 linux-5.15.y 7c6d66f0266f 708c10c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/22 23:33 linux-5.15.y 7c6d66f0266f df655b64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/07/22 08:48 linux-5.15.y 7c6d66f0266f b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/03/09 23:18 linux-5.15.y 574362648507 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2023/11/06 18:33 linux-5.15.y 12952a23a5da 78fae24e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
* Struck through repros no longer work on HEAD.