syzbot


memory leak in gfs2_trans_begin

Status: auto-obsoleted due to no activity on 2024/03/07 17:43
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+45a7939b6f493f374ee1@syzkaller.appspotmail.com
First crash: 260d, last: 175d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [gfs2?] memory leak in gfs2_trans_begin 0 (1) 2023/09/07 23:04
Last patch testing requests (6)
Created Duration User Patch Repo Result
2024/02/07 03:42 19m retest repro upstream OK log
2024/02/07 03:42 17m retest repro upstream OK log
2023/11/28 16:58 24m retest repro upstream report log
2023/11/28 16:58 19m retest repro upstream report log
2023/09/19 15:33 30m retest repro upstream report log
2023/09/19 15:33 24m retest repro upstream report log

Sample crash report:
2023/09/05 14:30:51 executed programs: 30
BUG: memory leak
unreferenced object 0xffff8881214cbc60 (size 144):
  comm "syz-executor.7", pid 5069, jiffies 4294970978 (age 14.110s)
  hex dump (first 32 bytes):
    ae 04 1f 82 ff ff ff ff 02 00 00 00 00 00 00 00  ................
    08 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff821f3e39>] kmem_cache_zalloc include/linux/slab.h:710 [inline]
    [<ffffffff821f3e39>] gfs2_trans_begin+0x29/0xa0 fs/gfs2/trans.c:115
    [<ffffffff821f04ae>] gfs2_statfs_sync+0x1ae/0x250 fs/gfs2/super.c:298
    [<ffffffff821f0d01>] gfs2_make_fs_ro+0x1b1/0x430 fs/gfs2/super.c:566
    [<ffffffff821f14ac>] gfs2_put_super+0x2bc/0x2d0 fs/gfs2/super.c:623
    [<ffffffff8168f43e>] generic_shutdown_super+0x9e/0x170 fs/super.c:693
    [<ffffffff8168f58d>] kill_block_super+0x1d/0x50 fs/super.c:1646
    [<ffffffff821d4a7f>] gfs2_kill_sb+0x1bf/0x1f0 fs/gfs2/ops_fstype.c:1795
    [<ffffffff8169065a>] deactivate_locked_super+0x4a/0x110 fs/super.c:481
    [<ffffffff816907bc>] deactivate_super fs/super.c:514 [inline]
    [<ffffffff816907bc>] deactivate_super+0x9c/0xb0 fs/super.c:510
    [<ffffffff816cd041>] cleanup_mnt+0x121/0x210 fs/namespace.c:1254
    [<ffffffff812d2b5f>] task_work_run+0x8f/0xe0 kernel/task_work.c:179
    [<ffffffff81361556>] resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
    [<ffffffff81361556>] exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
    [<ffffffff81361556>] exit_to_user_mode_prepare+0x116/0x140 kernel/entry/common.c:204
    [<ffffffff84b29c41>] __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
    [<ffffffff84b29c41>] syscall_exit_to_user_mode+0x21/0x50 kernel/entry/common.c:296
    [<ffffffff84b25fb4>] do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd


Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/05 14:37 upstream 3f86ed6ec0b3 8bc9053e .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in gfs2_trans_begin
2023/09/03 22:59 upstream db906f0ca6bb 696ea0d2 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in gfs2_trans_begin
* Struck through repros no longer work on HEAD.