syzbot


BUG: soft lockup in inet_frag_destroy

Status: auto-obsoleted due to no activity on 2024/09/25 04:36
First crash: 158d, last: 149d

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.3.1018:3555]
Modules linked in:
CPU: 1 PID: 3555 Comm: syz.3.1018 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:memset_erms+0x6/0x10 arch/x86/lib/memset_64.S:63
Code: e2 07 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 <48> 89 d1 f3 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01
RSP: 0018:ffff8881f6f099e8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000d00 RBX: 0000000000000000 RCX: ffffffff8193fcd6
RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffff8881f6f099f0
RBP: ffff8881f6f09c30 R08: dffffc0000000000 R09: ffff8881f6f099f0
R10: 0000000000000006 R11: dffffc0000000001 R12: 0000000000001000
R13: ffff8881db170000 R14: ffff8881f5c0c280 R15: ffff8881f6f099f0
FS:  00007f083bf6c6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556e0c4a8 CR3: 00000001dec30000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 save_stack mm/kasan/common.c:67 [inline]
 set_track mm/kasan/common.c:78 [inline]
 kasan_set_free_info mm/kasan/common.c:345 [inline]
 __kasan_slab_free+0x1a6/0x270 mm/kasan/common.c:487
 slab_free_hook mm/slub.c:1455 [inline]
 slab_free_freelist_hook mm/slub.c:1494 [inline]
 slab_free mm/slub.c:3080 [inline]
 kfree+0x123/0x370 mm/slub.c:4071
 skb_release_all net/core/skbuff.c:675 [inline]
 __kfree_skb net/core/skbuff.c:689 [inline]
 kfree_skb+0xb8/0x3c0 net/core/skbuff.c:708
 inet_frag_rbtree_purge net/ipv4/inet_fragment.c:246 [inline]
 inet_frag_destroy+0x134/0x230 net/ipv4/inet_fragment.c:266
 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
 expire_timers kernel/time/timer.c:1493 [inline]
 __run_timers+0x879/0xbe0 kernel/time/timer.c:1817
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x195/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:538 [inline]
 smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
 </IRQ>
RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:4558
Code: 4c 89 e7 e8 90 e1 43 fd f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 04 a2 f4 fc fb bf 01 00 00 00 <e8> b9 e6 ff ff fa bf 01 00 00 00 e8 6e a3 f4 fc 65 48 8b 1d a6 4d
RSP: 0018:ffff8881eb9978e0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1103de3db07 RBX: 1ffff1103d732f20 RCX: ffffffff84511c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8881eb997968 R08: ffffffff82316d59 R09: ffffed103edeb135
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881eb997900
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff1103d732f1c
 retint_kernel+0x1b/0x1b
RIP: 0010:arch_atomic_dec_and_test arch/x86/include/asm/atomic.h:125 [inline]
RIP: 0010:atomic_dec_and_test include/asm-generic/atomic-instrumented.h:748 [inline]
RIP: 0010:mmput+0x20/0x60 kernel/fork.c:1121
Code: fe ff ff 0f 1f 80 00 00 00 00 55 41 56 53 48 89 fb e8 e4 03 2a 00 48 8d 7b 5c be 04 00 00 00 e8 56 bc 59 00 31 ed f0 ff 4b 5c <41> 0f 94 c6 40 0f 94 c5 bf 02 00 00 00 89 ee e8 cc 05 2a 00 31 ff
RSP: 0018:ffff8881eb997a20 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: ffffffff813a3801 RBX: ffff8881e15c44c0 RCX: ffffffff813a384a
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881e15c451c
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed103c2b88a4
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103de3d9dc
R13: ffff8881e15c44c0 R14: ffff8881ef1ed698 R15: ffff8881ef1ecec0
 exit_mm kernel/exit.c:536 [inline]
 do_exit+0xc08/0x2bc0 kernel/exit.c:846
 do_group_exit+0x138/0x300 kernel/exit.c:982
 get_signal+0xdb1/0x1440 kernel/signal.c:2735
 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159
 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
 ret_from_intr+0x1c/0x1c
RIP: 0033:0x7f083cbb2598
Code: c4 08 c3 0f 1f 80 00 00 00 00 48 83 ec 08 48 89 f2 48 63 ff 4c 89 d6 41 51 31 c0 4d 89 c1 49 89 c8 4c 89 d9 e8 39 85 13 00 5a <59> 48 83 c4 08 c3 66 90 41 55 41 54 55 48 89 fd 48 89 f7 53 48 29
RSP: 002b:00007f083bf6c058 EFLAGS: 00000217 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 00007f083ce78fa0 RCX: 00007f083cceaae9
RDX: 0000000000000000 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007f083cd6b746 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f083ce78fa0 R15: 00007ffc63447018
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2340 Comm: syz.4.662 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:check_preemption_disabled+0x1/0x320 lib/smp_processor_id.c:13
Code: 90 90 90 90 90 90 90 90 90 e8 2b d0 32 ff 48 c7 c7 20 46 fa 84 48 c7 c6 60 46 fa 84 eb 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 80 00 00
RSP: 0018:ffff8881f6e09168 EFLAGS: 00000006
RAX: ffffffff82316bf5 RBX: 1ffff1103edc5230 RCX: ffff8881eda46e40
RDX: 0000000000010102 RSI: ffffffff84fa4660 RDI: ffffffff84fa4620
RBP: 000000000000098a R08: ffffffff86e92008 R09: ffffffff86e92018
R10: ffffffff86e92003 R11: 1ffffffff0dd2400 R12: 000000485d7783d4
R13: dffffc0000000000 R14: ffff8881f6e29180 R15: ffff8881f6e29170
FS:  00007f4e1568c6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e1640aabf CR3: 00000001dec30000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 irqtime_account_delta kernel/sched/cputime.c:38 [inline]
 irqtime_account_irq+0xb9/0x1b0 kernel/sched/cputime.c:71
 account_irq_exit_time include/linux/vtime.h:114 [inline]
 irq_exit+0x19/0x1c0 kernel/softirq.c:410
 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:865
RIP: 0010:unwind_next_frame+0x4d0/0x1ea0 arch/x86/kernel/unwind_orc.c:451
Code: 00 00 c6 03 01 49 c7 c5 60 b2 a6 84 49 8d 55 04 49 8d 5d 05 49 89 d4 49 c1 ec 03 49 bf 00 00 00 00 00 fc ff df 43 0f b6 04 3c <84> c0 0f 85 55 15 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0
RSP: 0018:ffff8881f6e092a0 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff09
RAX: 0000000000000000 RBX: ffffffff867c51d9 RCX: ffffffff865158ac
RDX: ffffffff867c51d8 RSI: ffffffff867c51d4 RDI: 0000000000000001
RBP: ffff8881f6e09590 R08: 0000000000000001 R09: ffff8881f6e095f0
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0cf8a3b
R13: ffffffff867c51d4 R14: 0000000000000000 R15: dffffc0000000000
 arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123
 save_stack mm/kasan/common.c:70 [inline]
 set_track mm/kasan/common.c:78 [inline]
 __kasan_kmalloc+0x171/0x210 mm/kasan/common.c:529
 kmalloc include/linux/slab.h:556 [inline]
 dst_cow_metrics_generic+0x52/0x1b0 net/core/dst.c:201
 dst_metrics_write_ptr include/net/dst.h:118 [inline]
 dst_metric_set include/net/dst.h:179 [inline]
 icmp6_dst_alloc+0x349/0x550 net/ipv6/route.c:3197
 ndisc_send_skb+0x262/0xc30 net/ipv6/ndisc.c:489
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953
 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
 expire_timers kernel/time/timer.c:1493 [inline]
 __run_timers+0x879/0xbe0 kernel/time/timer.c:1817
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x195/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:538 [inline]
 smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
 </IRQ>
RIP: 0010:__schedule+0xb67/0x1320 kernel/sched/core.c:4314
Code: 24 60 0e 36 e0 45 48 8b 44 24 58 49 c7 04 04 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 a0 00 00 00 0f 85 67 04 00 00 <48> 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 8b 7c 24 20 48 8b
RSP: 0018:ffff8881dbe57360 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: a39870ad73cdba00 RBX: ffff8881f6e58540 RCX: 0000000000000002
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8881dbe57450 R08: ffffffff81799989 R09: fffffbfff0c96e5b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881eda46e40 R14: ffff8881f6e57b40 R15: 1ffff1103db48e5d
 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558
 retint_kernel+0x1b/0x1b
RIP: 0010:pte_lockptr include/linux/mm.h:2039 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1063 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1222 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1251 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1272 [inline]
RIP: 0010:unmap_page_range+0xa3b/0x2620 mm/memory.c:1293
Code: fe 1a 00 00 e8 26 75 d9 ff 4c 89 6c 24 08 ba 10 00 00 00 48 8d bc 24 80 01 00 00 31 f6 e8 9d 2d 09 00 48 8b 84 24 c0 00 00 00 <42> 80 3c 20 00 48 8b 5c 24 50 74 08 48 89 df e8 01 5a 09 00 4c 8b
RSP: 0018:ffff8881dbe575a0 EFLAGS: 00000256 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1103d7f22ac RBX: 0400000000000080 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffff8881dbe57730
RBP: ffff8881dbe57790 R08: dffffc0000000000 R09: ffff8881dbe57720
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 00007f4e1590f000 R14: 0000000000000000 R15: 0000000000000000
 unmap_single_vma mm/memory.c:1338 [inline]
 unmap_vmas+0x355/0x4b0 mm/memory.c:1370
 exit_mmap+0x2bc/0x520 mm/mmap.c:3191
 __mmput+0x8e/0x2c0 kernel/fork.c:1101
 exit_mm kernel/exit.c:536 [inline]
 do_exit+0xc08/0x2bc0 kernel/exit.c:846
 do_group_exit+0x138/0x300 kernel/exit.c:982
 get_signal+0xdb1/0x1440 kernel/signal.c:2735
 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159
 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
 ret_from_intr+0x1c/0x1c
RIP: 0033:0x7f4e1640aae9
Code: Bad RIP value.
RSP: 002b:00007f4e1568c048 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff09
RAX: 0000000000000000 RBX: 00007f4e16598fa0 RCX: 00007f4e1640aae9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007f4e1648b746 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f4e16598fa0 R15: 00007ffe4edd5ae8

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/27 04:27 android12-5.4 6f97bd951d82 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan BUG: soft lockup in inet_frag_destroy
2024/06/24 15:13 android12-5.4 6f97bd951d82 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan BUG: soft lockup in inet_frag_destroy
2024/06/18 11:21 android12-5.4 6f97bd951d82 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan BUG: soft lockup in inet_frag_destroy
* Struck through repros no longer work on HEAD.