------------[ cut here ]------------ WARNING: CPU: 1 PID: 142 at net/ipv4/route.c:1261 ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1261 Modules linked in: CPU: 1 PID: 142 Comm: kworker/u8:5 Not tainted 6.8.0-syzkaller-08073-g480e035fc4c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1261 Code: f3 0f 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 0b e1 c0 f7 66 90 e8 04 e1 c0 f7 48 89 df be 02 00 00 00 e8 27 80 6e ff 90 <0f> 0b 90 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc f3 0f 1e RSP: 0018:ffffc90000a08680 EFLAGS: 00010286 RAX: 32af762f5e142000 RBX: ffff88801f7acdc0 RCX: ffffffff81720c2a RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: ffffffff8bfed360 RBP: 0000000000000001 R08: ffffffff92ce1597 R09: 1ffffffff259c2b2 R10: dffffc0000000000 R11: fffffbfff259c2b3 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888064fb8000 R15: ffff888016bd1380 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006a4b4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000001 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ip_local_out net/ipv4/ip_output.c:129 [inline] ip_send_skb net/ipv4/ip_output.c:1493 [inline] ip_push_pending_frames+0xbf/0x150 net/ipv4/ip_output.c:1513 __icmp_send+0xfb0/0x1500 net/ipv4/icmp.c:770 ipv4_send_dest_unreach net/ipv4/route.c:1241 [inline] ipv4_link_failure+0x62f/0xa10 net/ipv4/route.c:1248 dst_link_failure include/net/dst.h:429 [inline] arp_error_report+0x114/0x160 net/ipv4/arp.c:296 neigh_invalidate+0x244/0x470 net/core/neighbour.c:1059 neigh_timer_handler+0x8a5/0xfb0 net/core/neighbour.c:1146 call_timer_fn+0x17e/0x600 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2408 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2419 run_timer_base kernel/time/timer.c:2428 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2438 __do_softirq+0x2bc/0x943 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:61 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x3a/0x290 mm/kasan/generic.c:189 Code: f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f 82 56 02 00 00 48 89 fd 48 c1 ed 2f 81 fd fe ff 01 00 0f 86 43 02 00 00 48 89 fb <48> c1 eb 03 49 ba 00 00 00 00 00 fc ff df 4e 8d 1c 13 49 ff c8 4d RSP: 0018:ffffc9000264f9f0 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffffff8f872ce8 RCX: ffffffff8171c080 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8f872ce8 RBP: 000000000001ffff R08: ffffffff8f872cf0 R09: 1ffffffff259c2a0 R10: dffffc0000000000 R11: fffffbfff259c2a1 R12: 1ffff920004c9f50 R13: ffffffff8b40799b R14: ffff88805eb80a80 R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:505 [inline] cpu_online include/linux/cpumask.h:1120 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xb0/0x9d0 kernel/locking/lockdep.c:5765 rcu_lock_release include/linux/rcupdate.h:308 [inline] rcu_read_unlock include/linux/rcupdate.h:783 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x290/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 ---------------- Code disassembly (best guess): 0: f6 0f 84 testb $0x84,(%rdi) 3: a0 01 00 00 4c 8d 04 movabs 0x4937048d4c000001,%al a: 37 49 c: 39 f8 cmp %edi,%eax e: 0f 82 56 02 00 00 jb 0x26a 14: 48 89 fd mov %rdi,%rbp 17: 48 c1 ed 2f shr $0x2f,%rbp 1b: 81 fd fe ff 01 00 cmp $0x1fffe,%ebp 21: 0f 86 43 02 00 00 jbe 0x26a 27: 48 89 fb mov %rdi,%rbx * 2a: 48 c1 eb 03 shr $0x3,%rbx <-- trapping instruction 2e: 49 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%r10 35: fc ff df 38: 4e 8d 1c 13 lea (%rbx,%r10,1),%r11 3c: 49 ff c8 dec %r8 3f: 4d rex.WRB