syzbot


memory leak in path_openat

Status: closed as invalid on 2020/03/07 22:28
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+9c064b9ab4dbb724c806@syzkaller.appspotmail.com
First crash: 1579d, last: 1579d
Discussions (1)
Title Replies (including bot) Last reply
memory leak in path_openat 1 (2) 2020/03/07 22:28
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in path_openat (2) fs C 5 136d 1163d 0/26 upstream: reported C repro on 2021/02/17 05:21

Sample crash report:
BUG: memory leak
unreferenced object 0xffff88811f95b400 (size 256):
  comm "syz-executor609", pid 6975, jiffies 4294945087 (age 7.980s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    a0 2b ab 1b 82 88 ff ff c0 3c 80 2b 81 88 ff ff  .+.......<.+....
  backtrace:
    [<00000000aa112990>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000aa112990>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000aa112990>] slab_alloc mm/slab.c:3320 [inline]
    [<00000000aa112990>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3484
    [<00000000a62a216f>] kmem_cache_zalloc include/linux/slab.h:660 [inline]
    [<00000000a62a216f>] __alloc_file+0x28/0x130 fs/file_table.c:101
    [<00000000db4f5560>] alloc_empty_file+0x50/0xd0 fs/file_table.c:151
    [<00000000178121b2>] path_openat+0x52/0x1dd0 fs/namei.c:3526
    [<00000000b9f51901>] do_filp_open+0xaa/0x130 fs/namei.c:3567
    [<000000008b6c278b>] do_sys_open+0x253/0x330 fs/open.c:1097
    [<00000000de529158>] __do_sys_openat fs/open.c:1124 [inline]
    [<00000000de529158>] __se_sys_openat fs/open.c:1118 [inline]
    [<00000000de529158>] __x64_sys_openat+0x24/0x30 fs/open.c:1118
    [<000000002f0aeb7b>] do_syscall_64+0x73/0x220 arch/x86/entry/common.c:294
    [<00000000720f3b5c>] entry_SYSCALL_64_after_hwframe+0x44/0xa9


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/29 12:30 upstream bf8d1cd43865 af6b8ef8 .config console log report syz C ci-upstream-gce-leak
* Struck through repros no longer work on HEAD.