Hello,
syzbot found the following issue on:
HEAD commit: 97a8651c Linux 4.19.189
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1210ada3d00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=82311d18bf81a023
dashboard link:
https://syzkaller.appspot.com/bug?extid=b18d5a06aac2503313d6
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+b18d5a...@syzkaller.appspotmail.com
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.2:15094]
Modules linked in:
irq event stamp: 2547141
hardirqs last enabled at (2547140): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (2547141): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (2508570): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (2508573): [<ffffffff813926d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (2508573): [<ffffffff813926d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 15094 Comm: syz-executor.2 Not tainted 4.19.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:fib_table_lookup+0x106/0x1e30 net/ipv4/fib_trie.c:1332
Code: 1a 00 00 48 8b 5b 08 e8 18 16 68 fa 31 ff 89 c5 89 c6 e8 bd f8 79 fa 85 ed 49 89 df 74 1e e8 41 f7 79 fa 0f b6 2d 62 40 26 04 <31> ff 89 ee e8 61 f8 79 fa 40 84 ed 0f 84 48 11 00 00 e8 23 f7 79
RSP: 0018:ffff8880ba106ee8 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: ffff88804e338540 RBX: ffff8880b336a8a0 RCX: ffffffff86e86723
RDX: 0000000000000100 RSI: ffffffff86e8672f RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880ba1072a0
R13: ffff8880a50a4980 R14: ffff8880a50a49b0 R15: ffff8880b336a8a0
FS: 00007fd031456700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01fe74000 CR3: 0000000009e6d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
fib_lookup include/net/ip_fib.h:330 [inline]
ip_route_output_key_hash_rcu+0x404/0x3060 net/ipv4/route.c:2485
ip_route_output_key_hash+0x1c6/0x320 net/ipv4/route.c:2375
__ip_route_output_key include/net/route.h:124 [inline]
ip_route_output_flow+0x23/0x150 net/ipv4/route.c:2632
ip_route_output_key include/net/route.h:134 [inline]
sctp_v4_get_dst+0x391/0x1190 net/sctp/protocol.c:457
sctp_transport_route+0x125/0x350 net/sctp/transport.c:312
sctp_ootb_pkt_new+0x1cf/0x390 net/sctp/sm_statefuns.c:6287
sctp_sf_tabort_8_4_8.constprop.0+0x30/0x420 net/sctp/sm_statefuns.c:3388
sctp_sf_ootb+0x5ba/0x670 net/sctp/sm_statefuns.c:3616
sctp_do_sm+0x162/0x5110 net/sctp/sm_sideeffect.c:1167
sctp_endpoint_bh_rcv+0x405/0x880 net/sctp/endpointola.c:457
sctp_inq_push+0x1da/0x270 net/sctp/inqueue.c:95
sctp_rcv+0x1625/0x3270 net/sctp/input.c:268
ip_local_deliver_finish+0x495/0xc00 net/ipv4/ip_input.c:215
NF_HOOK include/linux/netfilter.h:289 [inline]
ip_local_deliver+0x188/0x500 net/ipv4/ip_input.c:256
dst_input include/net/dst.h:461 [inline]
ip_rcv_finish+0x1ca/0x2e0 net/ipv4/ip_input.c:414
NF_HOOK include/linux/netfilter.h:289 [inline]
ip_rcv+0xca/0x3c0 net/ipv4/ip_input.c:524
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:4954
__netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066
process_backlog+0x241/0x700 net/core/dev.c:5848
napi_poll net/core/dev.c:6272 [inline]
net_rx_action+0x4ac/0xfb0 net/core/dev.c:6338
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:535 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:317 [inline]
RIP: 0010:PageSwapBacked include/linux/page-flags.h:295 [inline]
RIP: 0010:mm_counter_file include/linux/mm.h:1639 [inline]
RIP: 0010:mm_counter include/linux/mm.h:1648 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1349 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1452 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1481 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1502 [inline]
RIP: 0010:unmap_page_range+0x128d/0x2a70 mm/memory.c:1523
Code: 00 00 00 e8 f5 f8 d6 ff 48 8b 94 24 c0 00 00 00 48 85 d2 0f 85 01 0f 00 00 e8 4f f7 d6 ff 48 89 da 48 c1 ea 03 42 80 3c 32 00 <0f> 85 28 17 00 00 48 8b 1b 31 ff 48 c1 eb 12 83 e3 01 89 de c1 e3
RSP: 0018:ffff8880411a7770 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88804e338540 RBX: ffffea0002ab8c80 RCX: ffffffff818b670b
RDX: 1ffffd4000557190 RSI: ffffffff818b6721 RDI: 0000000000000007
RBP: ffffea0002ab8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: dead000000000100
R13: ffffea0002ab8c80 R14: dffffc0000000000 R15: 00007fd033781000
unmap_single_vma+0x198/0x300 mm/memory.c:1568
unmap_vmas+0xa9/0x180 mm/memory.c:1598
exit_mmap+0x2b9/0x530 mm/mmap.c:3093
__mmput kernel/fork.c:1015 [inline]
mmput+0x14e/0x4a0 kernel/fork.c:1036
exit_mm kernel/exit.c:549 [inline]
do_exit+0xaec/0x2be0 kernel/exit.c:857
do_group_exit+0x125/0x310 kernel/exit.c:967
get_signal+0x3f2/0x1f70 kernel/signal.c:2589
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665f9
Code: Bad RIP value.
RSP: 002b:00007fd031456188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: fffffffffffffe00 RBX: 000000000056bf60 RCX: 00000000004665f9
RDX: 000000000000006b RSI: 0000000000000084 RDI: 0000000000000005
RBP: 00000000004bfce1 R08: 000000000000001c R09: 0000000000000000
R10: 000000002055bfe4 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffd6158aadf R14: 00007fd031456300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 15152 Comm: syz-executor.4 Not tainted 4.19.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0x19f/0x3ff0 kernel/locking/lockdep.c:3275
Code: 4c 89 f7 e8 c3 92 ff ff 48 85 c0 0f 85 b5 00 00 00 45 31 ff 48 b8 00 00 00 00 00 fc ff df 48 03 44 24 08 48 c7 00 00 00 00 00 <48> c7 40 08 00 00 00 00 c7 40 18 00 00 00 00 48 8b 84 24 90 01 00
RSP: 0018:ffff8880ba0068e8 EFLAGS: 00000086
RAX: ffffed1017400d30 RBX: ffffffff8c70eb20 RCX: 0000000000002f71
RDX: 1ffff11016a39168 RSI: 00000000208f3a1a RDI: ffffffff8c70eb38
RBP: dffffc0000000000 R08: ffffffff8cd2d0c8 R09: 0000000000000006
R10: ffff8880b51c8c38 R11: ffffffff8c66301b R12: 1d44d3f713be2a7e
R13: ffff8880b51c82c0 R14: ffff8880b51c8c50 R15: 0000000000000001
FS: 00007f100918b700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c015f45000 CR3: 0000000097750000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
seqcount_lockdep_reader_access include/linux/seqlock.h:81 [inline]
read_seqcount_begin include/linux/seqlock.h:164 [inline]
ktime_get_update_offsets_now+0xcd/0x460 kernel/time/timekeeping.c:2225
hrtimer_update_base kernel/time/hrtimer.c:621 [inline]
hrtimer_interrupt+0x449/0x9e0 kernel/time/hrtimer.c:1571
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:unwind_next_frame+0x153/0x1400 arch/x86/kernel/unwind_orc.c:410
Code: 00 00 48 89 44 24 18 e8 cb e8 17 00 49 8d 46 50 48 89 c2 48 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 33 0f 00 00 4d 8b 6e 50 4d 85 ed 74 30 49 8d bd 88 00 00 00
RSP: 0018:ffff8880ba006d30 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff11017400daf RCX: 0000000000000000
RDX: 1ffff11017400dd6 RSI: ffff8880ba006cc0 RDI: 0000000000000001
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: ffff8880ba006ebf R11: 0000000000074071 R12: ffff8880ba006ea8
R13: 0000000000000000 R14: ffff8880ba006e60 R15: 00000000000000e8
__save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:448 [inline]
set_track mm/kasan/kasan.c:460 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
slab_post_alloc_hook mm/slab.h:445 [inline]
slab_alloc_node mm/slab.c:3340 [inline]
kmem_cache_alloc_node+0x133/0x3b0 mm/slab.c:3647
__alloc_skb+0x71/0x560 net/core/skbuff.c:193
alloc_skb include/linux/skbuff.h:995 [inline]
sctp_packet_transmit+0x246/0x3660 net/sctp/output.c:584
sctp_outq_flush_transports+0x19d/0x340 net/sctp/outqueue.c:1166
sctp_outq_flush net/sctp/outqueue.c:1214 [inline]
sctp_outq_uncork+0x185/0x200 net/sctp/outqueue.c:777
sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1815 [inline]
sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline]
sctp_do_sm+0x72a/0x5110 net/sctp/sm_sideeffect.c:1170
sctp_assoc_bh_rcv+0x345/0x650 net/sctp/associola.c:1073
sctp_inq_push+0x1da/0x270 net/sctp/inqueue.c:95
sctp_rcv+0x1625/0x3270 net/sctp/input.c:268
sctp6_rcv+0x12/0x30 net/sctp/ipv6.c:1067
ip6_input_finish+0x46a/0x17a0 net/ipv6/ip6_input.c:385
NF_HOOK include/linux/netfilter.h:289 [inline]
ip6_input+0xcf/0x3c0 net/ipv6/ip6_input.c:428
dst_input include/net/dst.h:461 [inline]
ip6_rcv_finish+0x1d9/0x2f0 net/ipv6/ip6_input.c:76
NF_HOOK include/linux/netfilter.h:289 [inline]
ipv6_rcv+0xf2/0x3f0 net/ipv6/ip6_input.c:273
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:4954
__netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066
process_backlog+0x241/0x700 net/core/dev.c:5848
napi_poll net/core/dev.c:6272 [inline]
net_rx_action+0x4ac/0xfb0 net/core/dev.c:6338
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:535 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:preempt_schedule_irq+0xa6/0x140 kernel/sched/core.c:3744
Code: 00 00 e8 2d 5e 2a f9 e8 08 7a 50 f9 4c 89 e8 48 c1 e8 03 80 3c 18 00 75 69 48 83 3d 7b 75 da 01 00 74 5b fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 40 d1 ff ff 48 c7 c0 50 82 f1 89 48 c1 e8 03 80
RSP: 0018:ffff88809ee1f4a0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e304b RBX: dffffc0000000000 RCX: 1ffff11016a39172
RDX: 0000000000000000 RSI: ffff8880b51c8b70 RDI: ffff8880b51c8b44
RBP: ffffed1016a39058 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b51c82c0
R13: ffffffff89f18258 R14: 0000000000000000 R15: 0000000000000000
retint_kernel+0x1b/0x2d
RIP: 0010:refcount_dec_and_test arch/x86/include/asm/refcount.h:76 [inline]
RIP: 0010:sctp_transport_put+0x10/0x120 net/sctp/transport.c:340
Code: ff ff e8 23 16 2a fa e9 25 ff ff ff e8 19 16 2a fa e9 5b ff ff ff 0f 1f 40 00 41 54 55 48 89 fd 53 e8 04 54 f4 f9 f0 ff 4d 20 <0f> 88 2d 63 a7 00 0f 94 c3 31 ff 89 de e8 1e 55 f4 f9 84 db 75 09
RSP: 0018:ffff88809ee1f578 EFLAGS: 00000203 ORIG_RAX: ffffffffffffff13
RAX: ffff8880b51c82c0 RBX: ffff8880b4f82940 RCX: ffffffff876c7c7a
RDX: 0000000000000000 RSI: ffffffff876e0a6c RDI: ffff8880b4f82940
RBP: ffff8880b4f82940 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a5704c10
R13: 0000000000000020 R14: ffff8880a5704ac0 R15: dffffc0000000000
sctp_cmd_hb_timers_stop net/sctp/sm_sideeffect.c:714 [inline]
sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1681 [inline]
sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline]
sctp_do_sm+0x219b/0x5110 net/sctp/sm_sideeffect.c:1170
sctp_primitive_SHUTDOWN+0x9b/0xc0 net/sctp/primitive.c:104
sctp_close+0x3d9/0x800 net/sctp/socket.c:1560
inet_release+0xd7/0x1e0 net/ipv4/af_inet.c:427
inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:472
__sock_release+0xcd/0x2a0 net/socket.c:579
sock_close+0x15/0x20 net/socket.c:1140
__fput+0x2ce/0x890 fs/file_table.c:278
task_work_run+0x148/0x1c0 kernel/task_work.c:113
exit_task_work include/linux/task_work.h:22 [inline]
do_exit+0xbf3/0x2be0 kernel/exit.c:870
do_group_exit+0x125/0x310 kernel/exit.c:967
get_signal+0x3f2/0x1f70 kernel/signal.c:2589
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
Lost 14 message(s)!
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.