kernel msg: ebtables bug: please report to author: Wrong len argument kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14660 Comm: syz-executor.0 Not tainted 5.0.0-rc5+ #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:fib6_drop_pcpu_from net/ipv6/ip6_fib.c:924 [inline] RIP: 0010:fib6_purge_rt+0x4b3/0x670 net/ipv6/ip6_fib.c:960 Code: 0f b6 35 f8 c5 4c 03 31 ff 44 89 f6 e8 46 da 63 fb 45 84 f6 0f 84 b3 00 00 00 e8 f8 d8 63 fb 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 64 01 00 00 48 89 f8 4d 8b 77 70 48 c1 e8 03 80 RSP: 0018:ffff888063876e88 EFLAGS: 00010206 RAX: 000000000000001e RBX: dffffc0000000000 RCX: ffffffff860c0859 RDX: 0000000000000000 RSI: ffffffff860c0788 RDI: 00000000000000f1 RBP: ffff888063876ee0 R08: ffff8880563883c0 R09: ffffed101337962e R10: ffffed101337962d R11: ffff888099bcb16f R12: 0000000000000000 R13: ffff888099bcb140 R14: 0000000000000001 R15: 0000000000000081 FS: 00007f0ee5f65700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000023bd7d0 CR3: 00000000948d0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fib6_del_route net/ipv6/ip6_fib.c:1813 [inline] fib6_del+0xac2/0x10a0 net/ipv6/ip6_fib.c:1844 fib6_clean_node+0x3a8/0x590 net/ipv6/ip6_fib.c:2006 fib6_walk_continue+0x4b3/0x8e0 net/ipv6/ip6_fib.c:1928 fib6_walk+0x9d/0x100 net/ipv6/ip6_fib.c:1976 fib6_clean_tree+0xe0/0x120 net/ipv6/ip6_fib.c:2055 __fib6_clean_all+0x118/0x2a0 net/ipv6/ip6_fib.c:2071 fib6_clean_all+0x2b/0x40 net/ipv6/ip6_fib.c:2082 rt6_sync_down_dev+0x134/0x150 net/ipv6/route.c:4041 rt6_disable_ip+0x27/0x5f0 net/ipv6/route.c:4046 addrconf_ifdown+0xa2/0x1220 net/ipv6/addrconf.c:3669 addrconf_notify+0x5e1/0x2280 net/ipv6/addrconf.c:3594 notifier_call_chain+0xc7/0x240 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1739 call_netdevice_notifiers_extack net/core/dev.c:1751 [inline] call_netdevice_notifiers net/core/dev.c:1765 [inline] dev_close_many+0x33f/0x6f0 net/core/dev.c:1508 rollback_registered_many+0x43b/0xfd0 net/core/dev.c:8079 rollback_registered+0x109/0x1d0 net/core/dev.c:8144 unregister_netdevice_queue net/core/dev.c:9191 [inline] unregister_netdevice_queue+0x1ee/0x2c0 net/core/dev.c:9184 unregister_netdevice include/linux/netdevice.h:2642 [inline] __tun_detach+0xd5b/0x1000 drivers/net/tun.c:727 tun_detach drivers/net/tun.c:744 [inline] tun_chr_close+0xe0/0x180 drivers/net/tun.c:3435 __fput+0x2df/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x92c/0x2fd0 kernel/exit.c:875 do_group_exit+0x135/0x370 kernel/exit.c:979 get_signal+0x35c/0x1d60 kernel/signal.c:2572 do_signal+0x87/0x1940 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e39 Code: Bad RIP value. RSP: 002b:00007f0ee5f64cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000073bf08 RCX: 0000000000457e39 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000073bf08 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000073bf0c R13: 0000000000a4fb7f R14: 00007f0ee5f659c0 R15: 000000000073bf0c Modules linked in: ---[ end trace 96817787243e34bd ]--- RIP: 0010:fib6_drop_pcpu_from net/ipv6/ip6_fib.c:924 [inline] RIP: 0010:fib6_purge_rt+0x4b3/0x670 net/ipv6/ip6_fib.c:960 Code: 0f b6 35 f8 c5 4c 03 31 ff 44 89 f6 e8 46 da 63 fb 45 84 f6 0f 84 b3 00 00 00 e8 f8 d8 63 fb 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 64 01 00 00 48 89 f8 4d 8b 77 70 48 c1 e8 03 80 RSP: 0018:ffff888063876e88 EFLAGS: 00010206 kobject: 'loop3' (00000000adfac91b): kobject_uevent_env RAX: 000000000000001e RBX: dffffc0000000000 RCX: ffffffff860c0859 kobject: 'loop3' (00000000adfac91b): fill_kobj_path: path = '/devices/virtual/block/loop3' RDX: 0000000000000000 RSI: ffffffff860c0788 RDI: 00000000000000f1 kobject: 'loop4' (000000009277e1b8): kobject_uevent_env RBP: ffff888063876ee0 R08: ffff8880563883c0 R09: ffffed101337962e R10: ffffed101337962d R11: ffff888099bcb16f R12: 0000000000000000 R13: ffff888099bcb140 R14: 0000000000000001 R15: 0000000000000081 kobject: 'loop4' (000000009277e1b8): fill_kobj_path: path = '/devices/virtual/block/loop4' FS: 00007f0ee5f65700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000457e0f CR3: 0000000008871000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400