syzbot


memory leak in nr_create (3)

Status: upstream: reported C repro on 2023/06/13 19:24
Subsystems: hams
[Documentation on labels]
Reported-by: syzbot+d327a1f3b12e1e206c16@syzkaller.appspotmail.com
First crash: 267d, last: 73d
Discussions (4)
Title Replies (including bot) Last reply
[syzbot] Monthly hams report (Dec 2023) 0 (1) 2023/12/27 21:01
[syzbot] Monthly hams report (Sep 2023) 0 (1) 2023/10/02 09:44
[syzbot] Monthly hams report (Aug 2023) 0 (1) 2023/08/21 20:42
[syzbot] [hams?] memory leak in nr_create (3) 0 (2) 2023/06/13 23:36
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in nr_create hams C 250 955d 1740d 20/26 fixed on 2021/11/10 00:50
upstream memory leak in nr_create (2) hams C 11 338d 398d 22/26 fixed on 2023/06/08 14:41
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/02/28 14:08 20m retest repro upstream report log
2024/02/28 14:08 19m retest repro upstream report log
2024/02/28 14:08 23m retest repro upstream report log
2024/02/17 14:12 21m retest repro upstream report log
2024/02/17 14:12 16m retest repro upstream report log
2024/02/17 14:12 20m retest repro upstream report log
2024/02/17 14:12 20m retest repro upstream report log
2024/02/01 05:32 17m retest repro upstream report log
2023/12/20 12:46 21m retest repro upstream report log
2023/12/20 12:46 17m retest repro upstream report log

Sample crash report:
executing program
BUG: memory leak
unreferenced object 0xffff8881069e9000 (size 2048):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 30.350s)
  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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881152f29a0 (size 16):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 30.350s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888116585800 (size 2048):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 29.230s)
  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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115296b60 (size 16):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 29.230s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881069e9000 (size 2048):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 31.760s)
  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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881152f29a0 (size 16):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 31.760s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888116585800 (size 2048):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 30.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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115296b60 (size 16):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 30.650s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881069e9000 (size 2048):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 33.240s)
  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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881152f29a0 (size 16):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 33.240s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888116585800 (size 2048):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 32.120s)
  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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115296b60 (size 16):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 32.120s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881069e9000 (size 2048):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 36.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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881152f29a0 (size 16):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 36.060s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888116585800 (size 2048):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 34.940s)
  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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115296b60 (size 16):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 34.940s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881069e9000 (size 2048):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 36.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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff8881152f29a0 (size 16):
  comm "syz-executor286", pid 5115, jiffies 4294949336 (age 36.110s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888116585800 (size 2048):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 34.990s)
  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:
    [<ffffffff81554f18>] __do_kmalloc_node mm/slab_common.c:984 [inline]
    [<ffffffff81554f18>] __kmalloc+0x48/0x150 mm/slab_common.c:998
    [<ffffffff83e496a2>] kmalloc include/linux/slab.h:586 [inline]
    [<ffffffff83e496a2>] sk_prot_alloc+0x112/0x1b0 net/core/sock.c:2088
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

BUG: memory leak
unreferenced object 0xffff888115296b60 (size 16):
  comm "syz-executor286", pid 5120, jiffies 4294949448 (age 34.990s)
  hex dump (first 16 bytes):
    a8 1d 07 00 81 88 ff ff 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff815547f5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076
    [<ffffffff823546b2>] kmalloc include/linux/slab.h:582 [inline]
    [<ffffffff823546b2>] kzalloc include/linux/slab.h:703 [inline]
    [<ffffffff823546b2>] apparmor_sk_alloc_security+0x52/0xd0 security/apparmor/lsm.c:828
    [<ffffffff82318de7>] security_sk_alloc+0x47/0x80 security/security.c:4372
    [<ffffffff83e496bd>] sk_prot_alloc+0x12d/0x1b0 net/core/sock.c:2091
    [<ffffffff83e4c946>] sk_alloc+0x36/0x2f0 net/core/sock.c:2141
    [<ffffffff84480474>] nr_create+0x84/0x1c0 net/netrom/af_netrom.c:438
    [<ffffffff83e41f9f>] __sock_create+0x19f/0x2e0 net/socket.c:1536
    [<ffffffff83e45307>] sock_create net/socket.c:1587 [inline]
    [<ffffffff83e45307>] __sys_socket_create net/socket.c:1624 [inline]
    [<ffffffff83e45307>] __sys_socket+0xa7/0x190 net/socket.c:1652
    [<ffffffff83e4540b>] __do_sys_socket net/socket.c:1665 [inline]
    [<ffffffff83e4540b>] __se_sys_socket net/socket.c:1663 [inline]
    [<ffffffff83e4540b>] __x64_sys_socket+0x1b/0x20 net/socket.c:1663
    [<ffffffff84ad4bd8>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84ad4bd8>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

executing program
executing program
executing program

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/27 01:47 upstream 7d2f353b2682 03d9c195 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/08/27 00:54 upstream 7d2f353b2682 03d9c195 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/08/25 23:05 upstream 4f9e7fabf864 03d9c195 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/08/24 19:28 upstream 93f5de5f648d 4d7ae7ab .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/08/23 23:08 upstream a5e505a99ca7 4d7ae7ab .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/08/21 06:18 upstream 706a74159504 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/08/21 05:24 upstream 706a74159504 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/06/13 23:35 upstream fb054096aea0 d2ee9228 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
2023/06/09 19:13 upstream 33f2b5785a2b 7086cdb9 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in nr_create
* Struck through repros no longer work on HEAD.