All of lore.kernel.org
 help / color / mirror / Atom feed
* memory leak in copy_net_ns
@ 2019-09-24 21:29 syzbot
  2019-10-19  3:43 ` Takeshi Misawa
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2019-09-24 21:29 UTC (permalink / raw)
  To: a.p.zijlstra, acme, andi, davem, dhowells, dsahern,
	jakub.kicinski, johannes.berg, jolsa, linux-kernel, namhyung,
	netdev, nicolas.dichtel, syzkaller-bugs, tyhicks, willy

Hello,

syzbot found the following crash on:

HEAD commit:    5ad18b2e Merge branch 'siginfo-linus' of git://git.kernel...
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1239e6a0600000
kernel config:  https://syzkaller.appspot.com/x/.config?x=13fb75d3ba8bfd9
dashboard link: https://syzkaller.appspot.com/bug?extid=3b3296d032353c33184b
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=116c6a87a00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=14587d10600000

The bug was bisected to:

commit 195bc0f8443d8d564ae95d2e9c19ac0edfd647c3
Author: Namhyung Kim <namhyung@kernel.org>
Date:   Tue Sep 13 07:45:50 2016 +0000

     perf ui/stdio: Rename print_hierarchy_header()

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=16162df0600000
final crash:    https://syzkaller.appspot.com/x/report.txt?x=15162df0600000
console output: https://syzkaller.appspot.com/x/log.txt?x=11162df0600000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+3b3296d032353c33184b@syzkaller.appspotmail.com
Fixes: 195bc0f8443d ("perf ui/stdio: Rename print_hierarchy_header()")

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.400s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.390s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.220s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.220s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.470s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.460s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.290s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.290s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.550s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.540s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.370s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.370s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.620s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.610s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.440s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.440s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.690s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.680s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.510s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.510s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.760s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.750s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.580s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.580s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.840s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.830s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.660s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.660s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
   comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.910s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811cfb2080 (size 96):
   comm "syz-executor902", pid 7069, jiffies 4294944351 (age 28.900s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 50 4d bc 82 ff ff ff ff  ........PM......
     00 00 00 00 00 00 00 00 00 39 bc 82 ff ff ff ff  .........9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740

BUG: memory leak
unreferenced object 0xffff888115e047c0 (size 32):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.730s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<00000000a83ed741>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
     [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
     [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
     [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
     [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
     [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
     [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0  
arch/x86/entry/common.c:296
     [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

BUG: memory leak
unreferenced object 0xffff88811ccd4e80 (size 96):
   comm "syz-executor902", pid 7079, jiffies 4294944368 (age 28.730s)
   hex dump (first 32 bytes):
     02 00 00 00 00 00 00 00 c0 4d bc 82 ff ff ff ff  .........M......
     00 00 00 00 00 00 00 00 70 39 bc 82 ff ff ff ff  ........p9......
   backtrace:
     [<00000000b0b6ab9a>] kmemleak_alloc_recursive  
include/linux/kmemleak.h:43 [inline]
     [<00000000b0b6ab9a>] slab_post_alloc_hook mm/slab.h:439 [inline]
     [<00000000b0b6ab9a>] slab_alloc_node mm/slab.c:3269 [inline]
     [<00000000b0b6ab9a>] kmem_cache_alloc_node_trace+0x15b/0x2a0  
mm/slab.c:3597
     [<00000000f96917f7>] __do_kmalloc_node mm/slab.c:3619 [inline]
     [<00000000f96917f7>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
     [<0000000032c54692>] kmalloc_node include/linux/slab.h:590 [inline]
     [<0000000032c54692>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
     [<00000000cdbb5464>] kvmalloc include/linux/mm.h:648 [inline]
     [<00000000cdbb5464>] kvzalloc include/linux/mm.h:656 [inline]
     [<00000000cdbb5464>] allocate_hook_entries_size+0x3b/0x60  
net/netfilter/core.c:61
     [<00000000ca33d229>] nf_hook_entries_grow+0xae/0x270  
net/netfilter/core.c:128
     [<000000003b071c4d>] __nf_register_net_hook+0x9a/0x170  
net/netfilter/core.c:337
     [<00000000d9c14042>] nf_register_net_hook+0x34/0xc0  
net/netfilter/core.c:464
     [<000000004119a586>] nf_register_net_hooks+0x53/0xc0  
net/netfilter/core.c:480
     [<000000004957a648>] __ip_vs_init+0xe8/0x170  
net/netfilter/ipvs/ip_vs_core.c:2280
     [<0000000044bb7165>] ops_init+0x4c/0x160 net/core/net_namespace.c:137
     [<000000002d8e331b>] setup_net+0xde/0x230 net/core/net_namespace.c:323
     [<000000003547ad16>] copy_net_ns+0x123/0x220  
net/core/net_namespace.c:458
     [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0  
kernel/nsproxy.c:103
     [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100  
kernel/nsproxy.c:202
     [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
     [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
     [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
     [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740



---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: memory leak in copy_net_ns
  2019-09-24 21:29 memory leak in copy_net_ns syzbot
@ 2019-10-19  3:43 ` Takeshi Misawa
  2019-10-19  4:00   ` syzbot
  0 siblings, 1 reply; 3+ messages in thread
From: Takeshi Misawa @ 2019-10-19  3:43 UTC (permalink / raw)
  To: syzbot
  Cc: a.p.zijlstra, acme, andi, David S. Miller, dhowells, dsahern,
	jakub.kicinski, johannes.berg, jolsa, linux-kernel, namhyung,
	netdev, nicolas.dichtel, syzkaller-bugs, tyhicks, willy

[-- Attachment #1: Type: text/plain, Size: 56 bytes --]

#syz test: https://github.com/google/kasan.git 43b815c6

[-- Attachment #2: 0001-keys-Fix-memory-leak-in-copy_net_ns.patch --]
[-- Type: text/x-diff, Size: 2674 bytes --]

From 366b85e1555a8ef4d0f0759c2da8d8dff4598ace Mon Sep 17 00:00:00 2001
From: Takeshi Misawa <jeliantsurux@gmail.com>
Date: Sat, 19 Oct 2019 11:44:45 +0900
Subject: [PATCH] keys: Fix memory leak in copy_net_ns

If copy_net_ns() failed after net_alloc(), net->key_domain is leaked.
Fix this, by freeing key_domain in error path.

syzbot report:
BUG: memory leak
unreferenced object 0xffff8881175007e0 (size 32):
  comm "syz-executor902", pid 7069, jiffies 4294944350 (age 28.400s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<00000000a83ed741>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000a83ed741>] slab_post_alloc_hook mm/slab.h:439 [inline]
    [<00000000a83ed741>] slab_alloc mm/slab.c:3326 [inline]
    [<00000000a83ed741>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
    [<0000000059fc92b9>] kmalloc include/linux/slab.h:547 [inline]
    [<0000000059fc92b9>] kzalloc include/linux/slab.h:742 [inline]
    [<0000000059fc92b9>] net_alloc net/core/net_namespace.c:398 [inline]
    [<0000000059fc92b9>] copy_net_ns+0xb2/0x220 net/core/net_namespace.c:445
    [<00000000a9d74bbc>] create_new_namespaces+0x141/0x2a0 kernel/nsproxy.c:103
    [<000000008047d645>] unshare_nsproxy_namespaces+0x7f/0x100 kernel/nsproxy.c:202
    [<000000005993ea6e>] ksys_unshare+0x236/0x490 kernel/fork.c:2674
    [<0000000019417e75>] __do_sys_unshare kernel/fork.c:2742 [inline]
    [<0000000019417e75>] __se_sys_unshare kernel/fork.c:2740 [inline]
    [<0000000019417e75>] __x64_sys_unshare+0x16/0x20 kernel/fork.c:2740
    [<00000000f4c5f2c8>] do_syscall_64+0x76/0x1a0 arch/x86/entry/common.c:296
    [<0000000038550184>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

syzbot reported other leak in copy_net_ns -> setup_net.
This problem is already fixed by cf47a0b882a4e5f6b34c7949d7b293e9287f1972.

sysbot link:
https://syzkaller.appspot.com/bug?id=3babacc2ed6bddb8e168d022ef77d32db0e05ea6

Fixes: 9b242610514f ("keys: Network namespace domain tag")
Reported-by: syzbot+3b3296d032353c33184b@syzkaller.appspotmail.com
Signed-off-by: Takeshi Misawa <jeliantsurux@gmail.com>
---
 net/core/net_namespace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index a0e0d298c991..b88905792795 100644
--- a/net/core/net_namespace.c
+++ b/net/core/net_namespace.c
@@ -478,6 +478,7 @@ struct net *copy_net_ns(unsigned long flags,
 
 	if (rv < 0) {
 put_userns:
+		key_remove_domain(net->key_domain);
 		put_user_ns(user_ns);
 		net_drop_ns(net);
 dec_ucounts:
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: memory leak in copy_net_ns
  2019-10-19  3:43 ` Takeshi Misawa
@ 2019-10-19  4:00   ` syzbot
  0 siblings, 0 replies; 3+ messages in thread
From: syzbot @ 2019-10-19  4:00 UTC (permalink / raw)
  To: a.p.zijlstra, acme, andi, davem, dhowells, dsahern,
	jakub.kicinski, jeliantsurux, johannes.berg, jolsa, linux-kernel,
	namhyung, netdev, nicolas.dichtel, syzkaller-bugs, tyhicks,
	willy

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger  
crash:

Reported-and-tested-by:  
syzbot+3b3296d032353c33184b@syzkaller.appspotmail.com

Tested on:

commit:         43b815c6 Merge tag 'armsoc-fixes' of git://git.kernel.org/..
git tree:       https://github.com/google/kasan.git
kernel config:  https://syzkaller.appspot.com/x/.config?x=d9ba1b8c7fca2c71
dashboard link: https://syzkaller.appspot.com/bug?extid=3b3296d032353c33184b
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
patch:          https://syzkaller.appspot.com/x/patch.diff?x=118f59e8e00000

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-19  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-24 21:29 memory leak in copy_net_ns syzbot
2019-10-19  3:43 ` Takeshi Misawa
2019-10-19  4:00   ` syzbot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.