syzbot


memory leak in create_io_worker (2)
Status: upstream: reported C repro on 2022/02/22 23:40
Reported-by: syzbot+7085977fe51df63eb2bf@syzkaller.appspotmail.com
First crash: 97d, last: 39d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in create_io_worker C 5 221d 260d 22/22 fixed on 2021/11/10 00:50
Patch testing requests:
Created Duration User Patch Repo Result
2022/03/02 03:29 7m phind.uet@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
executing program
executing program
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff888112ec56c0 (size 192):
  comm "syz-executor313", pid 30410, jiffies 4294958360 (age 18.100s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff816515c6>] kmalloc_node include/linux/slab.h:599 [inline]
    [<ffffffff816515c6>] kzalloc_node include/linux/slab.h:726 [inline]
    [<ffffffff816515c6>] create_io_worker+0x46/0x250 fs/io-wq.c:812
    [<ffffffff81652ab2>] create_worker_cb+0xd2/0xf0 fs/io-wq.c:331
    [<ffffffff81273853>] task_work_run+0x73/0xb0 kernel/task_work.c:164
    [<ffffffff8163dadd>] tracehook_notify_signal include/linux/tracehook.h:213 [inline]
    [<ffffffff8163dadd>] io_run_task_work fs/io_uring.c:2595 [inline]
    [<ffffffff8163dadd>] io_run_task_work fs/io_uring.c:2591 [inline]
    [<ffffffff8163dadd>] io_run_task_work_sig+0x6d/0x110 fs/io_uring.c:7684
    [<ffffffff8164ec75>] io_cqring_wait_schedule fs/io_uring.c:7701 [inline]
    [<ffffffff8164ec75>] io_cqring_wait fs/io_uring.c:7770 [inline]
    [<ffffffff8164ec75>] __do_sys_io_uring_enter+0x715/0xf60 fs/io_uring.c:10178
    [<ffffffff844b4875>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff844b4875>] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84600068>] entry_SYSCALL_64_after_hwframe+0x44/0xae


Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2022/02/18 23:34 upstream 7993e65fdd0f 3cd800e4 .config log report syz C memory leak in create_io_worker
ci-upstream-gce-leak 2022/04/17 21:42 upstream a2c29ccd9477 8bcc32a6 .config log report syz memory leak in create_io_worker