syzbot


kernel BUG in f2fs_evict_inode (2)

Status: upstream: reported C repro on 2023/11/06 18:33
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+1cfe9a7ec4b1ea62e2da@syzkaller.appspotmail.com
First crash: 206d, last: 6d19h
Bug presence (1)
Date Name Commit Repro Result
2023/11/17 upstream (ToT) 791c8ab095f7 C [report] kernel BUG in f2fs_evict_inode
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 246d 525d 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 523d 1325d 0/1 upstream: reported C repro on 2020/10/13 04:23
linux-6.1 kernel BUG in f2fs_evict_inode origin:upstream C 15 17d 415d 0/3 upstream: reported C repro on 2023/04/11 09:45
upstream kernel BUG in f2fs_evict_inode (2) f2fs C error 165 2d10h 204d 0/26 upstream: reported C repro on 2023/11/08 15:01
linux-4.14 kernel BUG in f2fs_evict_inode f2fs tmpfs C 1 453d 521d 0/1 upstream: reported C repro on 2022/12/26 05:49
linux-5.15 kernel BUG in f2fs_evict_inode 3 412d 433d 0/3 auto-obsoleted due to no activity on 2023/08/12 09:15
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/04/11 05:19 2h25m bisect fix linux-5.15.y job log (0) log
2024/03/02 13:28 50m bisect fix linux-5.15.y job log (0) log
2024/01/18 10:09 1h14m bisect fix linux-5.15.y job log (0) log
2023/12/18 01:33 1h08m bisect fix linux-5.15.y job log (0) log

Sample crash report:
F2FS-fs (loop0): Found nat_bits in checkpoint
F2FS-fs (loop0): recover fsync data on readonly fs
F2FS-fs (loop0): Mounted with checkpoint version = 48b305e4
F2FS-fs (loop0): Corrupted max_depth of 3: 16777217
------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:833!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3499 Comm: syz-executor595 Not tainted 5.15.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:f2fs_evict_inode+0x14ec/0x1510 fs/f2fs/inode.c:833
Code: de e8 58 14 eb fd 31 ff 89 de e8 4f 14 eb fd 40 84 ed 75 24 e8 e5 11 eb fd e9 25 ec ff ff e8 db 11 eb fd 0f 0b e8 d4 11 eb fd <0f> 0b e8 cd 11 eb fd 0f 0b e9 02 ff ff ff e8 c1 11 eb fd e8 e4 76
RSP: 0018:ffffc90002bff930 EFLAGS: 00010293
RAX: ffffffff8395107c RBX: 0000000000000002 RCX: ffff888013385940
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff839503b5 R09: ffffed100e9132f7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807a134000
R13: ffff888074899300 R14: 1ffff1100e9132f6 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005645e8c57218 CR3: 000000007f5c4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x2a4/0x620 fs/inode.c:587
 dispose_list fs/inode.c:620 [inline]
 evict_inodes+0x601/0x6a0 fs/inode.c:670
 generic_shutdown_super+0x99/0x2c0 fs/super.c:454
 kill_block_super+0x7a/0xe0 fs/super.c:1414
 kill_f2fs_super+0x2ff/0x3c0 fs/f2fs/super.c:4501
 deactivate_locked_super+0xa0/0x110 fs/super.c:335
 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0x6a3/0x2480 kernel/exit.c:872
 do_group_exit+0x144/0x310 kernel/exit.c:994
 __do_sys_exit_group kernel/exit.c:1005 [inline]
 __se_sys_exit_group kernel/exit.c:1003 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1003
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fb7ed43e749
Code: Unable to access opcode bytes at RIP 0x7fb7ed43e71f.
RSP: 002b:00007fff7f2b3058 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fb7ed43e749
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007fb7ed4bf2b0 R08: ffffffffffffffb8 R09: 00007fff7f2b3130
R10: 00007fff7f2b2f80 R11: 0000000000000246 R12: 00007fb7ed4bf2b0
R13: 0000000000000000 R14: 00007fb7ed4c0020 R15: 00007fb7ed40cc90
 </TASK>
Modules linked in:
---[ end trace 258a1d28484a3cc0 ]---
RIP: 0010:f2fs_evict_inode+0x14ec/0x1510 fs/f2fs/inode.c:833
Code: de e8 58 14 eb fd 31 ff 89 de e8 4f 14 eb fd 40 84 ed 75 24 e8 e5 11 eb fd e9 25 ec ff ff e8 db 11 eb fd 0f 0b e8 d4 11 eb fd <0f> 0b e8 cd 11 eb fd 0f 0b e9 02 ff ff ff e8 c1 11 eb fd e8 e4 76
RSP: 0018:ffffc90002bff930 EFLAGS: 00010293
RAX: ffffffff8395107c RBX: 0000000000000002 RCX: ffff888013385940
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff839503b5 R09: ffffed100e9132f7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807a134000
R13: ffff888074899300 R14: 1ffff1100e9132f6 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005645e8c57218 CR3: 000000007f5c4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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/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
2024/04/22 20:39 linux-5.15.y c52b9710c83d 36c961ad .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:11 linux-5.15.y 80529b4968a8 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in f2fs_evict_inode
2024/05/24 02:12 linux-5.15.y 83655231580b 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/05/08 10:58 linux-5.15.y 284087d4f7d5 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/05/08 10:52 linux-5.15.y 284087d4f7d5 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/05/07 14:09 linux-5.15.y 284087d4f7d5 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/05/07 07:42 linux-5.15.y 284087d4f7d5 fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/05/07 07:41 linux-5.15.y 284087d4f7d5 fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/05/07 07:39 linux-5.15.y 284087d4f7d5 fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/05/04 19:47 linux-5.15.y 284087d4f7d5 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/29 05:05 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/23 14:53 linux-5.15.y c52b9710c83d 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/23 04:31 linux-5.15.y c52b9710c83d 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/21 08:56 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/21 08:56 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/21 08:56 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/21 08:51 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/04/21 08:49 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2024/01/23 02:35 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
2023/11/08 14:07 linux-5.15.y 12952a23a5da b93f63e8 .config console log report info [disk image] [vmlinux] [kernel image] 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.