[lkml]   [2019]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectmemory leak in sctp_v6_create_accept_sk

syzbot found the following crash on:

HEAD commit: 3ab4436f Merge tag 'nfsd-5.2-1' of git://
git tree: upstream
console output:
kernel config:
dashboard link:
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:
C reproducer:

IMPORTANT: if you fix the bug, please add the following tag to the commit:

ffffffffda RBX: 00000000006fbc38 RCX: 0000000000446b59
BUG: memory leak
unreferenced object 0xffff88812382ec40 (size 1512):
comm "syz-executor098", pid 7138, jiffies 4294945165 (age 7.780s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0a 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............
[<0000000006e93bd5>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000006e93bd5>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000006e93bd5>] slab_alloc mm/slab.c:3326 [inline]
[<0000000006e93bd5>] kmem_cache_alloc+0x134/0x270 mm/slab.c:3488
[<000000007da542cd>] sk_prot_alloc+0x41/0x170 net/core/sock.c:1596
[<00000000a4eabe8a>] sk_alloc+0x35/0x2f0 net/core/sock.c:1656
[<0000000053fa015e>] sctp_v6_create_accept_sk+0x5c/0x1b0
[<000000008c31091c>] sctp_accept+0x1df/0x290 net/sctp/socket.c:4913
[<00000000ec8d71b8>] inet_accept+0x4e/0x1d0 net/ipv4/af_inet.c:734
[<000000001f5fe485>] __sys_accept4+0x12a/0x280 net/socket.c:1760
[<0000000070a98ea5>] __do_sys_accept net/socket.c:1801 [inline]
[<0000000070a98ea5>] __se_sys_accept net/socket.c:1798 [inline]
[<0000000070a98ea5>] __x64_sys_accept+0x20/0x30 net/socket.c:1798
[<000000004a076fbd>] do_syscall_64+0x76/0x1a0
[<00000000d752b65c>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

This bug is generated by a bot. It may contain errors.
See for more information about syzbot.
syzbot engineers can be reached at

syzbot will keep track of this bug report. See: for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:

 \ /
  Last update: 2019-06-02 22:22    [W:0.032 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site