syzbot


memory leak in copy_process (5)

Status: fixed on 2023/06/08 14:41
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+7699d9e5635c10253a27@syzkaller.appspotmail.com
Fix commit: 2aab4b969002 af_unix: fix struct pid leaks in OOB support
First crash: 454d, last: 454d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net] af_unix: fix struct pid leaks in OOB support 3 (3) 2023/03/09 07:30
[syzbot] [kernel?] memory leak in copy_process (5) 0 (1) 2023/03/07 12:25
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in copy_process kernel C 23 1195d 1292d 19/26 fixed on 2021/03/10 01:48
upstream memory leak in copy_process (2) kernel C 2 1173d 1172d 20/26 fixed on 2021/11/10 00:50
upstream memory leak in copy_process (4) kernel C 1 550d 550d 0/26 closed as invalid on 2023/02/17 17:35
upstream memory leak in copy_process (3) kernel C 2 660d 767d 0/26 closed as invalid on 2022/11/09 20:31

Sample crash report:
Warning: Permanently added '10.128.0.246' (ECDSA) to the list of known hosts.
executing program
executing program
BUG: memory leak
unreferenced object 0xffff8881053e7f80 (size 128):
  comm "syz-executor242", pid 5066, jiffies 4294946079 (age 13.220s)
  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:
    [<ffffffff812ae26a>] alloc_pid+0x6a/0x560 kernel/pid.c:180
    [<ffffffff812718df>] copy_process+0x169f/0x26c0 kernel/fork.c:2285
    [<ffffffff81272b37>] kernel_clone+0xf7/0x610 kernel/fork.c:2684
    [<ffffffff812730cc>] __do_sys_clone+0x7c/0xb0 kernel/fork.c:2825
    [<ffffffff849ad699>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849ad699>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/03 16:31 upstream 2eb29d59ddf0 f8902b57 .config console log report syz C ci-upstream-gce-leak memory leak in copy_process
* Struck through repros no longer work on HEAD.