syzbot


memory leak in nf_hook_entries_grow (2)

Status: closed as dup on 2021/05/04 08:25
Subsystems: netfilter
[Documentation on labels]
Reported-by: syzbot+050de9f900eb45b94ef9@syzkaller.appspotmail.com
First crash: 1302d, last: 1295d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
linux-next test error: WARNING in __nf_unregister_net_hook netfilter 21 1299d 1301d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] memory leak in nf_hook_entries_grow (2) 1 (3) 2021/05/04 08:25
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in nf_hook_entries_grow lvs C 99 1964d 1999d 12/28 fixed on 2019/08/05 13:45

Sample crash report:
BUG: memory leak
unreferenced object 0xffff88811bef9340 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 28.900s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 00 b2 ed 1b 81 88 ff ff  ..B.............
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811c525e80 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 28.900s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 50 b2 ed 1b 81 88 ff ff  ..B.....P.......
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811bef9340 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 28.980s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 00 b2 ed 1b 81 88 ff ff  ..B.............
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811c525e80 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 28.980s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 50 b2 ed 1b 81 88 ff ff  ..B.....P.......
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811bef9340 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.060s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 00 b2 ed 1b 81 88 ff ff  ..B.............
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811c525e80 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.060s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 50 b2 ed 1b 81 88 ff ff  ..B.....P.......
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811bef9340 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.130s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 00 b2 ed 1b 81 88 ff ff  ..B.............
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811c525e80 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.130s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 50 b2 ed 1b 81 88 ff ff  ..B.....P.......
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811bef9340 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.210s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 00 b2 ed 1b 81 88 ff ff  ..B.............
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811c525e80 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.210s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 50 b2 ed 1b 81 88 ff ff  ..B.....P.......
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811bef9340 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.290s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 00 b2 ed 1b 81 88 ff ff  ..B.............
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811c525e80 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.290s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 50 b2 ed 1b 81 88 ff ff  ..B.....P.......
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811bef9340 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.370s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 00 b2 ed 1b 81 88 ff ff  ..B.............
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

BUG: memory leak
unreferenced object 0xffff88811c525e80 (size 64):
  comm "syz-executor097", pid 8413, jiffies 4294971728 (age 29.370s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 20 a8 a5 83 ff ff ff ff  ........ .......
    80 ef 42 1c 81 88 ff ff 50 b2 ed 1b 81 88 ff ff  ..B.....P.......
  backtrace:
    [<ffffffff8146f731>] kmalloc_node include/linux/slab.h:579 [inline]
    [<ffffffff8146f731>] kvmalloc_node+0x61/0xf0 mm/util.c:587
    [<ffffffff8381dc4b>] kvmalloc include/linux/mm.h:797 [inline]
    [<ffffffff8381dc4b>] kvzalloc include/linux/mm.h:805 [inline]
    [<ffffffff8381dc4b>] allocate_hook_entries_size net/netfilter/core.c:61 [inline]
    [<ffffffff8381dc4b>] nf_hook_entries_grow+0x31b/0x370 net/netfilter/core.c:128
    [<ffffffff8381dfad>] __nf_register_net_hook+0x8d/0x290 net/netfilter/core.c:407
    [<ffffffff8381e26f>] nf_register_net_hook+0xbf/0x100 net/netfilter/core.c:541
    [<ffffffff8381e309>] nf_register_net_hooks+0x59/0xc0 net/netfilter/core.c:557
    [<ffffffff83a58262>] arpt_register_table+0x152/0x1e0 net/ipv4/netfilter/arp_tables.c:1548
    [<ffffffff83a5a88d>] arptable_filter_table_init+0x3d/0x60 net/ipv4/netfilter/arptable_filter.c:50
    [<ffffffff838ba3b9>] xt_find_table_lock+0x189/0x290 net/netfilter/x_tables.c:1244
    [<ffffffff838ba4e7>] xt_request_find_table_lock+0x27/0xb0 net/netfilter/x_tables.c:1275
    [<ffffffff83a593c2>] get_info+0xd2/0x430 net/ipv4/netfilter/arp_tables.c:807
    [<ffffffff83a59944>] do_arpt_get_ctl+0x224/0x520 net/ipv4/netfilter/arp_tables.c:1443
    [<ffffffff838201c7>] nf_getsockopt+0x57/0x80 net/netfilter/nf_sockopt.c:116
    [<ffffffff839889aa>] ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline]
    [<ffffffff839889aa>] ip_getsockopt+0xfa/0x140 net/ipv4/ip_sockglue.c:1756
    [<ffffffff8399ce7b>] tcp_getsockopt+0x4b/0x80 net/ipv4/tcp.c:4251
    [<ffffffff8366fa03>] __sys_getsockopt+0x133/0x2f0 net/socket.c:2161
    [<ffffffff8366fbe2>] __do_sys_getsockopt net/socket.c:2176 [inline]
    [<ffffffff8366fbe2>] __se_sys_getsockopt net/socket.c:2173 [inline]
    [<ffffffff8366fbe2>] __x64_sys_getsockopt+0x22/0x30 net/socket.c:2173

write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory
write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory
write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/04 08:23 upstream 5e321ded302d 09efdd63 .config console log report syz C ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/07 21:28 upstream e48661230cc3 f6da8120 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/07 03:16 upstream 322a3b843d7f 06585184 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/06 10:42 upstream 8404c9fbc84b 06c27ff5 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/06 00:32 upstream d665ea6ea86c 06c27ff5 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/05 15:22 upstream d665ea6ea86c 06c27ff5 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/05 05:39 upstream e4adffb8daf4 06c27ff5 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/04 10:08 upstream 5e321ded302d 09efdd63 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/04 01:17 upstream 9ccce092fc64 ad61f371 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/03 13:07 upstream 9ccce092fc64 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/02 21:44 upstream 17ae69aba89d 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/02 00:40 upstream 9f67672a817e 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/01 22:42 upstream 9f67672a817e 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/01 15:53 upstream 9f67672a817e 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/01 15:09 upstream 9f67672a817e 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/05/01 14:42 upstream 9f67672a817e 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/04/30 19:25 upstream 8ca5297e7e38 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
2021/04/30 10:55 upstream 8ca5297e7e38 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in nf_hook_entries_grow
* Struck through repros no longer work on HEAD.