kernel msg: ebtables bug: please report to author: EBT_ENTRY_OR_ENTRIES shouldn't be set in distinguisher kernel msg: ebtables bug: please report to author: EBT_ENTRY_OR_ENTRIES shouldn't be set in distinguisher BUG: unable to handle kernel NULL pointer dereference at 00000000000000d0 PGD 8000000191898067 P4D 8000000191898067 PUD 19596c067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 1 PID: 31950 Comm: syz-executor3 Not tainted 4.18.0-rc4+ #27 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:slab_equal_or_root mm/slab.h:228 [inline] RIP: 0010:cache_from_obj mm/slab.h:374 [inline] RIP: 0010:kmem_cache_free+0x319/0x2c30 mm/slub.c:2989 Code: 48 f7 d0 48 21 c8 0f 84 6e 01 00 00 49 39 dc 0f 84 7f 01 00 00 44 89 7d 80 49 8d 9c 24 d0 00 00 00 4d 85 f6 0f 85 c6 11 00 00 <4c> 8b 2b 48 89 df e8 3c 81 03 00 48 8b 00 48 0b 45 a0 74 16 4c 89 RSP: 0018:ffff8800a297f480 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000000000d0 RCX: 0000000000000000 RDX: ffffffff8ba11000 RSI: 0000000000000001 RDI: ffffea0006000018 RBP: ffff8800a297f5d8 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff88b2dcb0 R12: 0000000000000000 R13: 000077ff80000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fa2af7b9700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000001ba704000 CR4: 00000000001406e0 DR0: 0000000020abe000 DR1: 0000000020abe000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: sk_prot_free net/core/sock.c:1516 [inline] __sk_destruct+0x8cd/0x9a0 net/core/sock.c:1600 sk_destruct net/core/sock.c:1608 [inline] __sk_free+0x5c4/0x680 net/core/sock.c:1619 sk_free net/core/sock.c:1630 [inline] sock_put include/net/sock.h:1667 [inline] sk_common_release+0x38e/0x590 net/core/sock.c:3091 raw_close+0x63/0x70 net/ipv4/raw.c:716 inet_release+0x256/0x2d0 net/ipv4/af_inet.c:427 __sock_release net/socket.c:599 [inline] sock_close+0x11e/0x360 net/socket.c:1150 __fput+0x458/0xa30 fs/file_table.c:209 ____fput+0x37/0x40 fs/file_table.c:243 task_work_run+0x22e/0x2b0 kernel/task_work.c:113 get_signal+0x1f87/0x2190 kernel/signal.c:2298 do_signal+0xca/0x2060 arch/x86/kernel/signal.c:816 exit_to_usermode_loop arch/x86/entry/common.c:162 [inline] prepare_exit_to_usermode+0x297/0x430 arch/x86/entry/common.c:197 syscall_return_slowpath+0x108/0x800 arch/x86/entry/common.c:268 do_syscall_64+0x1ad/0x230 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x455ab9 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa2af7b8c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: fffffffffffffe00 RBX: 00007fa2af7b96d4 RCX: 0000000000455ab9 RDX: 0000000000000000 RSI: 0000000020000740 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c0afe R14: 00000000004d0f00 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 00000000000000d0 ---[ end trace 3c8786e02df6e224 ]--- RIP: 0010:slab_equal_or_root mm/slab.h:228 [inline] RIP: 0010:cache_from_obj mm/slab.h:374 [inline] RIP: 0010:kmem_cache_free+0x319/0x2c30 mm/slub.c:2989 Code: 48 f7 d0 48 21 c8 0f 84 6e 01 00 00 49 39 dc 0f 84 7f 01 00 00 44 89 7d 80 49 8d 9c 24 d0 00 00 00 4d 85 f6 0f 85 c6 11 00 00 <4c> 8b 2b 48 89 df e8 3c 81 03 00 48 8b 00 48 0b 45 a0 74 16 4c 89 RSP: 0018:ffff8800a297f480 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000000000d0 RCX: 0000000000000000 RDX: ffffffff8ba11000 RSI: 0000000000000001 RDI: ffffea0006000018 RBP: ffff8800a297f5d8 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff88b2dcb0 R12: 0000000000000000 R13: 000077ff80000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fa2af7b9700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000001ba704000 CR4: 00000000001406e0 DR0: 0000000020abe000 DR1: 0000000020abe000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600