syzbot


memory leak in sctp_stream_init_ext (2)

Status: auto-obsoleted due to no activity on 2022/10/10 13:43
Subsystems: sctp
[Documentation on labels]
Reported-by: syzbot+96e916d6f6f7617bc9fc@syzkaller.appspotmail.com
First crash: 1432d, last: 1074d
Discussions (2)
Title Replies (including bot) Last reply
Re: memory leak in sctp_stream_init_ext (2) 1 (1) 2020/04/17 13:31
memory leak in sctp_stream_init_ext (2) 0 (1) 2020/04/17 03:45
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in sctp_stream_init_ext sctp C 34 1618d 1753d 13/26 fixed on 2019/10/28 17:50
Last patch testing requests (3)
Created Duration User Patch Repo Result
2022/10/10 12:30 14m retest repro upstream OK log
2022/10/10 07:30 13m retest repro upstream OK log
2020/10/16 23:41 15m anant.thazhemadam@gmail.com upstream OK

Sample crash report:
BUG: memory leak
unreferenced object 0xffff888115e33180 (size 96):
  comm "syz-executor.0", pid 8681, jiffies 4294967587 (age 13.470s)
  hex dump (first 32 bytes):
    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 00  ................
  backtrace:
    [<ffffffff83d9be46>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff83d9be46>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff83d9be46>] sctp_stream_init_ext+0x26/0xf0 net/sctp/stream.c:171
    [<ffffffff83d8862d>] sctp_sendmsg_to_asoc+0xc4d/0xd20 net/sctp/socket.c:1793
    [<ffffffff83d905e2>] sctp_sendmsg+0x992/0x1030 net/sctp/socket.c:2013
    [<ffffffff839b5b45>] inet_sendmsg+0x45/0x70 net/ipv4/af_inet.c:821
    [<ffffffff8363aed6>] sock_sendmsg_nosec net/socket.c:654 [inline]
    [<ffffffff8363aed6>] sock_sendmsg+0x56/0x80 net/socket.c:674
    [<ffffffff8363deac>] __sys_sendto+0x15c/0x200 net/socket.c:1977
    [<ffffffff8363df76>] __do_sys_sendto net/socket.c:1989 [inline]
    [<ffffffff8363df76>] __se_sys_sendto net/socket.c:1985 [inline]
    [<ffffffff8363df76>] __x64_sys_sendto+0x26/0x30 net/socket.c:1985
    [<ffffffff842ded2d>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888115c7f380 (size 96):
  comm "syz-executor.0", pid 8690, jiffies 4294968173 (age 7.610s)
  hex dump (first 32 bytes):
    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 00  ................
  backtrace:
    [<ffffffff83d9be46>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff83d9be46>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff83d9be46>] sctp_stream_init_ext+0x26/0xf0 net/sctp/stream.c:171
    [<ffffffff83d8862d>] sctp_sendmsg_to_asoc+0xc4d/0xd20 net/sctp/socket.c:1793
    [<ffffffff83d905e2>] sctp_sendmsg+0x992/0x1030 net/sctp/socket.c:2013
    [<ffffffff839b5b45>] inet_sendmsg+0x45/0x70 net/ipv4/af_inet.c:821
    [<ffffffff8363aed6>] sock_sendmsg_nosec net/socket.c:654 [inline]
    [<ffffffff8363aed6>] sock_sendmsg+0x56/0x80 net/socket.c:674
    [<ffffffff8363deac>] __sys_sendto+0x15c/0x200 net/socket.c:1977
    [<ffffffff8363df76>] __do_sys_sendto net/socket.c:1989 [inline]
    [<ffffffff8363df76>] __se_sys_sendto net/socket.c:1985 [inline]
    [<ffffffff8363df76>] __x64_sys_sendto+0x26/0x30 net/socket.c:1985
    [<ffffffff842ded2d>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae


Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/09 14:32 upstream 4fa56ad0d12e 6a81331a .config console log report syz ci-upstream-gce-leak memory leak in sctp_stream_init_ext
2020/04/16 13:39 upstream 00086336a8d9 c743fcb3 .config console log report syz ci-upstream-gce-leak
* Struck through repros no longer work on HEAD.