BUG: soft lockup in _do_fork

6 views
Skip to first unread message

syzbot

unread,
Apr 14, 2021, 6:53:25 PM4/14/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 0f1b4cb7 Linux 4.19.187
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11389919d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=7160c73ac3937bfe
dashboard link: https://syzkaller.appspot.com/bug?extid=aef13a0b4fd75c137c5e

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+aef13a...@syzkaller.appspotmail.com

Cannot find set identified by id 0 to match
Cannot find set identified by id 0 to match
netlink: 'syz-executor.0': attribute type 3 has an invalid length.
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
watchdog: BUG: soft lockup - CPU#0 stuck for 21s! [syz-executor.5:10642]
Modules linked in:
irq event stamp: 2593250
hardirqs last enabled at (2593249): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (2593250): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (425596): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (424759): [<ffffffff813926d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (424759): [<ffffffff813926d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 10642 Comm: syz-executor.5 Not tainted 4.19.187-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:261 [inline]
RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:123 [inline]
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:436 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x3c1/0xae0 kernel/locking/qspinlock.c:474
Code: 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 38 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 c0 0f 85 75 05 00 00 <0f> b6 45 00 84 c0 75 db be 02 00 00 00 48 89 ef e8 2a 92 4c 00 b8
RSP: 0018:ffff88804efbf448 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff140db74
RDX: 0000000000000001 RSI: ffffffff81678675 RDI: 0000000000000286
RBP: ffffffff8a06dba0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000002521
R13: fffffbfff140db74 R14: 0000000000000001 R15: ffff8880ba02bd80
FS: 00007f44b667d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb44f57e010 CR3: 000000009161d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:679 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:88 [inline]
do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113
spin_lock include/linux/spinlock.h:329 [inline]
__register_sysctl_table+0x588/0x1090 fs/proc/proc_sysctl.c:1320
mpls_dev_sysctl_register+0x1b7/0x2d0 net/mpls/af_mpls.c:1368
mpls_add_dev net/mpls/af_mpls.c:1419 [inline]
mpls_dev_notify+0x271/0x9b0 net/mpls/af_mpls.c:1545
notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
call_netdevice_notifiers net/core/dev.c:1762 [inline]
register_netdevice+0xdd2/0x10f0 net/core/dev.c:8753
__ip_tunnel_create+0x398/0x580 net/ipv4/ip_tunnel.c:280
ip_tunnel_init_net+0x330/0x990 net/ipv4/ip_tunnel.c:1024
vti_init_net+0x2a/0x370 net/ipv4/ip_vti.c:520
ops_init+0xb3/0x410 net/core/net_namespace.c:129
setup_net+0x2c2/0x720 net/core/net_namespace.c:315
copy_net_ns+0x1f7/0x340 net/core/net_namespace.c:438
create_new_namespaces+0x3f6/0x7b0 kernel/nsproxy.c:107
copy_namespaces+0x325/0x3c0 kernel/nsproxy.c:165
copy_process.part.0+0x3a59/0x8260 kernel/fork.c:1915
copy_process kernel/fork.c:1709 [inline]
_do_fork+0x22f/0xf30 kernel/fork.c:2218
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x466459
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f44b667d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000e684a500
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007fff5790eb1f R14: 00007f44b667d300 R15: 0000000000022000
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10634 Comm: syz-executor.2 Not tainted 4.19.187-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_release kernel/locking/lockdep.c:3664 [inline]
RIP: 0010:lock_release+0x1ce/0x8b0 kernel/locking/lockdep.c:3926
Code: d0 7c 08 84 d2 0f 85 1b 06 00 00 44 8b 0d fa be fa 08 45 85 c9 0f 84 f3 01 00 00 49 8d 86 80 08 00 00 48 89 c2 48 89 44 24 08 <48> b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 08
RSP: 0018:ffff8880ba107280 EFLAGS: 00000002
RAX: ffff88804ee14dc0 RBX: ffff88804ee14540 RCX: 1ffffffff148bd40
RDX: ffff88804ee14dc0 RSI: 0000000000000002 RDI: ffff88804ee14dc4
RBP: ffffffff8d3a7f60 R08: 0000000000000086 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff8c66305b R12: 1ffff11017420e53
R13: ffffffff8376e259 R14: ffff88804ee14540 R15: ffffffff8d3a7f48
FS: 00007f5d480ed700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b70af258e0 CR3: 00000000aa89b000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline]
_raw_spin_unlock_irqrestore+0x1b/0xe0 kernel/locking/spinlock.c:184
debug_object_deactivate lib/debugobjects.c:568 [inline]
debug_object_deactivate+0x1f9/0x2e0 lib/debugobjects.c:529
debug_hrtimer_deactivate kernel/time/hrtimer.c:421 [inline]
debug_deactivate kernel/time/hrtimer.c:471 [inline]
__run_hrtimer kernel/time/hrtimer.c:1389 [inline]
__hrtimer_run_queues+0x1bc/0xe60 kernel/time/hrtimer.c:1481
hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1539
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:orc_ip arch/x86/kernel/unwind_orc.c:26 [inline]
RIP: 0010:__orc_find+0x6f/0xf0 arch/x86/kernel/unwind_orc.c:48
Code: 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 48 48 63 03 48 01
RSP: 0018:ffff8880ba1076e8 EFLAGS: 00000a07 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff16666b1 RBX: ffffffff8b33358c RCX: ffffffff81391e18
RDX: 0000000000000000 RSI: ffffffff8b911d44 RDI: ffffffff8b333578
RBP: ffffffff8b333578 R08: 0000000000000000 R09: ffffffff8b911d44
R10: ffff8880ba1078bf R11: 0000000000074071 R12: ffffffff8b3335a4
R13: ffffffff8b333578 R14: ffffffff8b333578 R15: dffffc0000000000
orc_find arch/x86/kernel/unwind_orc.c:159 [inline]
unwind_next_frame+0x339/0x1400 arch/x86/kernel/unwind_orc.c:422
__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
__netdev_alloc_skb+0x76/0x460 net/core/skbuff.c:407
netdev_alloc_skb include/linux/skbuff.h:2680 [inline]
dev_alloc_skb include/linux/skbuff.h:2693 [inline]
__ieee80211_beacon_get+0xc7d/0x1a30 net/mac80211/tx.c:4332
ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4443
ieee80211_beacon_get include/net/mac80211.h:4484 [inline]
mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577
__iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
__tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
__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:memcmp+0x3e/0xb0 lib/string.c:918
Code: ff df 53 48 89 fb 48 83 ec 10 eb 0d 48 83 c3 01 48 83 c6 01 49 39 dc 74 45 48 89 d8 48 89 da 48 c1 e8 03 83 e2 07 0f b6 04 28 <38> d0 7f 04 84 c0 75 54 48 89 f2 48 89 f1 0f b6 03 48 c1 ea 03 83
RSP: 0018:ffff8880b4347830 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffffffff8956a2c0 RCX: ffffc9000a04f000
RDX: 0000000000000000 RSI: ffffffff89569c80 RDI: ffffffff8956a2c0
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000006f4b4a5 R12: ffffffff8956a2cf
R13: ffffffff89569c80 R14: 000000000000000f R15: ffffffff8956a2c0
memcmp include/linux/string.h:418 [inline]
namecmp+0x2a/0x60 fs/proc/proc_sysctl.c:97
insert_entry fs/proc/proc_sysctl.c:156 [inline]
insert_header+0x3cc/0xf90 fs/proc/proc_sysctl.c:232
__register_sysctl_table+0x65a/0x1090 fs/proc/proc_sysctl.c:1345
ipv4_sysctl_init_net+0xb5/0x320 net/ipv4/sysctl_net_ipv4.c:1261
ops_init+0xb3/0x410 net/core/net_namespace.c:129
setup_net+0x2c2/0x720 net/core/net_namespace.c:315
copy_net_ns+0x1f7/0x340 net/core/net_namespace.c:438
create_new_namespaces+0x3f6/0x7b0 kernel/nsproxy.c:107
copy_namespaces+0x325/0x3c0 kernel/nsproxy.c:165
copy_process.part.0+0x3a59/0x8260 kernel/fork.c:1915
copy_process kernel/fork.c:1709 [inline]
_do_fork+0x22f/0xf30 kernel/fork.c:2218
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x466459
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5d480ed188 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000e684a500
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffe299ff9cf R14: 00007f5d480ed300 R15: 0000000000022000


---
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.

syzbot

unread,
Aug 12, 2021, 6:53:20 PM8/12/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages