syzbot


WARNING: locking bug in __icmp_send (2)

Status: closed as invalid on 2019/07/01 17:56
Subsystems: net
[Documentation on labels]
First crash: 1793d, last: 1786d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in __icmp_send net syz done 2 1860d 1877d 0/26 closed as dup on 2019/05/09 13:03

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(class_idx > MAX_LOCKDEP_KEYS)
WARNING: CPU: 1 PID: 4530 at kernel/locking/lockdep.c:3765 __lock_acquire+0x17b5/0x5490 kernel/locking/lockdep.c:3765
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 4530 Comm: syz-executor.2 Not tainted 5.2.0-rc1+ #31
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x744 kernel/panic.c:219
 __warn.cold+0x20/0x4d kernel/panic.c:576
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986
RIP: 0010:__lock_acquire+0x17b5/0x5490 kernel/locking/lockdep.c:3765
Code: d2 0f 85 c7 2c 00 00 44 8b 3d a7 9e 29 08 45 85 ff 0f 85 57 f3 ff ff 48 c7 c6 20 c1 6b 87 48 c7 c7 00 98 6b 87 e8 09 d5 eb ff <0f> 0b e9 40 f3 ff ff 0f 0b e9 83 f1 ff ff 8b 0d 47 88 0e 09 85 c9
RSP: 0018:ffff8880ae909690 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff815ac7e6 RDI: ffffed1015d212c4
RBP: ffff8880ae909840 R08: ffff888090700300 R09: fffffbfff11730e9
R10: fffffbfff11730e8 R11: ffffffff88b98743 R12: 00000000bad9e909
R13: 00000000000000a9 R14: 000000000004a909 R15: 0000000000000000
 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:4303
 __raw_spin_trylock include/linux/spinlock_api_smp.h:90 [inline]
 _raw_spin_trylock+0x62/0x80 kernel/locking/spinlock.c:135
 spin_trylock include/linux/spinlock.h:348 [inline]
 icmp_xmit_lock net/ipv4/icmp.c:219 [inline]
 __icmp_send+0x553/0x13f0 net/ipv4/icmp.c:666
 ipv4_send_dest_unreach net/ipv4/route.c:1223 [inline]
 ipv4_link_failure+0x54e/0x920 net/ipv4/route.c:1230
 dst_link_failure include/net/dst.h:416 [inline]
 arp_error_report+0xce/0x1c0 net/ipv4/arp.c:297
 neigh_invalidate+0x245/0x570 net/core/neighbour.c:998
 neigh_timer_handler+0xc33/0xf30 net/core/neighbour.c:1084
 call_timer_fn+0x193/0x720 kernel/time/timer.c:1322
 expire_timers kernel/time/timer.c:1366 [inline]
 __run_timers kernel/time/timer.c:1685 [inline]
 __run_timers kernel/time/timer.c:1653 [inline]
 run_timer_softirq+0x66f/0x1740 kernel/time/timer.c:1698
 __do_softirq+0x25c/0x94c 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+0x13b/0x550 arch/x86/kernel/apic/apic.c:1068
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:806
 </IRQ>
RIP: 0010:zap_pte_range mm/memory.c:1142 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1195 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1224 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1245 [inline]
RIP: 0010:unmap_page_range+0xec4/0x22f0 mm/memory.c:1266
Code: ff ff ff 4c 89 e6 ba 00 10 00 00 e8 76 03 03 00 31 ff 41 89 c4 89 c6 e8 5a 9d d6 ff 45 84 e4 0f 85 72 08 00 00 e8 0c 9c d6 ff <4c> 8b b5 40 ff ff ff 48 89 de 48 83 85 58 ff ff ff 08 4c 89 f7 e8
RSP: 0018:ffff88806532f720 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff888090700300 RBX: 00007fefef385000 RCX: ffffffff819a0856
RDX: 0000000000000000 RSI: ffffffff819a0864 RDI: 0000000000000001
RBP: ffff88806532f880 R08: ffff888090700300 R09: fffff940004cc5a7
R10: fffff940004cc5a6 R11: ffffea0002662d33 R12: 0000000000000000
R13: 0000000000000002 R14: ffffea0002662d08 R15: dffffc0000000000
 unmap_single_vma+0x19d/0x300 mm/memory.c:1311
 unmap_vmas+0x135/0x280 mm/memory.c:1343
 exit_mmap+0x2ad/0x510 mm/mmap.c:3145
 __mmput kernel/fork.c:1059 [inline]
 mmput+0x15f/0x4c0 kernel/fork.c:1080
 exit_mm kernel/exit.c:547 [inline]
 do_exit+0x816/0x2fa0 kernel/exit.c:864
 do_group_exit+0x135/0x370 kernel/exit.c:981
 get_signal+0x41e/0x2240 kernel/signal.c:2638
 do_signal+0x87/0x1900 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:279 [inline]
 do_syscall_64+0x58e/0x680 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459279
Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fefeea57cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000075bf28 RCX: 0000000000459279
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bf28
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf2c
R13: 00007ffd31cec9cf R14: 00007fefeea589c0 R15: 000000000075bf2c
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/28 22:17 net-old d484e06e25eb 6bd61501 .config console log report ci-upstream-net-this-kasan-gce
2019/06/05 15:52 net-next-old 712246bc93cb bfb4a51e .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.