syzbot


memory leak in nr_create (2)

Status: fixed on 2023/06/08 14:41
Subsystems: hams
[Documentation on labels]
Fix commit: 611792920925 netrom: Fix use-after-free caused by accept on already connected socket
First crash: 674d, last: 614d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in nr_create hams C 250 1231d 2017d 20/28 fixed on 2021/11/10 00:50
upstream memory leak in nr_create (3) hams C 9 349d 539d 26/28 fixed on 2024/07/09 19:14

Sample crash report:
BUG: memory leak
unreferenced object 0xffff8881153b0800 (size 2048):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 31.980s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115faf600 (size 32):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 31.980s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115757800 (size 2048):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 31.690s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115ffa500 (size 32):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 31.690s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115eaf800 (size 2048):
  comm "syz-executor170", pid 5186, jiffies 4294965109 (age 31.110s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881153b0800 (size 2048):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 32.060s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115faf600 (size 32):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 32.060s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115757800 (size 2048):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 31.770s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115ffa500 (size 32):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 31.770s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115eaf800 (size 2048):
  comm "syz-executor170", pid 5186, jiffies 4294965109 (age 31.190s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881153b0800 (size 2048):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 33.590s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115faf600 (size 32):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 33.590s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115757800 (size 2048):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 33.300s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115ffa500 (size 32):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 33.300s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115eaf800 (size 2048):
  comm "syz-executor170", pid 5186, jiffies 4294965109 (age 32.720s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881153b0800 (size 2048):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 33.650s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115faf600 (size 32):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 33.650s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115757800 (size 2048):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 33.360s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115ffa500 (size 32):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 33.360s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115eaf800 (size 2048):
  comm "syz-executor170", pid 5186, jiffies 4294965109 (age 32.780s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881153b0800 (size 2048):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 33.700s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115faf600 (size 32):
  comm "syz-executor170", pid 5182, jiffies 4294965022 (age 33.700s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115757800 (size 2048):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 33.410s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115ffa500 (size 32):
  comm "syz-executor170", pid 5184, jiffies 4294965051 (age 33.410s)
  hex dump (first 32 bytes):
    a8 31 a3 00 81 88 ff ff 00 00 00 00 00 00 00 00  .1..............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff8153a454>] kmalloc_trace+0x24/0x90 mm/slab_common.c:1061
    [<ffffffff8230c132>] kmalloc include/linux/slab.h:580 [inline]
    [<ffffffff8230c132>] kzalloc include/linux/slab.h:720 [inline]
    [<ffffffff8230c132>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff822d15d5>] security_sk_alloc+0x35/0x70 security/security.c:2362
    [<ffffffff83d8543e>] sk_prot_alloc+0xfe/0x1b0 net/core/sock.c:2043
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115eaf800 (size 2048):
  comm "syz-executor170", pid 5186, jiffies 4294965109 (age 32.830s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    06 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
  backtrace:
    [<ffffffff8153ab3a>] __do_kmalloc_node mm/slab_common.c:966 [inline]
    [<ffffffff8153ab3a>] __kmalloc+0x4a/0x120 mm/slab_common.c:980
    [<ffffffff83d8540d>] kmalloc include/linux/slab.h:584 [inline]
    [<ffffffff83d8540d>] sk_prot_alloc+0xcd/0x1b0 net/core/sock.c:2040
    [<ffffffff83d87a76>] sk_alloc+0x36/0x300 net/core/sock.c:2093
    [<ffffffff8439b4c4>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83d7d9ae>] __sock_create+0x1de/0x300 net/socket.c:1545
    [<ffffffff83d80fc2>] sock_create net/socket.c:1596 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1633 [inline]
    [<ffffffff83d80fc2>] __sys_socket_create net/socket.c:1618 [inline]
    [<ffffffff83d80fc2>] __sys_socket+0xa2/0x190 net/socket.c:1661
    [<ffffffff83d810ce>] __do_sys_socket net/socket.c:1674 [inline]
    [<ffffffff83d810ce>] __se_sys_socket net/socket.c:1672 [inline]
    [<ffffffff83d810ce>] __x64_sys_socket+0x1e/0x30 net/socket.c:1672
    [<ffffffff849c7b49>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff849c7b49>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

executing program
executing program
executing program

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/30 07:25 upstream ffe78bbd5121 f325deb0 .config console log report syz C ci-upstream-gce-leak memory leak in nr_create
2023/03/25 18:02 upstream 65aca32efdcb fbf0499a .config console log report syz C ci-upstream-gce-leak memory leak in nr_create
2023/03/23 11:37 upstream fff5a5e7f528 f94b4a29 .config console log report syz C ci-upstream-gce-leak memory leak in nr_create
2023/03/08 07:59 upstream 63355b9884b3 d2b00170 .config console log report syz C ci-upstream-gce-leak memory leak in nr_create
2023/02/25 13:20 upstream 595fa4e313fe ee50e71c .config console log report syz C ci-upstream-gce-leak memory leak in nr_create
2023/02/08 04:49 upstream 513c1a3d3f19 15c3d445 .config console log report syz C ci-upstream-gce-leak memory leak in nr_create
2023/01/29 17:49 upstream c96618275234 9dfcf09c .config console log report syz C ci-upstream-gce-leak memory leak in nr_create
2023/03/26 03:44 upstream 4bdec23f971b fbf0499a .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/03/24 08:20 upstream 9fd6ba5420ba f94b4a29 .config console log report syz ci-upstream-gce-leak memory leak in nr_create
2023/03/03 23:00 upstream 2eb29d59ddf0 f8902b57 .config console log report syz ci-upstream-gce-leak memory leak in nr_create
2023/01/29 16:45 upstream c96618275234 9dfcf09c .config console log report syz ci-upstream-gce-leak memory leak in nr_create
* Struck through repros no longer work on HEAD.