syzbot


memory leak in anon_inode_getfile

Status: auto-obsoleted due to no activity on 2022/09/28 05:02
Reported-by: syzbot+05d57384ff3551e412be@syzkaller.appspotmail.com
First crash: 696d, last: 690d
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/28 03:30 13m upstream OK log
2022/09/27 23:30 16m upstream OK log
2022/09/27 20:30 16m upstream OK log
2021/05/25 05:43 15m mudongliangabcd@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK

Sample crash report:
BUG: memory leak
unreferenced object 0xffff888110a91900 (size 256):
  comm "syz-executor211", pid 8491, jiffies 4294942148 (age 12.740s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    a0 00 fa 40 81 88 ff ff 40 a5 77 0f 81 88 ff ff  ...@....@.w.....
  backtrace:
    [<000000008662d8aa>] kmem_cache_zalloc include/linux/slab.h:654 [inline]
    [<000000008662d8aa>] __alloc_file+0x1f/0x130 fs/file_table.c:101
    [<00000000562208f1>] alloc_empty_file+0x69/0x120 fs/file_table.c:151
    [<00000000c7b89487>] alloc_file+0x33/0x1b0 fs/file_table.c:193
    [<000000004f85b409>] alloc_file_pseudo+0xb2/0x140 fs/file_table.c:233
    [<00000000a5bf5983>] anon_inode_getfile fs/anon_inodes.c:91 [inline]
    [<00000000a5bf5983>] anon_inode_getfile+0xaa/0x120 fs/anon_inodes.c:74
    [<00000000de248587>] io_uring_get_fd fs/io_uring.c:9172 [inline]
    [<00000000de248587>] io_uring_create fs/io_uring.c:9351 [inline]
    [<00000000de248587>] io_uring_setup+0x1139/0x1640 fs/io_uring.c:9385
    [<000000006a621706>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000004ecd388f>] entry_SYSCALL_64_after_hwframe+0x44/0xa9


Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2020/11/12 05:13 upstream 3d5e28bff7ad cca87986 .config log report syz C
ci-upstream-gce-leak 2020/11/09 11:21 upstream 9dbc1c03eeb5 64069d48 .config log report syz C
ci-upstream-gce-leak 2020/11/15 14:44 upstream e28c0d7c92c8 1bf9a662 .config log report syz
* Struck through repros no longer work on HEAD.