syzbot


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

Status: upstream: reported C repro on 2020/09/23 09:54
Reported-by: syzbot+255273ac0964bf0423f2@syzkaller.appspotmail.com
First crash: 734d, last: 16d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at fs/f2fs/node.c:LINE! C 1 1620d 1620d 9/24 fixed on 2018/07/09 18:05

Sample crash report:
F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
F2FS-fs (loop0): invalid crc value
F2FS-fs (loop0): Try to recover 2th superblock, ret: 0
F2FS-fs (loop0): Mounted with checkpoint version = 753bd00b
------------[ cut here ]------------
kernel BUG at fs/f2fs/node.c:2780!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7952 Comm: syz-executor292 Not tainted 4.14.289-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
task: ffff8880b3756380 task.stack: ffff8880a1a50000
RIP: 0010:destroy_node_manager+0x4f4/0x780 fs/f2fs/node.c:2780
RSP: 0018:ffff8880a1a578c0 EFLAGS: 00010297
RAX: ffff8880b3756380 RBX: ffff8880b353e130 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8880b353e154
RBP: ffff8880b353e040 R08: ffffffff8b9c1dc0 R09: 0000000000040590
R10: ffff8880b3756c30 R11: ffff8880b3756380 R12: ffff8880b353e158
R13: ffffed10166b791e R14: ffff8880b353e130 R15: ffff8880b35bc8c0
FS:  00005555563e6300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055860be86000 CR3: 00000000b4d8d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 f2fs_put_super+0x3e1/0x840 fs/f2fs/super.c:835
 generic_shutdown_super+0x144/0x370 fs/super.c:446
 kill_block_super+0x95/0xe0 fs/super.c:1161
 deactivate_locked_super+0x6c/0xd0 fs/super.c:319
 deactivate_super+0x7f/0xa0 fs/super.c:350
 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f9534df7827
RSP: 002b:00007fff73577d98 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f9534df7827
RDX: 00007fff73577e57 RSI: 000000000000000a RDI: 00007fff73577e50
RBP: 00007fff73577e50 R08: 00000000ffffffff R09: 00007fff73577c30
R10: 00005555563e7683 R11: 0000000000000202 R12: 00007fff73578ec0
R13: 00005555563e75f0 R14: 00007fff73577dc0 R15: 0000000000000001
Code: 40 6c 00 00 00 00 48 81 c4 d8 03 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 3a 8f 89 fe 0f 0b e8 33 8f 89 fe 0f 0b e8 2c 8f 89 fe <0f> 0b e8 25 8f 89 fe 0f 0b e8 1e 8f 89 fe 48 8b 7c 24 28 e8 74 
RIP: destroy_node_manager+0x4f4/0x780 fs/f2fs/node.c:2780 RSP: ffff8880a1a578c0
---[ end trace 3e0defd2ac5b2f34 ]---

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2022/08/21 23:27 linux-4.14.y b641242202ed 22343af4 .config log report syz C
ci2-linux-4-14 2022/06/03 16:34 linux-4.14.y 501eec4f9e13 a9767fb2 .config log report syz C
ci2-linux-4-14 2022/02/08 01:12 linux-4.14.y b86ee2b7ae42 a9767fb2 .config log report syz C
ci2-linux-4-14 2022/01/06 07:11 linux-4.14.y bfdef05c8da4 a9767fb2 .config log report syz C
ci2-linux-4-14 2021/11/29 12:59 linux-4.14.y 66722c42ec91 a9767fb2 .config log report syz C
ci2-linux-4-14 2021/10/30 12:30 linux-4.14.y cd5296934610 a9767fb2 .config log report syz C
ci2-linux-4-14 2021/09/30 12:02 linux-4.14.y f11944f1aa1c a9767fb2 .config log report syz C
ci2-linux-4-14 2021/08/31 11:38 linux-4.14.y 35c4ba160ab6 a9767fb2 .config log report syz C
ci2-linux-4-14 2021/07/09 22:29 linux-4.14.y 313e82bbefb3 a9767fb2 .config log report syz C
ci2-linux-4-14 2021/06/09 22:07 linux-4.14.y a6b2dae3ee3a a9767fb2 .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (364):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2022/07/22 22:51 linux-4.14.y 9c3bf9cf362f 22343af4 .config log report syz C kernel BUG in destroy_node_manager
ci2-linux-4-14 2020/10/01 06:47 linux-4.14.y cbfa1702aaf6 a9767fb2 .config log report syz C
ci2-linux-4-14 2020/09/23 10:17 linux-4.14.y cbfa1702aaf6 287cd75a .config log report syz C
ci2-linux-4-14 2022/09/11 07:09 linux-4.14.y 65640c873dcf 356d8217 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/09/08 16:32 linux-4.14.y 65640c873dcf f3027468 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/08/23 19:46 linux-4.14.y b641242202ed cea8b0f7 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/07/22 20:50 linux-4.14.y 9c3bf9cf362f 22343af4 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/07/04 15:26 linux-4.14.y ed2e96e11936 bff65f44 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/06/06 05:55 linux-4.14.y 501eec4f9e13 c8857892 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/05/04 16:04 linux-4.14.y e3a56aaade89 dc9e5259 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/04/08 01:58 linux-4.14.y 74766a973637 c6ff3e05 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/03/23 22:07 linux-4.14.y 004bfaafc45c 5ff41e94 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/03/18 16:34 linux-4.14.y eb045674aab3 e2d91b1d .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/03/17 04:33 linux-4.14.y eb045674aab3 dfa9a8ed .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/03/12 16:23 linux-4.14.y af48f51cb593 9e8eaa75 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/03/08 21:42 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/03/06 06:48 linux-4.14.y e853993d29aa 7bdd8b2c .config log report info kernel BUG in __build_free_nids
ci2-linux-4-14 2022/02/24 03:03 linux-4.14.y fa33f9094f36 6e821dbf .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2022/01/09 00:40 linux-4.14.y bfdef05c8da4 2ca0d385 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/12/07 06:42 linux-4.14.y 66722c42ec91 0230ba3e .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/12/04 02:22 linux-4.14.y 66722c42ec91 a617004c .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/08/01 11:11 linux-4.14.y ce4d1565392b 6c236867 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/05/10 21:41 linux-4.14.y 7d7d1c0ab3eb ca873091 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/24 14:31 linux-4.14.y cf256fbcbe34 17f0b706 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/24 12:47 linux-4.14.y cf256fbcbe34 17f0b706 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/23 21:41 linux-4.14.y cf256fbcbe34 17f0b706 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/23 16:36 linux-4.14.y cf256fbcbe34 17f0b706 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/23 04:40 linux-4.14.y cf256fbcbe34 590921a5 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/22 22:55 linux-4.14.y cf256fbcbe34 33c28d03 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/19 13:37 linux-4.14.y cf256fbcbe34 50f523d7 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/17 15:05 linux-4.14.y cf256fbcbe34 7e2b734b .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/09 20:23 linux-4.14.y 0cc244011f40 6a81331a .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/09 10:56 linux-4.14.y 0cc244011f40 6a81331a .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/06 21:48 linux-4.14.y bd634aa64163 6a81331a .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/04/06 02:40 linux-4.14.y bd634aa64163 6a81331a .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/31 22:36 linux-4.14.y bd634aa64163 6a81331a .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/23 17:07 linux-4.14.y cb83ddcd5332 e613994b .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/17 12:50 linux-4.14.y c7150cd2fa8c fdb2bb2c .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/17 03:25 linux-4.14.y c7150cd2fa8c fdb2bb2c .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/05 02:40 linux-4.14.y 397a88b2cc86 f89ed068 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/04 01:55 linux-4.14.y 397a88b2cc86 06ed56cd .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/03 22:48 linux-4.14.y 397a88b2cc86 06ed56cd .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/03 22:20 linux-4.14.y 397a88b2cc86 06ed56cd .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/03 10:46 linux-4.14.y 3242aa3a635c e5b64d68 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/03 08:42 linux-4.14.y 3242aa3a635c e5b64d68 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/02 12:44 linux-4.14.y 3242aa3a635c 92ead296 .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/02 03:15 linux-4.14.y 3242aa3a635c 183afb6c .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/03/01 23:33 linux-4.14.y 3242aa3a635c 183afb6c .config log report info kernel BUG in destroy_node_manager
ci2-linux-4-14 2021/02/11 22:48 linux-4.14.y 2c8a3fceddf0 a5f86b15 .config log report info kernel BUG in remove_inode_page
ci2-linux-4-14 2021/01/13 22:26 linux-4.14.y f79dc86058bc a945f0a3 .config log report info
ci2-linux-4-14 2020/09/23 09:53 linux-4.14.y cbfa1702aaf6 287cd75a .config log report info
* Struck through repros no longer work on HEAD.