bisecting fixing commit since dda0e2920330128e0dbdeb11c8f25031aa40b11c building syzkaller on 5ed396e666c7826bed46f06c4db1409376691fed testing commit dda0e2920330128e0dbdeb11c8f25031aa40b11c compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: b9f21341600ee7e04a2aaf9ece35dd7b14eb9f15917b872ffab6851957970ce0 all runs: crashed: WARNING in ip_rt_bug testing current HEAD b172b44fcb1771e083aad806fa96f3f60e2ddfac testing commit b172b44fcb1771e083aad806fa96f3f60e2ddfac compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: bbd2cc898027109683d3d3f2f0be5186eab9764465635c9b6f4f4bd3190173b6 run #0: crashed: WARNING in ip_rt_bug run #1: crashed: WARNING in ip_rt_bug run #2: crashed: WARNING in ip_rt_bug run #3: crashed: WARNING in ip_rt_bug run #4: crashed: WARNING in ip_rt_bug run #5: crashed: WARNING in ip_rt_bug run #6: crashed: WARNING in corrupted run #7: crashed: WARNING in ip_rt_bug run #8: crashed: WARNING in ip_rt_bug run #9: crashed: WARNING in corrupted revisions tested: 2, total time: 31m30.396915752s (build: 22m39.746547976s, test: 7m54.010859056s) the crash still happens on HEAD commit msg: Linux 4.19.206 crash: WARNING in corrupted IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready ------------[ cut here ]------------ ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7222 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 WARNING: CPU: 1 PID: 7232 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Modules linked in: Modules linked in: CPU: 0 PID: 7222 Comm: syz-executor.1 Not tainted 4.19.206-syzkaller #0 CPU: 1 PID: 7232 Comm: syz-executor.0 Not tainted 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 RSP: 0018:ffff8881d8487100 EFLAGS: 00010286 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RAX: 0000000000000024 RBX: ffff8881d85a4a40 RCX: 0000000000000000 RSP: 0018:ffff8881d8157100 EFLAGS: 00010286 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 RAX: 0000000000000024 RBX: ffff8881d903a980 RCX: 0000000000000000 RBP: ffff8881d8487100 R08: ffffed103ed05089 R09: ffffed103ed05088 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 R10: ffffed103ed05088 R11: ffff8881f6828447 R12: ffff8881e72fc0c0 RBP: ffff8881d8157100 R08: ffffed103ed25089 R09: ffffed103ed25088 R10: ffffed103ed25088 R11: ffff8881f6928447 R12: ffff8881d08a0080 R13: ffff8881e6b63840 R14: ffff8881d85a4a98 R15: ffff8881d84873c4 FS: 00007f4242913700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 R13: ffff8881d08fac40 R14: ffff8881d903a9d8 R15: ffff8881d81573c4 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 00007f4281d96700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CR2: 00007fa21c672020 CR3: 00000001d8c54006 CR4: 00000000001606f0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 CR2: 00007f734eaf0020 CR3: 00000001d8ab5003 CR4: 00000000001606e0 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 Call Trace: ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 vfs_write+0x150/0x4d0 fs/read_write.c:549 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 ksys_write+0x103/0x260 fs/read_write.c:599 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 RSP: 002b:00007f4242913198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 entry_SYSCALL_64_after_hwframe+0x49/0xbe RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 RIP: 0033:0x4641a9 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007f42429136bc R14: 00000000ffffffff R15: 0000000000000003 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 irq event stamp: 1421 RSP: 002b:00007f4281d96198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 hardirqs last enabled at (1420): [] trace_hardirqs_on_thunk+0x1a/0x1c RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 hardirqs last disabled at (1421): [] trace_hardirqs_off_thunk+0x1a/0x1c RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 softirqs last enabled at (1272): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1272): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 R13: 00007f4281d966bc R14: 00000000ffffffff R15: 0000000000000003 softirqs last disabled at (1274): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 irq event stamp: 1249 ---[ end trace 336d29dbe16a5ebc ]--- hardirqs last enabled at (1248): [] console_unlock+0xb9f/0xde0 kernel/printk/printk.c:2464 IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready hardirqs last disabled at (1249): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1146): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1146): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (1148): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 ---[ end trace 336d29dbe16a5ebd ]--- IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_0 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_1 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7295 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Modules linked in: CPU: 1 PID: 7295 Comm: syz-executor.3 Tainted: G W 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RSP: 0018:ffff8881d6727100 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff8881d681b1c0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 ------------[ cut here ]------------ RBP: ffff8881d6727100 R08: ffffed103ed25089 R09: ffffed103ed25088 WARNING: CPU: 0 PID: 7294 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 R10: ffffed103ed25088 R11: ffff8881f6928447 R12: ffff8881e03c8100 Modules linked in: R13: ffff8881d095e6c0 R14: ffff8881d681b218 R15: ffff8881d67273c4 FS: 00007f2550a5d700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CPU: 0 PID: 7294 Comm: syz-executor.0 Tainted: G W 4.19.206-syzkaller #0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CR2: 000000002014f000 CR3: 00000001d8ab7005 CR4: 00000000001606e0 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 RSP: 0018:ffff8881d63cf100 EFLAGS: 00010286 Call Trace: RAX: 0000000000000024 RBX: ffff8881d7b92980 RCX: 0000000000000000 dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 RBP: ffff8881d63cf100 R08: ffffed103ed05089 R09: ffffed103ed05088 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 R10: ffffed103ed05088 R11: ffff8881f6828447 R12: ffff8881d08a0080 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 R13: ffff8881d08fb200 R14: ffff8881d7b929d8 R15: ffff8881d63cf3c4 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 FS: 00007f4281d96700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe4dacdccc CR3: 00000001d6539004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2550a5d198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 vfs_write+0x150/0x4d0 fs/read_write.c:549 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 ksys_write+0x103/0x260 fs/read_write.c:599 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007f2550a5d6bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 1281 hardirqs last enabled at (1280): [] console_unlock+0x660/0xde0 kernel/printk/printk.c:2489 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 hardirqs last disabled at (1281): [] trace_hardirqs_off_thunk+0x1a/0x1c do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 softirqs last enabled at (1176): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1176): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (1178): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 entry_SYSCALL_64_after_hwframe+0x49/0xbe ---[ end trace 336d29dbe16a5ebe ]--- RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4281d96198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007f4281d966bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 1371 hardirqs last enabled at (1370): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (1371): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1220): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1220): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (1222): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 ---[ end trace 336d29dbe16a5ebf ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7326 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Modules linked in: CPU: 0 PID: 7326 Comm: syz-executor.1 Tainted: G W 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RSP: 0018:ffff8881d4d27100 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff8881cd486340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 RBP: ffff8881d4d27100 R08: ffffed103ed05089 R09: ffffed103ed05088 R10: ffffed103ed05088 R11: ffff8881f6828447 R12: ffff8881e72fc0c0 R13: ffff8881e6b63840 R14: ffff8881cd486398 R15: ffff8881d4d273c4 FS: 00007f4242913700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff0abe7c60 CR3: 00000001d591f004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4242913198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007f42429136bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 1267 hardirqs last enabled at (1266): [] console_unlock+0x660/0xde0 kernel/printk/printk.c:2489 hardirqs last disabled at (1267): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1140): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1140): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (1142): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 ---[ end trace 336d29dbe16a5ec0 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7488 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Modules linked in: CPU: 0 PID: 7488 Comm: syz-executor.3 Tainted: G W 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RSP: 0018:ffff8881d9b47100 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff8881cf090780 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 RBP: ffff8881d9b47100 R08: ffffed103ed05089 R09: ffffed103ed05088 R10: ffffed103ed05088 R11: ffff8881f6828447 R12: ffff8881e03c8100 R13: ffff8881d095ec80 R14: ffff8881cf0907d8 R15: ffff8881d9b473c4 FS: 00007f2550a5d700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffefd9d1a60 CR3: 00000001d65bf004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2550a5d198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007f2550a5d6bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 1333 hardirqs last enabled at (1332): [] console_unlock+0x660/0xde0 kernel/printk/printk.c:2489 hardirqs last disabled at (1333): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1216): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1216): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (1218): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 ---[ end trace 336d29dbe16a5ec1 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7506 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Modules linked in: CPU: 0 PID: 7506 Comm: syz-executor.3 Tainted: G W 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 ------------[ cut here ]------------ RSP: 0018:ffff8881f49ef100 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff8881d8034ac0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 RBP: ffff8881f49ef100 R08: ffffed103ed05089 R09: ffffed103ed05088 R10: ffffed103ed05088 R11: ffff8881f6828447 R12: ffff8881e03c8100 R13: ffff8881d095ec80 R14: ffff8881d8034b18 R15: ffff8881f49ef3c4 FS: 00007f2550a3c700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe7f63c838 CR3: 00000001d65bf001 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 WARNING: CPU: 1 PID: 7514 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Modules linked in: CPU: 1 PID: 7514 Comm: syz-executor.5 Tainted: G W 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RSP: 0018:ffff8881d6b57100 EFLAGS: 00010286 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 RAX: 0000000000000024 RBX: ffff8881d5141080 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 RBP: ffff8881d6b57100 R08: ffffed103ed25089 R09: ffffed103ed25088 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 R10: ffffed103ed25088 R11: ffff8881f6928447 R12: ffff8881e75dc180 R13: ffff8881e6cbad40 R14: ffff8881d51410d8 R15: ffff8881d6b573c4 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 FS: 00007fabdaaca700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f63d2f5148 CR3: 00000001f4e2d005 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 vfs_write+0x150/0x4d0 fs/read_write.c:549 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2550a3c198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bfa0 R13: 00007f2550a3c6bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 245 hardirqs last enabled at (244): [] console_unlock+0x660/0xde0 kernel/printk/printk.c:2489 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 hardirqs last disabled at (245): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (116): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (116): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 softirqs last disabled at (118): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 ---[ end trace 336d29dbe16a5ec2 ]--- vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fabdaaca198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007fabdaaca6bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 1283 hardirqs last enabled at (1282): [] console_unlock+0xb9f/0xde0 kernel/printk/printk.c:2464 hardirqs last disabled at (1283): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1168): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1168): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (1170): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 ---[ end trace 336d29dbe16a5ec3 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7589 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Modules linked in: CPU: 1 PID: 7589 Comm: syz-executor.1 Tainted: G W 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ------------[ cut here ]------------ RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RSP: 0018:ffff8881d37ff100 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff8881d4dfc940 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 RBP: ffff8881d37ff100 R08: ffffed103ed25089 R09: ffffed103ed25088 R10: ffffed103ed25088 R11: ffff8881f6928447 R12: ffff8881e72fc0c0 R13: ffff8881e6b63280 R14: ffff8881d4dfc998 R15: ffff8881d37ff3c4 FS: 00007f42428d1700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f25509fa718 CR3: 00000001d88ec004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 WARNING: CPU: 0 PID: 7596 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Modules linked in: Call Trace: CPU: 0 PID: 7596 Comm: syz-executor.5 Tainted: G W 4.19.206-syzkaller #0 dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 RSP: 0018:ffff8881cf33f100 EFLAGS: 00010286 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 RAX: 0000000000000024 RBX: ffff8881cf15f0c0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 RBP: ffff8881cf33f100 R08: ffffed103ed05089 R09: ffffed103ed05088 R10: ffffed103ed05088 R11: ffff8881f6828447 R12: ffff8881e75dc180 R13: ffff8881e6cbb300 R14: ffff8881cf15f118 R15: ffff8881cf33f3c4 FS: 00007fabdaaca700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002014f000 CR3: 00000001f4e2d004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 Call Trace: dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f42428d1198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 vfs_write+0x150/0x4d0 fs/read_write.c:549 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053c040 ksys_write+0x103/0x260 fs/read_write.c:599 R13: 00007f42428d16bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 201 hardirqs last enabled at (200): [] console_unlock+0x660/0xde0 kernel/printk/printk.c:2489 hardirqs last disabled at (201): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (86): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (86): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (88): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 ---[ end trace 336d29dbe16a5ec4 ]--- do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 ------------[ cut here ]------------ entry_SYSCALL_64_after_hwframe+0x49/0xbe WARNING: CPU: 1 PID: 7603 at net/ipv4/route.c:1247 ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 RIP: 0033:0x4641a9 Modules linked in: Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 CPU: 1 PID: 7603 Comm: syz-executor.0 Tainted: G W 4.19.206-syzkaller #0 RSP: 002b:00007fabdaaca198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RIP: 0010:ip_rt_bug+0x18/0x20 net/ipv4/route.c:1247 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 Code: 48 8b 45 d8 e9 ed fe ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 d7 48 89 e5 e8 b4 e0 a2 ff 48 c7 c7 00 4b c7 87 e8 ba 28 17 01 <0f> 0b 31 c0 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 RSP: 0018:ffff8881d4167100 EFLAGS: 00010286 R13: 00007fabdaaca6bc R14: 00000000ffffffff R15: 0000000000000003 RAX: 0000000000000024 RBX: ffff8881d78c6640 RCX: 0000000000000000 irq event stamp: 1295 RDX: 0000000000000000 RSI: ffffffff8767b580 RDI: ffffffff8a1889a0 hardirqs last enabled at (1294): [] console_unlock+0xb9f/0xde0 kernel/printk/printk.c:2464 RBP: ffff8881d4167100 R08: ffffed103ed25089 R09: ffffed103ed25088 hardirqs last disabled at (1295): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1164): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1164): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 R10: ffffed103ed25088 R11: ffff8881f6928447 R12: ffff8881d08a0080 softirqs last disabled at (1166): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 R13: ffff8881d08fac40 R14: ffff8881d78c6698 R15: ffff8881d41673c4 FS: 00007f4281d96700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 ---[ end trace 336d29dbe16a5ec5 ]--- CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa21c6bd028 CR3: 00000001d5bcb001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:455 [inline] ip_local_out+0x74/0x130 net/ipv4/ip_output.c:125 ip_send_skb+0x36/0xa0 net/ipv4/ip_output.c:1451 ip_push_pending_frames+0x4d/0x70 net/ipv4/ip_output.c:1471 icmp_push_reply+0x383/0x610 net/ipv4/icmp.c:398 __icmp_send+0xbe1/0x18f0 net/ipv4/icmp.c:754 icmp_send include/net/icmp.h:47 [inline] ip_options_compile+0xad/0xc0 net/ipv4/ip_options.c:485 ip_rcv_options net/ipv4/ip_input.c:282 [inline] ip_rcv_finish_core.isra.16+0x3b1/0x1830 net/ipv4/ip_input.c:356 ip_rcv_finish+0x104/0x270 net/ipv4/ip_input.c:412 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xcb/0x2e0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x112/0x1a0 net/core/dev.c:4954 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5066 netif_receive_skb_internal+0xca/0x300 net/core/dev.c:5156 netif_receive_skb+0x3b/0x1e0 net/core/dev.c:5213 tun_rx_batched.isra.54+0x4d8/0x9c0 drivers/net/tun.c:1543 tun_get_user+0x29b2/0x4e50 drivers/net/tun.c:1974 tun_chr_write_iter+0xb7/0x1a0 drivers/net/tun.c:2007 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4641a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4281d96198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000d0d RCX: 00000000004641a9 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000053bf00 R13: 00007f4281d966bc R14: 00000000ffffffff R15: 0000000000000003 irq event stamp: 1283 hardirqs last enabled at (1282): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (1283): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1156): [] rcu_read_unlock include/linux/rcupdate.h:677 [inline] softirqs last enabled at (1156): [] tun_get_user+0x28ea/0x4e50 drivers/net/tun.c:1921 softirqs last disabled at (1158): [] tun_rx_batched.isra.54+0x439/0x9c0 drivers/net/tun.c:1570 ---[ end trace 336d29dbe16a5ec6 ]--- ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 40 00 nopl 0x0(%rax) 10: 48 89 f8 mov %rdi,%rax 13: 48 89 f7 mov %rsi,%rdi 16: 48 89 d6 mov %rdx,%rsi 19: 48 89 ca mov %rcx,%rdx 1c: 4d 89 c2 mov %r8,%r10 1f: 4d 89 c8 mov %r9,%r8 22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 27: 0f 05 syscall * 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 2f: 73 01 jae 0x32 31: c3 retq 32: 48 c7 c1 bc ff ff ff mov $0xffffffffffffffbc,%rcx 39: f7 d8 neg %eax 3b: 64 89 01 mov %eax,%fs:(%rcx) 3e: 48 rex.W