syzbot


kernel BUG at fs/f2fs/inode.c:LINE!

Status: upstream: reported C repro on 2020/09/30 06:02
Reported-by: syzbot+eed3a60015923d6c5c1a@syzkaller.appspotmail.com
First crash: 1363d, last: 849d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at fs/f2fs/inode.c:LINE! f2fs tmpfs C error 3 549d 1350d 0/1 upstream: reported C repro on 2020/10/13 04:23
upstream kernel BUG at fs/f2fs/inode.c:LINE! f2fs C 1 2257d 2256d 8/27 fixed on 2018/07/09 18:05
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/02/14 08:32 14m retest repro linux-4.14.y report log
2022/10/04 12:30 10m retest repro linux-4.14.y error OK
Fix bisection attempts (18)
Created Duration User Patch Repo Result
2022/03/29 19:40 14m bisect fix linux-4.14.y error job log (0)
2022/02/26 12:36 31m bisect fix linux-4.14.y job log (0) log
2022/01/27 11:33 32m bisect fix linux-4.14.y job log (0) log
2021/12/28 11:05 28m bisect fix linux-4.14.y job log (0) log
2021/11/28 10:41 23m bisect fix linux-4.14.y job log (0) log
2021/10/29 10:14 27m bisect fix linux-4.14.y job log (0) log
2021/09/26 04:02 28m bisect fix linux-4.14.y job log (0) log
2021/08/27 02:32 23m bisect fix linux-4.14.y job log (0) log
2021/07/28 01:16 31m bisect fix linux-4.14.y job log (0) log
2021/06/28 00:42 28m bisect fix linux-4.14.y job log (0) log
2021/05/28 23:57 24m bisect fix linux-4.14.y job log (0) log
2021/04/28 23:24 26m bisect fix linux-4.14.y job log (0) log
2021/03/29 20:39 23m bisect fix linux-4.14.y job log (0) log
2021/02/27 19:34 22m bisect fix linux-4.14.y job log (0) log
2021/01/28 19:06 26m bisect fix linux-4.14.y job log (0) log
2020/12/29 17:59 23m bisect fix linux-4.14.y job log (0) log
2020/11/29 10:45 24m bisect fix linux-4.14.y job log (0) log
2020/10/30 10:22 22m bisect fix linux-4.14.y job log (0) log

Sample crash report:
F2FS-fs (loop0): invalid crc value
F2FS-fs (loop0): Try to recover 2th superblock, ret: 0
F2FS-fs (loop0): Mounted with checkpoint version = 27d57943
SELinux: (dev loop0, type f2fs) getxattr errno 2
------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:600!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 6350 Comm: syz-executor951 Not tainted 4.14.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809b4ce540 task.stack: ffff888086440000
RIP: 0010:f2fs_evict_inode+0xd97/0x1070 fs/f2fs/inode.c:600
RSP: 0018:ffff888086447aa0 EFLAGS: 00010297
RAX: ffff88809b4ce540 RBX: ffff888097fb6600 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888097fb6684
RBP: ffff888082aa6000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88809b4ce540 R12: ffff888097faa2c0
R13: ffff888097fab068 R14: ffff888082aa63d0 R15: dffffc0000000000
FS:  0000000001d1f880(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561cb953b4d0 CR3: 00000000a9b11000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 evict+0x2c8/0x700 fs/inode.c:555
 iput_final fs/inode.c:1524 [inline]
 iput+0x458/0x7e0 fs/inode.c:1551
 dentry_unlink_inode+0x25c/0x310 fs/dcache.c:387
 __dentry_kill+0x320/0x550 fs/dcache.c:591
 dentry_kill fs/dcache.c:632 [inline]
 dput.part.0+0x56f/0x710 fs/dcache.c:847
 dput fs/dcache.c:811 [inline]
 do_one_tree fs/dcache.c:1507 [inline]
 shrink_dcache_for_umount+0xcb/0x270 fs/dcache.c:1521
 generic_shutdown_super+0x68/0x370 fs/super.c:431
 kill_block_super+0x95/0xe0 fs/super.c:1161
 deactivate_locked_super+0x6c/0xd0 fs/super.c:319
 mount_fs+0x23a/0x2a0 fs/super.c:1273
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2549 [inline]
 do_mount+0xe53/0x2a00 fs/namespace.c:2879
 SYSC_mount fs/namespace.c:3095 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3072
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x44703a
RSP: 002b:00007ffcb92c5f08 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffcb92c5f60 RCX: 000000000044703a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffcb92c5f20
RBP: 00007ffcb92c5f20 R08: 00007ffcb92c5f60 R09: 00007ffc00000015
R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000008
R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003
Code: ad fe 48 c7 c2 e0 3d db 86 be 18 01 00 00 48 c7 c7 40 3e db 86 c6 05 55 d5 df 05 01 e8 ac fe 98 fe e9 35 fc ff ff e8 c9 1b ad fe <0f> 0b 48 8b 7c 24 28 e8 8d ee d6 fe e9 ec f2 ff ff e8 83 ee d6 
RIP: f2fs_evict_inode+0xd97/0x1070 fs/f2fs/inode.c:600 RSP: ffff888086447aa0
---[ end trace f3b06f564c5dba73 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/30 06:01 linux-4.14.y cbfa1702aaf6 5abc3f1a .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.