syzbot


memory leak in reiserfs_fill_super

Status: fixed on 2020/02/18 14:31
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+1c6756baf4b16b94d2a6@syzkaller.appspotmail.com
Fix commit: 5474ca7da6f3 reiserfs: Fix memory leak of journal device string
First crash: 1766d, last: 1716d
Discussions (10)
Title Replies (including bot) Last reply
[PATCH 3.16 00/99] 3.16.84-rc1 review 112 (112) 2020/05/22 00:00
[PATCH 5.5 00/23] 5.5.2-stable review 31 (31) 2020/02/08 16:13
[PATCH 4.4 00/53] 4.4.213-stable review 63 (63) 2020/02/05 22:37
[PATCH 5.4 00/90] 5.4.18-stable review 107 (107) 2020/02/05 21:21
[PATCH 4.19 00/70] 4.19.102-stable review 77 (77) 2020/02/05 14:42
[PATCH 4.14 00/89] 4.14.170-stable review 93 (93) 2020/02/04 17:19
[PATCH 4.9 00/68] 4.9.213-stable review 72 (72) 2020/02/04 17:18
[PATCH] Re: memory leak in reiserfs_fill_super 2 (2) 2019/12/16 11:57
[PATCH 0/2] reiserfs: Two small fixes 3 (3) 2019/12/12 10:50
memory leak in reiserfs_fill_super 0 (1) 2019/12/12 01:25
Last patch testing requests (2)
Created Duration User Patch Repo Result
2019/12/14 10:32 17m tranmanphong@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 687dec9b OK
2019/12/14 07:18 3m tranmanphong@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 687dec9b error

Sample crash report:
executing program
BUG: memory leak
unreferenced object 0xffff888117a58b20 (size 32):
  comm "syz-executor963", pid 7131, jiffies 4294944656 (age 13.730s)
  hex dump (first 32 bytes):
    2e 00 63 75 72 69 74 79 2e 73 65 6c 69 6e 75 78  ..curity.selinux
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<000000002c0b7c1a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<000000002c0b7c1a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<000000002c0b7c1a>] slab_alloc mm/slab.c:3320 [inline]
    [<000000002c0b7c1a>] __do_kmalloc mm/slab.c:3654 [inline]
    [<000000002c0b7c1a>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3671
    [<0000000002d55657>] kstrdup+0x3a/0x70 mm/util.c:60
    [<00000000271def13>] reiserfs_fill_super+0x500/0x1120 fs/reiserfs/super.c:1946
    [<000000000062cb69>] mount_bdev+0x1ce/0x210 fs/super.c:1417
    [<00000000fea02e5e>] get_super_block+0x35/0x40 fs/reiserfs/super.c:2604
    [<00000000d6fdb57e>] legacy_get_tree+0x27/0x80 fs/fs_context.c:647
    [<000000007acefa69>] vfs_get_tree+0x2d/0xe0 fs/super.c:1547
    [<0000000087269e72>] do_new_mount fs/namespace.c:2822 [inline]
    [<0000000087269e72>] do_mount+0x97c/0xc80 fs/namespace.c:3142
    [<0000000075fa15ae>] __do_sys_mount fs/namespace.c:3351 [inline]
    [<0000000075fa15ae>] __se_sys_mount fs/namespace.c:3328 [inline]
    [<0000000075fa15ae>] __x64_sys_mount+0xc0/0x140 fs/namespace.c:3328
    [<000000007f4273c0>] do_syscall_64+0x73/0x220 arch/x86/entry/common.c:294
    [<00000000d5c3ac94>] entry_SYSCALL_64_after_hwframe+0x44/0xa9


Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/30 14:00 upstream 39bed42de2e7 5ed23f9a .config console log report syz C ci-upstream-gce-leak
2020/01/27 07:37 upstream a45ea48e2bcd dd56146d .config console log report syz C ci-upstream-gce-leak
2020/01/27 07:19 upstream a45ea48e2bcd dd56146d .config console log report syz C ci-upstream-gce-leak
2020/01/23 15:42 upstream 131701c697e8 3334d684 .config console log report syz C ci-upstream-gce-leak
2020/01/20 23:12 upstream def9d2780727 d2557fb5 .config console log report syz C ci-upstream-gce-leak
2020/01/17 07:22 upstream f4353c3e2aaf 3de7aabb .config console log report syz C ci-upstream-gce-leak
2020/01/16 11:38 upstream 51d69817519f f9b69507 .config console log report syz C ci-upstream-gce-leak
2020/01/12 05:44 upstream ac61145a725a 4c04afaa .config console log report syz C ci-upstream-gce-leak
2020/01/08 23:17 upstream ae6088216ce4 ddc3e859 .config console log report syz C ci-upstream-gce-leak
2019/12/30 03:46 upstream a99efa00891b af6b8ef8 .config console log report syz C ci-upstream-gce-leak
2019/12/23 14:51 upstream 46cf053efec6 be5c2c81 .config console log report syz C ci-upstream-gce-leak
2019/12/22 22:22 upstream c60174717544 8b967267 .config console log report syz C ci-upstream-gce-leak
2019/12/21 11:13 upstream 6398b9fc818e bc586918 .config console log report syz C ci-upstream-gce-leak
2019/12/20 14:13 upstream 7e0165b2f1a9 e30cbdae .config console log report syz C ci-upstream-gce-leak
2019/12/19 19:11 upstream 4a94c4332334 36650b4b .config console log report syz C ci-upstream-gce-leak
2019/12/17 10:34 upstream ea200dec5128 d13d7958 .config console log report syz C ci-upstream-gce-leak
2019/12/16 19:45 upstream 510c9788991c b80769fc .config console log report syz C ci-upstream-gce-leak
2019/12/15 23:14 upstream 07c4b9e9f71a eef6e580 .config console log report syz C ci-upstream-gce-leak
2019/12/12 11:15 upstream 687dec9b9459 d973f528 .config console log report syz C ci-upstream-gce-leak
2019/12/11 23:21 upstream 6794862a16ef 101194eb .config console log report syz C ci-upstream-gce-leak
* Struck through repros no longer work on HEAD.