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: 1 PID: 25908 Comm: syz-executor.1 Not tainted 5.0.0+ #109 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rt_cache_valid+0x33/0x190 net/ipv4/route.c:1517 Code: 31 e4 53 48 89 fb e8 cc d6 93 fb 48 85 db 74 4f e8 c2 d6 93 fb 48 8d 7b 3a 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 07 RSP: 0018:ffff8880ae907798 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 00000000000000da RCX: ffffffff85ddd6a1 RDX: 0000000000000022 RSI: ffffffff85dc8d6e RDI: 0000000000000114 RBP: ffff8880ae9077b0 R08: ffff8880a48ec180 R09: ffffed1015d25bc8 R10: ffffed1015d25bc7 R11: ffff8880ae92de3b R12: 0000000000000000 R13: 0000000000000000 R14: 00000000000000da R15: ffff8880a0e52580 FS: 00007f7792d35700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a44d7bdb8 CR3: 000000009fd2f000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mkroute_output net/ipv4/route.c:2273 [inline] ip_route_output_key_hash_rcu+0x89d/0x30e0 net/ipv4/route.c:2505 ip_route_output_key_hash+0x212/0x380 net/ipv4/route.c:2334 __ip_route_output_key include/net/route.h:124 [inline] ip_route_output_flow+0x28/0xc0 net/ipv4/route.c:2589 ip_route_output_key include/net/route.h:134 [inline] tipc_udp_xmit.isra.0+0x565/0xcc0 net/tipc/udp_media.c:173 tipc_udp_send_msg+0x295/0x4a0 net/tipc/udp_media.c:247 tipc_bearer_xmit_skb+0x172/0x360 net/tipc/bearer.c:503 tipc_disc_timeout+0x933/0xd60 net/tipc/discover.c:332 call_timer_fn+0x190/0x720 kernel/time/timer.c:1325 expire_timers kernel/time/timer.c:1362 [inline] __run_timers kernel/time/timer.c:1681 [inline] __run_timers kernel/time/timer.c:1649 [inline] run_timer_softirq+0x652/0x1700 kernel/time/timer.c:1694 __do_softirq+0x266/0x95a kernel/softirq.c:293 invoke_softirq kernel/softirq.c:374 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:414 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x14a/0x570 arch/x86/kernel/apic/apic.c:1062 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807 RIP: 0010:__sanitizer_cov_trace_cmp4+0x16/0x20 kernel/kcov.c:164 Code: 48 89 e5 48 8b 4d 08 e8 58 ff ff ff 5d c3 66 0f 1f 44 00 00 55 89 f2 89 fe bf 04 00 00 00 48 89 e5 48 8b 4d 08 e8 3a ff ff ff <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 f2 48 89 fe bf 06 00 00 00 RSP: 0018:ffff8880992572c8 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000002 RBX: ffff888099257598 RCX: ffffffff81f40b40 RDX: 0000000000000200 RSI: 00000000000000da RDI: 0000000000000004 RBP: ffff8880992572c8 R08: ffff8880a48ec180 R09: ffffed1042cdd109 R10: ffffed1042cdd108 R11: ffff8882166e8843 R12: 0000000000000006 R13: ffff888099257440 R14: 00000000000000da R15: 0000000000000200 mb_find_extent+0x480/0xab0 fs/ext4/mballoc.c:1529 ext4_mb_complex_scan_group+0x322/0x9d0 fs/ext4/mballoc.c:1961 ext4_mb_regular_allocator+0xa7c/0x1260 fs/ext4/mballoc.c:2216 ext4_mb_new_blocks+0x18fc/0x3c70 fs/ext4/mballoc.c:4537 ext4_ext_map_blocks+0x3082/0x4cd0 fs/ext4/extents.c:4397 ext4_map_blocks+0x8c5/0x18e0 fs/ext4/inode.c:636 ext4_alloc_file_blocks+0x287/0x9e0 fs/ext4/extents.c:4586 ext4_fallocate+0x8bc/0x1f90 fs/ext4/extents.c:4871 vfs_fallocate+0x4ac/0xa50 fs/open.c:308 ioctl_preallocate+0x197/0x210 fs/ioctl.c:490 file_ioctl fs/ioctl.c:506 [inline] do_vfs_ioctl+0x1185/0x1390 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458209 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7792d34c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458209 RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7792d356d4 R13: 00000000004c06fb R14: 00000000004d2398 R15: 00000000ffffffff Modules linked in: ---[ end trace cd60f9c37db81c2e ]--- RIP: 0010:rt_cache_valid+0x33/0x190 net/ipv4/route.c:1517 Code: 31 e4 53 48 89 fb e8 cc d6 93 fb 48 85 db 74 4f e8 c2 d6 93 fb 48 8d 7b 3a 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 07 RSP: 0018:ffff8880ae907798 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 00000000000000da RCX: ffffffff85ddd6a1 RDX: 0000000000000022 RSI: ffffffff85dc8d6e RDI: 0000000000000114 RBP: ffff8880ae9077b0 R08: ffff8880a48ec180 R09: ffffed1015d25bc8 R10: ffffed1015d25bc7 R11: ffff8880ae92de3b R12: 0000000000000000 R13: 0000000000000000 R14: 00000000000000da R15: ffff8880a0e52580 FS: 00007f7792d35700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a44d7bdb8 CR3: 000000009fd2f000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400