BUG: Bad rss-counter state mm:(____ptrval____) idx:1 val:2 BUG: non-zero pgtables_bytes on freeing mm: 8192 list_del corruption. prev->next should be ffff880191a91090, but was 0000000091a91090 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:53! invalid opcode: 0000 [#1] SMP PTI CPU: 0 PID: 4570 Comm: syz-executor422 Not tainted 4.18.0-rc4+ #26 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 2e f7 dc 8a 31 c0 48 8b 75 c0 4c 89 e2 e8 a4 ab 2b fd <0f> 0b 66 90 eb fe 44 89 f7 e8 26 60 ae fd e9 88 fd ff ff 48 85 db RSP: 0018:ffff88018dfaf780 EFLAGS: 00010246 RAX: 0000000000000054 RBX: 0000000000000000 RCX: fc2c771a9b971b00 RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea000cbe9440 RBP: ffff88018dfaf7d8 R08: 0000000000480020 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff8675b580 R12: 0000000091a91090 R13: ffff8801cc7330f0 R14: 00000000d46000a4 R15: 00000000ade000a7 FS: 000000000183d880(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d0118 CR3: 00000001bd29c000 CR4: 00000000001406f0 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 copy_entries_to_user net/ipv4/netfilter/ip_tables.c:870 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1027 [inline] do_ipt_get_ctl+0x1150/0x11e0 net/ipv4/netfilter/ip_tables.c:1703 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x481/0x4e0 net/netfilter/nf_sockopt.c:122 ip_getsockopt+0x297/0x3f0 net/ipv4/ip_sockglue.c:1574 tcp_getsockopt+0x1c6/0x1f0 net/ipv4/tcp.c:3545 sock_common_getsockopt+0x13f/0x180 net/core/sock.c:2999 __sys_getsockopt+0x48c/0x550 net/socket.c:1948 __do_sys_getsockopt net/socket.c:1959 [inline] __se_sys_getsockopt net/socket.c:1956 [inline] __x64_sys_getsockopt+0x15d/0x1c0 net/socket.c:1956 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x4464fa Code: b8 10 01 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd d5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 RSP: 002b:00000000007ee8e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00000000006d5180 RCX: 00000000004464fa RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000006d5180 R08: 00000000007ee90c R09: 0000000000004000 R10: 00000000007eea10 R11: 0000000000000202 R12: 0000000000000003 R13: 00000000007eea10 R14: 00000000007ee910 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace a4eb8845acf2a302 ]--- 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 2e f7 dc 8a 31 c0 48 8b 75 c0 4c 89 e2 e8 a4 ab 2b fd <0f> 0b 66 90 eb fe 44 89 f7 e8 26 60 ae fd e9 88 fd ff ff 48 85 db RSP: 0018:ffff88018dfaf780 EFLAGS: 00010246 RAX: 0000000000000054 RBX: 0000000000000000 RCX: fc2c771a9b971b00 RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea000cbe9440 RBP: ffff88018dfaf7d8 R08: 0000000000480020 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff8675b580 R12: 0000000091a91090 R13: ffff8801cc7330f0 R14: 00000000d46000a4 R15: 00000000ade000a7 FS: 000000000183d880(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d0118 CR3: 00000001bd29c000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400