syzbot


memory leak in autofs_wait

Status: fixed on 2023/10/12 12:48
Subsystems: autofs
[Documentation on labels]
Reported-by: syzbot+5e53f70e69ff0c0a1c0c@syzkaller.appspotmail.com
Fix commit: ccbe77f7e45d autofs: fix memory leak of waitqueues in autofs_catatonic_mode
First crash: 667d, last: 292d
Discussions (18)
Title Replies (including bot) Last reply
[PATCH 5.4 310/367] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/20 11:31
[PATCH 4.19 237/273] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/20 11:31
[PATCH 5.15 001/110] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/20 11:30
[PATCH 4.14 149/186] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/20 11:30
[PATCH 5.10 01/83] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/20 11:30
[PATCH 6.1 001/139] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/20 11:28
[PATCH 6.5 002/211] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/20 11:27
[PATCH AUTOSEL 4.14 1/2] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 2 (2) 2023/09/07 15:44
[PATCH AUTOSEL 4.19 1/2] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 2 (2) 2023/09/07 15:44
[PATCH AUTOSEL 5.4 1/3] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/07 15:44
[PATCH AUTOSEL 5.10 1/3] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/07 15:44
[PATCH AUTOSEL 5.15 1/3] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/07 15:44
[PATCH AUTOSEL 6.1 1/4] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 2 (2) 2023/09/07 15:43
[PATCH AUTOSEL 6.4 2/5] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/07 15:43
[PATCH AUTOSEL 6.5 2/6] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 1 (1) 2023/09/07 15:43
[PATCH 1/2] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 3 (3) 2023/08/05 02:38
[PATCH 0/1] autofs: fix memory leak of waitqueues in autofs_catatonic_mode 7 (7) 2023/03/11 07:01
[syzbot] memory leak in autofs_wait 0 (1) 2022/05/25 14:02
Last patch testing requests (5)
Created Duration User Patch Repo Result
2023/05/16 02:11 10m retest repro upstream report log
2023/05/16 02:11 10m retest repro upstream report log
2023/05/16 02:11 10m retest repro upstream report log
2022/07/07 13:56 15m jeliantsurux@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3b5e1590a267 OK log
2022/06/09 08:01 14m mudongliangabcd@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -- report log

Sample crash report:
executing program
executing program
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88810b279e00 (size 96):
  comm "syz-executor399", pid 3631, jiffies 4294964921 (age 23.870s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 08 9e 27 0b 81 88 ff ff  ..........'.....
    08 9e 27 0b 81 88 ff ff 00 00 00 00 00 00 00 00  ..'.............
  backtrace:
    [<ffffffff814cfc90>] kmalloc_trace+0x20/0x90 mm/slab_common.c:1046
    [<ffffffff81bb75ca>] kmalloc include/linux/slab.h:576 [inline]
    [<ffffffff81bb75ca>] autofs_wait+0x3fa/0x9a0 fs/autofs/waitq.c:378
    [<ffffffff81bb88a7>] autofs_do_expire_multi+0xa7/0x3e0 fs/autofs/expire.c:593
    [<ffffffff81bb8c33>] autofs_expire_multi+0x53/0x80 fs/autofs/expire.c:619
    [<ffffffff81bb6972>] autofs_root_ioctl_unlocked+0x322/0x3b0 fs/autofs/root.c:897
    [<ffffffff81bb6a95>] autofs_root_ioctl+0x25/0x30 fs/autofs/root.c:910
    [<ffffffff81602a9c>] vfs_ioctl fs/ioctl.c:51 [inline]
    [<ffffffff81602a9c>] __do_sys_ioctl fs/ioctl.c:870 [inline]
    [<ffffffff81602a9c>] __se_sys_ioctl fs/ioctl.c:856 [inline]
    [<ffffffff81602a9c>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:856
    [<ffffffff84608225>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84608225>] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84800087>] entry_SYSCALL_64_after_hwframe+0x63/0xcd


Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/05 10:07 upstream 64c3dd0b98f5 6d752409 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in autofs_wait
2022/05/21 13:59 upstream 3b5e1590a267 7268fa62 .config console log report syz C ci-upstream-gce-leak memory leak in autofs_wait
2023/05/31 21:00 upstream 48b1320a674e e2a77acd .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in autofs_wait
2023/02/19 14:36 upstream 925cf0457d7e bcdf85f8 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in autofs_wait
* Struck through repros no longer work on HEAD.