memory leak in nf_hook_entries_grow

38 views
Skip to first unread message

syzbot

unread,
Jun 3, 2019, 3:02:08 PM6/3/19
to core...@netfilter.org, da...@davemloft.net, f...@strlen.de, kad...@blackhole.kfki.hu, linux-...@vger.kernel.org, net...@vger.kernel.org, netfilt...@vger.kernel.org, pa...@netfilter.org, syzkall...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 3ab4436f Merge tag 'nfsd-5.2-1' of git://linux-nfs.org/~bf..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15feaf82a00000
kernel config: https://syzkaller.appspot.com/x/.config?x=50393f7bfe444ff6
dashboard link: https://syzkaller.appspot.com/bug?extid=722da59ccb264bc19910
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12f02772a00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1657b80ea00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+722da5...@syzkaller.appspotmail.com

035][ T7273] IPVS: ftp: loaded support on port[0] = 21
BUG: memory leak
unreferenced object 0xffff88810acd8a80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 22.250s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
00 00 00 00 00 00 00 00 00 77 bb 82 ff ff ff ff .........w......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff8881065de500 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 22.250s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 e0 8a bb 82 ff ff ff ff ................
00 00 00 00 00 00 00 00 90 76 bb 82 ff ff ff ff .........v......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff888103533c80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950626 (age 21.590s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 70 77 bb 82 ff ff ff ff ........pw......
00 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000343067d2>] __nf_hook_entries_try_shrink+0xbd/0x190
net/netfilter/core.c:248
[<0000000004051f14>] __nf_unregister_net_hook+0x12f/0x1b0
net/netfilter/core.c:416
[<00000000f74d14d1>] nf_unregister_net_hook+0x32/0x70
net/netfilter/core.c:431
[<00000000de019d2a>] nf_unregister_net_hooks+0x3d/0x50
net/netfilter/core.c:499
[<00000000fbdf13a9>] selinux_nf_unregister+0x22/0x30
security/selinux/hooks.c:7089
[<00000000ff82a3bf>] ops_exit_list.isra.0+0x4c/0x80
net/core/net_namespace.c:154
[<000000008a424b95>] setup_net+0x14a/0x230 net/core/net_namespace.c:333
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff88810acd8a80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 23.590s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
00 00 00 00 00 00 00 00 00 77 bb 82 ff ff ff ff .........w......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff8881065de500 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 23.590s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 e0 8a bb 82 ff ff ff ff ................
00 00 00 00 00 00 00 00 90 76 bb 82 ff ff ff ff .........v......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff888103533c80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950626 (age 22.930s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 70 77 bb 82 ff ff ff ff ........pw......
00 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000343067d2>] __nf_hook_entries_try_shrink+0xbd/0x190
net/netfilter/core.c:248
[<0000000004051f14>] __nf_unregister_net_hook+0x12f/0x1b0
net/netfilter/core.c:416
[<00000000f74d14d1>] nf_unregister_net_hook+0x32/0x70
net/netfilter/core.c:431
[<00000000de019d2a>] nf_unregister_net_hooks+0x3d/0x50
net/netfilter/core.c:499
[<00000000fbdf13a9>] selinux_nf_unregister+0x22/0x30
security/selinux/hooks.c:7089
[<00000000ff82a3bf>] ops_exit_list.isra.0+0x4c/0x80
net/core/net_namespace.c:154
[<000000008a424b95>] setup_net+0x14a/0x230 net/core/net_namespace.c:333
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff88810acd8a80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 24.970s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
00 00 00 00 00 00 00 00 00 77 bb 82 ff ff ff ff .........w......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff8881065de500 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 24.970s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 e0 8a bb 82 ff ff ff ff ................
00 00 00 00 00 00 00 00 90 76 bb 82 ff ff ff ff .........v......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff888103533c80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950626 (age 24.310s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 70 77 bb 82 ff ff ff ff ........pw......
00 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000343067d2>] __nf_hook_entries_try_shrink+0xbd/0x190
net/netfilter/core.c:248
[<0000000004051f14>] __nf_unregister_net_hook+0x12f/0x1b0
net/netfilter/core.c:416
[<00000000f74d14d1>] nf_unregister_net_hook+0x32/0x70
net/netfilter/core.c:431
[<00000000de019d2a>] nf_unregister_net_hooks+0x3d/0x50
net/netfilter/core.c:499
[<00000000fbdf13a9>] selinux_nf_unregister+0x22/0x30
security/selinux/hooks.c:7089
[<00000000ff82a3bf>] ops_exit_list.isra.0+0x4c/0x80
net/core/net_namespace.c:154
[<000000008a424b95>] setup_net+0x14a/0x230 net/core/net_namespace.c:333
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff88810acd8a80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 26.290s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
00 00 00 00 00 00 00 00 00 77 bb 82 ff ff ff ff .........w......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff8881065de500 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950560 (age 26.290s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 e0 8a bb 82 ff ff ff ff ................
00 00 00 00 00 00 00 00 90 76 bb 82 ff ff ff ff .........v......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000e8abe142>] nf_hook_entries_grow+0xae/0x270
net/netfilter/core.c:128
[<000000004b94797c>] __nf_register_net_hook+0x9a/0x170
net/netfilter/core.c:337
[<00000000d1545cbc>] nf_register_net_hook+0x34/0xc0
net/netfilter/core.c:464
[<00000000876c9b55>] nf_register_net_hooks+0x53/0xc0
net/netfilter/core.c:480
[<000000002ea868e0>] __ip_vs_init+0xe8/0x170
net/netfilter/ipvs/ip_vs_core.c:2280
[<000000002eb2d451>] ops_init+0x4c/0x140 net/core/net_namespace.c:130
[<000000000284ec48>] setup_net+0xde/0x230 net/core/net_namespace.c:316
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

BUG: memory leak
unreferenced object 0xffff888103533c80 (size 96):
comm "syz-executor073", pid 7254, jiffies 4294950626 (age 25.640s)
hex dump (first 32 bytes):
02 00 00 00 00 00 00 00 70 77 bb 82 ff ff ff ff ........pw......
00 00 00 00 00 00 00 00 50 8b bb 82 ff ff ff ff ........P.......
backtrace:
[<0000000013db61f1>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<0000000013db61f1>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<0000000013db61f1>] slab_alloc_node mm/slab.c:3269 [inline]
[<0000000013db61f1>] kmem_cache_alloc_node_trace+0x15b/0x2a0
mm/slab.c:3597
[<000000001a27307d>] __do_kmalloc_node mm/slab.c:3619 [inline]
[<000000001a27307d>] __kmalloc_node+0x38/0x50 mm/slab.c:3627
[<0000000025054add>] kmalloc_node include/linux/slab.h:590 [inline]
[<0000000025054add>] kvmalloc_node+0x4a/0xd0 mm/util.c:431
[<0000000050d1bc00>] kvmalloc include/linux/mm.h:637 [inline]
[<0000000050d1bc00>] kvzalloc include/linux/mm.h:645 [inline]
[<0000000050d1bc00>] allocate_hook_entries_size+0x3b/0x60
net/netfilter/core.c:61
[<00000000343067d2>] __nf_hook_entries_try_shrink+0xbd/0x190
net/netfilter/core.c:248
[<0000000004051f14>] __nf_unregister_net_hook+0x12f/0x1b0
net/netfilter/core.c:416
[<00000000f74d14d1>] nf_unregister_net_hook+0x32/0x70
net/netfilter/core.c:431
[<00000000de019d2a>] nf_unregister_net_hooks+0x3d/0x50
net/netfilter/core.c:499
[<00000000fbdf13a9>] selinux_nf_unregister+0x22/0x30
security/selinux/hooks.c:7089
[<00000000ff82a3bf>] ops_exit_list.isra.0+0x4c/0x80
net/core/net_namespace.c:154
[<000000008a424b95>] setup_net+0x14a/0x230 net/core/net_namespace.c:333
[<00000000a70600fa>] copy_net_ns+0xf0/0x1e0 net/core/net_namespace.c:439
[<00000000ff26c15e>] create_new_namespaces+0x141/0x2a0
kernel/nsproxy.c:107
[<00000000b103dc79>] copy_namespaces+0xa1/0xe0 kernel/nsproxy.c:165
[<000000007cc008a2>] copy_process.part.0+0x11fd/0x2150
kernel/fork.c:2035
[<00000000c344af7c>] copy_process kernel/fork.c:1800 [inline]
[<00000000c344af7c>] _do_fork+0x121/0x4f0 kernel/fork.c:2369

executing program
executing program


---
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 syzk...@googlegroups.com.

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

Julian Anastasov

unread,
Jun 3, 2019, 5:32:37 PM6/3/19
to syzbot, core...@netfilter.org, David S. Miller, f...@strlen.de, kad...@blackhole.kfki.hu, linux-kernel, net...@vger.kernel.org, netfilt...@vger.kernel.org, pa...@netfilter.org, syzkall...@googlegroups.com, lvs-...@vger.kernel.org

Hello,
After commit "ipvs: Fix use-after-free in ip_vs_in" we planned
to call nf_register_net_hooks() only when rule is created but this
is net-next material and we should not leave leak in the error path.
I'll post a patch that adds .init handler for ipvs_core_dev_ops, so
that nf_register_net_hooks() is called there.

> ---
> 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 syzk...@googlegroups.com.
>
> syzbot will keep track of this bug report. See:
> https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
> syzbot can test patches for this bug, for details see:
> https://goo.gl/tpsmEJ#testing-patches

Regards

--
Julian Anastasov <j...@ssi.bg>

Julian Anastasov

unread,
Jun 3, 2019, 6:16:24 PM6/3/19
to syzbot, syzkall...@googlegroups.com
0001-ipvs-defer-hook-registration-to-avoid-leaks.txt

syzbot

unread,
Jun 3, 2019, 6:35:01 PM6/3/19
to j...@ssi.bg, syzkall...@googlegroups.com
Hello,

syzbot has tested the proposed patch but the reproducer still triggered
crash:
memory leak in batadv_tvlv_handler_register

ew suspected memory leaks (see /sys/kernel/debug/kmemleak)
BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.480s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.460s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.330s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.530s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.510s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.380s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.590s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.570s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.440s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.650s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.630s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.500s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.700s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.680s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.550s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.760s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.740s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.610s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.810s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.790s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.660s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7fc0 (size 64):
comm "softirq", pid 0, jiffies 4294945873 (age 467.870s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 9c b4 21 81 88 ff ff ...........!....
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810d0a7140 (size 64):
comm "softirq", pid 0, jiffies 4294945875 (age 467.850s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 fc f1 0a 81 88 ff ff ................
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972

BUG: memory leak
unreferenced object 0xffff88810ffde980 (size 64):
comm "softirq", pid 0, jiffies 4294945888 (age 467.720s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 e0 5c 07 0d 81 88 ff ff .........\......
00 00 00 00 00 00 00 00 70 71 15 83 ff ff ff ff ........pq......
backtrace:
[<00000000823450c6>] kmemleak_alloc_recursive
include/linux/kmemleak.h:55 [inline]
[<00000000823450c6>] slab_post_alloc_hook mm/slab.h:439 [inline]
[<00000000823450c6>] slab_alloc mm/slab.c:3326 [inline]
[<00000000823450c6>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
[<0000000073d7b696>] kmalloc include/linux/slab.h:547 [inline]
[<0000000073d7b696>] kzalloc include/linux/slab.h:742 [inline]
[<0000000073d7b696>] batadv_tvlv_handler_register+0xae/0x140
net/batman-adv/tvlv.c:529
[<000000004d0d8334>] batadv_tt_init+0x78/0x180
net/batman-adv/translation-table.c:4411
[<00000000072f90ce>] batadv_mesh_init+0x196/0x230
net/batman-adv/main.c:208
[<00000000db0128eb>] batadv_softif_init_late+0x1ca/0x220
net/batman-adv/soft-interface.c:861
[<000000000947e504>] register_netdevice+0xbf/0x600 net/core/dev.c:8639
[<000000002ea0e174>] __rtnl_newlink+0xaca/0xb30
net/core/rtnetlink.c:3203
[<00000000702b61e9>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3249
[<000000004c784b50>] rtnetlink_rcv_msg+0x178/0x4b0
net/core/rtnetlink.c:5218
[<00000000c1f36354>] netlink_rcv_skb+0x61/0x170
net/netlink/af_netlink.c:2486
[<000000005747d426>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
[<00000000b595f294>] netlink_unicast_kernel
net/netlink/af_netlink.c:1311 [inline]
[<00000000b595f294>] netlink_unicast+0x1ec/0x2d0
net/netlink/af_netlink.c:1337
[<00000000316ddd83>] netlink_sendmsg+0x26a/0x480
net/netlink/af_netlink.c:1926
[<000000007aae7eb7>] sock_sendmsg_nosec net/socket.c:652 [inline]
[<000000007aae7eb7>] sock_sendmsg+0x54/0x70 net/socket.c:671
[<0000000019713c8e>] __sys_sendto+0x148/0x1f0 net/socket.c:1964
[<00000000edff2352>] __do_sys_sendto net/socket.c:1976 [inline]
[<00000000edff2352>] __se_sys_sendto net/socket.c:1972 [inline]
[<00000000edff2352>] __x64_sys_sendto+0x2a/0x30 net/socket.c:1972



Tested on:

commit: 67c0aaa1 selftests: set sysctl bc_forwarding properly in r..
git tree: net
console output: https://syzkaller.appspot.com/x/log.txt?x=11c7f754a00000
kernel config: https://syzkaller.appspot.com/x/.config?x=8f0f63a62bb5b13c
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
patch: https://syzkaller.appspot.com/x/patch.diff?x=11b15a86a00000

Reply all
Reply to author
Forward
0 new messages