BUG: Bad rss-counter state mm:(____ptrval____) idx:1 val:3 BUG: non-zero pgtables_bytes on freeing mm: 8192 list_del corruption. prev->next should be ffff88019528b090, but was 000000009528b090 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:53! invalid opcode: 0000 [#1] SMP PTI CPU: 1 PID: 4630 Comm: syz-executor115 Not tainted 4.18.0-rc4+ #27 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid+0x37c/0x440 lib/list_debug.c:51 Code: 48 c7 81 80 0c 00 00 00 00 00 00 c7 81 20 03 00 00 00 00 00 00 48 c7 c7 ce f6 dc 8a 31 c0 48 8b 75 c0 4c 89 e2 e8 64 ae 2b fd <0f> 0b 66 90 eb fe 44 89 f7 e8 16 60 ae fd e9 88 fd ff ff 48 85 db RSP: 0018:ffff8801a442f6e8 EFLAGS: 00010246 RAX: 0000000000000054 RBX: 0000000000000000 RCX: 2b7adcb2e4477400 RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea000cbef440 RBP: ffff8801a442f740 R08: 0000000000480020 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff8675b2c0 R12: 000000009528b090 R13: ffff8801cc59d270 R14: 00000000d60000a8 R15: 0000000094c000a6 FS: 0000000001261940(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d38f4 CR3: 0000000196eae000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:117 [inline] list_del_rcu include/linux/rculist.h:130 [inline] __free_vmap_area+0x2f5/0x650 mm/vmalloc.c:575 __purge_vmap_area_lazy+0x2c1/0x3b0 mm/vmalloc.c:683 try_purge_vmap_area_lazy mm/vmalloc.c:698 [inline] free_vmap_area_noflush+0x1fa/0x230 mm/vmalloc.c:730 free_unmap_vmap_area mm/vmalloc.c:743 [inline] remove_vm_area+0x3b9/0x460 mm/vmalloc.c:1491 __vunmap+0x34c/0x5d0 mm/vmalloc.c:1519 vfree+0x79/0x170 mm/vmalloc.c:1594 __do_replace+0x49a/0x1050 net/ipv6/netfilter/ip6_tables.c:1118 do_replace net/ipv6/netfilter/ip6_tables.c:1160 [inline] do_ip6t_set_ctl+0x80b/0xa90 net/ipv6/netfilter/ip6_tables.c:1684 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x47c/0x4e0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x1e2/0x350 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x1c0/0x1f0 net/ipv4/tcp.c:3060 sock_common_setsockopt+0x13b/0x170 net/core/sock.c:3040 __sys_setsockopt+0x496/0x540 net/socket.c:1911 __do_sys_setsockopt net/socket.c:1922 [inline] __se_sys_setsockopt net/socket.c:1919 [inline] __x64_sys_setsockopt+0x15c/0x1c0 net/socket.c:1919 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x44768a Code: 49 89 ca b8 37 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 da d5 fb ff c3 66 0f 1f 84 00 00 00 00 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ba d5 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00000000007ee8e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00000000006d3900 RCX: 000000000044768a RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00000000006d3900 R08: 0000000000000558 R09: 0000000000004000 R10: 00000000006d38a0 R11: 0000000000000202 R12: 0000000000000003 R13: 00000000007eea10 R14: 00000000007ee910 R15: 0000000000000029 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace 87cee10c6229f599 ]--- RIP: 0010:__list_del_entry_valid+0x37c/0x440 lib/list_debug.c:51 Code: 48 c7 81 80 0c 00 00 00 00 00 00 c7 81 20 03 00 00 00 00 00 00 48 c7 c7 ce f6 dc 8a 31 c0 48 8b 75 c0 4c 89 e2 e8 64 ae 2b fd <0f> 0b 66 90 eb fe 44 89 f7 e8 16 60 ae fd e9 88 fd ff ff 48 85 db RSP: 0018:ffff8801a442f6e8 EFLAGS: 00010246 RAX: 0000000000000054 RBX: 0000000000000000 RCX: 2b7adcb2e4477400 RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea000cbef440 RBP: ffff8801a442f740 R08: 0000000000480020 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff8675b2c0 R12: 000000009528b090 R13: ffff8801cc59d270 R14: 00000000d60000a8 R15: 0000000094c000a6 FS: 0000000001261940(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d38f4 CR3: 0000000196eae000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400