serio: Serial port ptm0 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 Modules linked in: CPU: 0 PID: 26774 Comm: syz-executor.1 Not tainted 4.9.203-syzkaller #0 task: 0000000019946f4e task.stack: 000000003ee7275f RIP: 0010:[] [<00000000ecda1461>] addrconf_rt_table+0x127/0x290 net/ipv6/addrconf.c:2226 RSP: 0018:ffff8801c4f073c8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff8801b0b24000 RCX: 0000000000000001 RDX: 0000000000000056 RSI: 0000000000000000 RDI: 00000000000002b0 RBP: ffff8801c4f073f8 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 00000000000000fe R13: 0000000000000200 R14: 0000000000000000 R15: ffff8801b0d09ec0 FS: 00007f7ac93ab700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fb35000 CR3: 00000001d8235000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffffffff826c4bd0 ffff8801cdaaca00 ffff8801b0b24000 0000000000000000 0000000000000080 ffff8801b0d09ec0 ffff8801c4f07440 ffffffff826c5ae4 0000000000000000 ffff8801cdaacb90 ffff8801cdaaca00 ffff8801cdaacb90 Call Trace: [<000000005e150009>] addrconf_get_prefix_route+0x34/0x270 net/ipv6/addrconf.c:2280 [<00000000a5ccdcdf>] __ipv6_ifa_notify+0x642/0x880 net/ipv6/addrconf.c:5520 [<000000005c5edb2c>] addrconf_ifdown+0xa89/0x14d0 net/ipv6/addrconf.c:3692 [<0000000097b74808>] addrconf_notify+0x7ac/0x1f50 net/ipv6/addrconf.c:3496 [<00000000ba69ce43>] notifier_call_chain+0xb4/0x1d0 kernel/notifier.c:93 [<00000000f225c9c8>] __raw_notifier_call_chain kernel/notifier.c:394 [inline] [<00000000f225c9c8>] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401 [<0000000009dfbbd6>] call_netdevice_notifiers_info+0x56/0x70 net/core/dev.c:1647 [<00000000345bd65b>] call_netdevice_notifiers net/core/dev.c:1663 [inline] [<00000000345bd65b>] rollback_registered_many+0x6ef/0xb50 net/core/dev.c:6863 [<00000000ebf5071c>] rollback_registered+0xf2/0x1b0 net/core/dev.c:6904 [<00000000425b467d>] unregister_netdevice_queue net/core/dev.c:7893 [inline] [<00000000425b467d>] unregister_netdevice_queue+0x1ae/0x230 net/core/dev.c:7886 [<00000000f7eec711>] unregister_netdevice include/linux/netdevice.h:2468 [inline] [<00000000f7eec711>] __tun_detach+0x820/0xa00 drivers/net/tun.c:575 [<0000000086684c07>] tun_detach drivers/net/tun.c:585 [inline] [<0000000086684c07>] tun_chr_close+0x46/0x60 drivers/net/tun.c:2396 [<0000000071d1d827>] __fput+0x274/0x720 fs/file_table.c:208 [<0000000017e101b1>] ____fput+0x16/0x20 fs/file_table.c:244 [<00000000b1ff059e>] task_work_run+0x108/0x180 kernel/task_work.c:116 [<00000000fce5ba04>] exit_task_work include/linux/task_work.h:21 [inline] [<00000000fce5ba04>] do_exit+0x78f/0x2aa0 kernel/exit.c:842 [<0000000045139ed8>] do_group_exit+0x111/0x300 kernel/exit.c:946 [<00000000038ab435>] get_signal+0x377/0x1cb0 kernel/signal.c:2399 [<0000000018a3f0e4>] do_signal+0x9c/0x1920 arch/x86/kernel/signal.c:812 [<000000005fea8803>] exit_to_usermode_loop+0x11c/0x160 arch/x86/entry/common.c:159 [<0000000097d095b4>] prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] [<0000000097d095b4>] syscall_return_slowpath arch/x86/entry/common.c:266 [inline] [<0000000097d095b4>] do_syscall_64+0x3ab/0x5c0 arch/x86/entry/common.c:293 [<00000000f6f976e2>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: 6c 82 be 01 00 00 00 48 c7 c7 e0 59 0d 83 e8 91 d9 b4 fe 49 8d be b0 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 35 01 00 00 45 8b be b0 02 RIP [<00000000ecda1461>] addrconf_rt_table+0x127/0x290 net/ipv6/addrconf.c:2226 RSP ---[ end trace 6f35542d8e5b3c1f ]---