syzbot


memory leak in sctp_get_port_local (2)
Status: fixed on 2019/10/09 10:54
Reported-by: syzbot+2d7ecdf99f15689032b3@syzkaller.appspotmail.com
Fix commit: 29b99f54a8e6 sctp: destroy bucket if failed to bind addr
First crash: 1026d, last: 965d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in sctp_get_port_local (3) C 4 951d 957d 14/22 fixed on 2019/11/04 14:50
upstream memory leak in sctp_get_port_local C 28 1028d 1095d 13/22 fixed on 2019/08/05 13:45

Sample crash report:
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88812ae45780 (size 64):
  comm "syz-executor458", pid 7038, jiffies 4294942573 (age 23.710s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    b8 0c bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae457c0 (size 64):
  comm "syz-executor458", pid 7039, jiffies 4294942573 (age 23.710s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    88 0c bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45740 (size 64):
  comm "syz-executor458", pid 7050, jiffies 4294942607 (age 23.370s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    18 08 bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45700 (size 64):
  comm "syz-executor458", pid 7049, jiffies 4294942608 (age 23.360s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    68 09 bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  h..(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45780 (size 64):
  comm "syz-executor458", pid 7038, jiffies 4294942573 (age 29.370s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    b8 0c bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae457c0 (size 64):
  comm "syz-executor458", pid 7039, jiffies 4294942573 (age 29.370s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    88 0c bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45740 (size 64):
  comm "syz-executor458", pid 7050, jiffies 4294942607 (age 29.030s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    18 08 bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45700 (size 64):
  comm "syz-executor458", pid 7049, jiffies 4294942608 (age 29.020s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    68 09 bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  h..(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45780 (size 64):
  comm "syz-executor458", pid 7038, jiffies 4294942573 (age 29.450s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    b8 0c bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae457c0 (size 64):
  comm "syz-executor458", pid 7039, jiffies 4294942573 (age 29.450s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    88 0c bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45740 (size 64):
  comm "syz-executor458", pid 7050, jiffies 4294942607 (age 29.110s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    18 08 bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88812ae45700 (size 64):
  comm "syz-executor458", pid 7049, jiffies 4294942608 (age 29.100s)
  hex dump (first 32 bytes):
    20 4e 00 00 00 00 00 00 00 00 00 00 00 00 00 00   N..............
    68 09 bb 28 81 88 ff ff 00 00 00 00 00 00 00 00  h..(............
  backtrace:
    [<00000000794f1a3a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000794f1a3a>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000794f1a3a>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000794f1a3a>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483
    [<0000000046dce3e9>] sctp_bucket_create net/sctp/socket.c:8523 [inline]
    [<0000000046dce3e9>] sctp_get_port_local+0x189/0x5a0 net/sctp/socket.c:8270
    [<00000000bb14bc70>] sctp_do_bind+0xcc/0x200 net/sctp/socket.c:402
    [<00000000df1c070e>] sctp_bindx_add+0x4b/0xd0 net/sctp/socket.c:497
    [<0000000041b67bca>] sctp_setsockopt_bindx+0x156/0x1b0 net/sctp/socket.c:1022
    [<00000000c741108c>] sctp_setsockopt net/sctp/socket.c:4641 [inline]
    [<00000000c741108c>] sctp_setsockopt+0xaea/0x2dc0 net/sctp/socket.c:4611
    [<000000008684f3f4>] sock_common_setsockopt+0x38/0x50 net/core/sock.c:3142
    [<000000005bfb3a17>] __sys_setsockopt+0x10f/0x220 net/socket.c:2084
    [<000000005e76869b>] __do_sys_setsockopt net/socket.c:2100 [inline]
    [<000000005e76869b>] __se_sys_setsockopt net/socket.c:2097 [inline]
    [<000000005e76869b>] __x64_sys_setsockopt+0x26/0x30 net/socket.c:2097
    [<00000000636bfbc8>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000e66b3317>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

executing program
executing program
executing program
executing program

Crashes (34):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2019/10/05 21:51 upstream 4ea655343ce4 f3f7d9c8 .config log report syz C
ci-upstream-gce-leak 2019/10/05 11:09 upstream b145b0eb2031 f3f7d9c8 .config log report syz C
ci-upstream-gce-leak 2019/10/03 02:51 upstream 65aa35c93cc0 2e29b534 .config log report syz C
ci-upstream-gce-leak 2019/09/30 21:53 upstream 97f9a3c4eee5 c7a4fb99 .config log report syz C
ci-upstream-gce-leak 2019/09/30 09:27 upstream a3c0e7b1fe1f c1ad5441 .config log report syz C
ci-upstream-gce-leak 2019/09/29 01:07 upstream f1f2f614d535 eb6b9855 .config log report syz C
ci-upstream-gce-leak 2019/09/28 11:22 upstream 8f744bdee4fe d8074e0b .config log report syz C
ci-upstream-gce-leak 2019/09/27 22:28 upstream da05b5ea12c1 d8074e0b .config log report syz C
ci-upstream-gce-leak 2019/09/26 01:42 upstream f41def397161 a3355dba .config log report syz C
ci-upstream-gce-leak 2019/09/24 11:35 upstream e94f8ccde471 c68252d2 .config log report syz C
ci-upstream-gce-leak 2019/09/20 05:35 upstream 3c2edc36a774 4d3ae0b7 .config log report syz C
ci-upstream-gce-leak 2019/09/20 02:07 upstream 3c2edc36a774 4d3ae0b7 .config log report syz C
ci-upstream-gce-leak 2019/09/19 06:34 upstream d013cc800a2a 46c0be24 .config log report syz C
ci-upstream-gce-leak 2019/09/18 20:36 upstream 35f7a9526615 c2dcd700 .config log report syz C
ci-upstream-gce-leak 2019/09/14 11:30 upstream a7f89616b737 32d59357 .config log report syz C
ci-upstream-gce-leak 2019/09/13 00:54 upstream ad32b4800c2b 0b7672ee .config log report syz C
ci-upstream-gce-leak 2019/09/09 10:19 upstream f74c2bb98776 a60cb4cd .config log report syz C
ci-upstream-gce-leak 2019/09/08 05:54 upstream b3a9964cfa69 a60cb4cd .config log report syz C
ci-upstream-gce-leak 2019/09/07 18:14 upstream 1e3778cb223e a60cb4cd .config log report syz C
ci-upstream-gce-leak 2019/09/06 05:10 upstream 3b47fd5ca9ea 040fda58 .config log report syz C
ci-upstream-gce-leak 2019/09/04 15:15 upstream 089cf7f6ecb2 12381952 .config log report syz C
ci-upstream-gce-leak 2019/09/03 05:22 upstream 089cf7f6ecb2 14544a56 .config log report syz C
ci-upstream-gce-leak 2019/08/28 03:31 upstream 6525771f58cb fd37b39e .config log report syz C
ci-upstream-gce-leak 2019/08/22 11:04 upstream bb7ba8069de9 984250d5 .config log report syz C
ci-upstream-gce-leak 2019/08/16 19:54 upstream 2d63ba3e41db 8fd428a1 .config log report syz C
ci-upstream-gce-leak 2019/08/13 01:49 upstream d45331b00ddb 8620c2c2 .config log report syz C
ci-upstream-gce-leak 2019/08/12 14:10 upstream d45331b00ddb acb51638 .config log report syz C
ci-upstream-gce-leak 2019/08/11 01:10 upstream 451577f3e3a9 acb51638 .config log report syz C
ci-upstream-gce-leak 2019/08/10 10:55 upstream 7f20fd23377a acb51638 .config log report syz C
ci-upstream-gce-leak 2019/08/09 16:18 upstream b678c568c561 ede31a9b .config log report syz C
ci-upstream-gce-leak 2019/08/08 00:11 upstream 33920f1ec5bf e6ebef88 .config log report syz C
ci-upstream-gce-leak 2019/08/07 14:08 upstream f4eb1423e433 cdde7486 .config log report syz C
ci-upstream-gce-leak 2019/08/06 23:47 upstream 0eb0ce0a78e1 c6f01e54 .config log report syz C
ci-upstream-gce-leak 2019/08/06 08:10 upstream 0eb0ce0a78e1 6affd8e8 .config log report syz C