syzbot


memory leak in __send_signal

Status: fixed on 2021/11/10 00:50
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+0bac5fec63d4f399ba98@syzkaller.appspotmail.com
Fix commit: 399f8dd9a866 signal: Prevent sigqueue caching after task got released
First crash: 1227d, last: 1209d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] signal: Prevent sigqueue caching after task got released 5 (5) 2021/06/22 13:59
[syzbot] memory leak in __send_signal 0 (1) 2021/06/06 14:32

Sample crash report:
2021/06/20 13:51:32 executed programs: 494
2021/06/20 13:51:38 executed programs: 505
2021/06/20 13:51:45 executed programs: 512
2021/06/20 13:51:51 executed programs: 521
BUG: memory leak
unreferenced object 0xffff888103bc6730 (size 80):
  comm "syz-executor.0", pid 14226, jiffies 4295025531 (age 27.810s)
  hex dump (first 32 bytes):
    30 67 bc 03 81 88 ff ff 30 67 bc 03 81 88 ff ff  0g......0g......
    00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff812450d6>] __sigqueue_alloc+0xd6/0x240 kernel/signal.c:441
    [<ffffffff81247d31>] __send_signal+0x231/0x600 kernel/signal.c:1155
    [<ffffffff8124b123>] do_send_sig_info+0x63/0xc0 kernel/signal.c:1333
    [<ffffffff8124b4f9>] do_send_specific+0xc9/0xf0 kernel/signal.c:3881
    [<ffffffff8124b5ab>] do_tkill+0x8b/0xb0 kernel/signal.c:3907
    [<ffffffff8124e811>] __do_sys_tkill kernel/signal.c:3942 [inline]
    [<ffffffff8124e811>] __se_sys_tkill kernel/signal.c:3936 [inline]
    [<ffffffff8124e811>] __x64_sys_tkill+0x31/0x50 kernel/signal.c:3936
    [<ffffffff8435622a>] do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae


Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/20 16:28 upstream 913ec3c22ef4 aba2b2fb .config console log report syz ci-upstream-gce-leak memory leak in __send_signal
2021/06/06 00:19 upstream 9d32fa5d74b1 500c2339 .config console log report syz ci-upstream-gce-leak memory leak in __send_signal
2021/06/02 14:21 upstream 231bc5390667 0740de69 .config console log report syz ci-upstream-gce-leak memory leak in __send_signal
* Struck through repros no longer work on HEAD.