syzbot


kernel BUG in f2fs_put_super (3)

Status: upstream: reported on 2025/04/12 03:16
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+1badb065d3258a08f5e2@syzkaller.appspotmail.com
First crash: 7d05h, last: 7d05h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [f2fs?] kernel BUG in f2fs_put_super (3) 0 (1) 2025/04/12 03:16
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in f2fs_put_super f2fs 2 557d 587d 25/28 fixed on 2023/12/21 03:45
upstream kernel BUG in f2fs_put_super (2) f2fs 1 116d 112d 0/28 auto-obsoleted due to no activity on 2025/03/29 22:05

Sample crash report:
F2FS-fs (loop2): detect filesystem reference count leak during umount, type: 9, count: 4
------------[ cut here ]------------
kernel BUG at fs/f2fs/super.c:1674!
Internal error: Oops - BUG: 00000000f2000800 [#1]  SMP
Modules linked in:
CPU: 0 UID: 0 PID: 6486 Comm: syz-executor Not tainted 6.15.0-rc1-syzkaller-g0af2f6be1b42 #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : f2fs_put_super+0xea4/0xef0 fs/f2fs/super.c:1672
lr : f2fs_put_super+0xea4/0xef0 fs/f2fs/super.c:1672
sp : ffff8000a0c17960
x29: ffff8000a0c17a50 x28: ffff8000a0c17980 x27: dfff800000000000
x26: ffff700014182f30 x25: ffff0000cac24000 x24: 0000000000002ff5
x23: ffff0000cc3a6087 x22: ffff0000cc3a6087 x21: 0000000000000004
x20: 0000000000000009 x19: ffff0000c6fc0000 x18: 0000000000000008
x17: 00000000fffffffa x16: ffff8000833376cc x15: 0000000000000001
x14: 1ffff00014182e60 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000001 x10: 0000000000ff0100 x9 : 6e36701c3beb6900
x8 : 6e36701c3beb6900 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff8000a0c16fd8 x4 : ffff800090035280 x3 : ffff8000832c7c3c
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000058
Call trace:
 f2fs_put_super+0xea4/0xef0 fs/f2fs/super.c:1672 (P)
 generic_shutdown_super+0x12c/0x2bc fs/super.c:642
 kill_block_super+0x44/0x90 fs/super.c:1710
 kill_f2fs_super+0x2b4/0x590 fs/f2fs/super.c:5032
 deactivate_locked_super+0xc4/0x12c fs/super.c:473
 deactivate_super+0xe0/0x100 fs/super.c:506
 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1435
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1442
 task_work_run+0x230/0x2e0 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Code: aa1303e0 2a1f03e1 2a1403e3 97ff825f (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/08 03:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0af2f6be1b42 a2ada0e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in f2fs_put_super
* Struck through repros no longer work on HEAD.