syzbot


BUG: soft lockup in ieee80211_tasklet_handler

Status: upstream: reported syz repro on 2021/03/19 03:24
Reported-by: syzbot+437ccbe1280803a15544@syzkaller.appspotmail.com
First crash: 1128d, last: 429d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in ieee80211_tasklet_handler wireless C inconclusive error 9 1059d 1151d 0/26 auto-obsoleted due to no activity on 2023/01/07 08:49
upstream INFO: rcu detected stall in ieee80211_tasklet_handler wireless C error done 74 937d 1217d 20/26 fixed on 2022/03/08 16:11
linux-5.15 INFO: rcu detected stall in ieee80211_tasklet_handler (2) 1 5d15h 5d15h 0/3 upstream: reported on 2024/04/14 13:47
linux-5.15 INFO: rcu detected stall in ieee80211_tasklet_handler 1 158d 158d 0/3 auto-obsoleted due to no activity on 2024/02/21 17:39

Sample crash report:
Bluetooth: hci5: command 0x0406 tx timeout
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.1:10686]
Modules linked in:
irq event stamp: 2480135
hardirqs last  enabled at (2480134): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (2480135): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (27476): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (27479): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (27479): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 10686 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:ieee80211_rx_h_defragment net/mac80211/rx.c:2261 [inline]
RIP: 0010:ieee80211_rx_handlers+0x1254/0x9730 net/mac80211/rx.c:3677
Code: 92 94 c2 f9 45 85 e4 0f 85 3e 09 00 00 e8 14 93 c2 f9 e8 0f 93 c2 f9 48 8b 44 24 18 48 c1 e8 03 80 3c 28 00 0f 85 a7 68 00 00 <49> 8b 5f 20 48 85 db 74 25 e8 ee 92 c2 f9 48 8d bb 78 04 00 00 48
RSP: 0018:ffff8880ba107948 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff11017420fbf RBX: ffff88809da21900 RCX: ffffffff879ff24e
RDX: 0000000000000100 RSI: ffffffff879ff261 RDI: 0000000000000005
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88805e450dbc R14: ffff88809c5795a8 R15: ffff8880ba107dd8
FS:  00007f35bffeb700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007eff7a44c740 CR3: 00000000a549d000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 ieee80211_invoke_rx_handlers net/mac80211/rx.c:3726 [inline]
 ieee80211_prepare_and_rx_handle+0x23fa/0x6790 net/mac80211/rx.c:4423
 __ieee80211_rx_handle_packet net/mac80211/rx.c:4483 [inline]
 ieee80211_rx_napi+0x108d/0x2470 net/mac80211/rx.c:4672
 ieee80211_rx include/net/mac80211.h:4109 [inline]
 ieee80211_tasklet_handler+0x101/0x160 net/mac80211/main.c:229
 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:536 [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 3d 04 29 f9 e8 58 3f 4f f9 4c 89 e8 48 c1 e8 03 80 3c 18 00 75 69 48 83 3d 9b 18 d9 01 00 74 5b fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 40 d1 ff ff 48 c7 c0 90 82 f1 89 48 c1 e8 03 80
RSP: 0018:ffff88809e70f7e0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff11015fc658f
RDX: 0000000000000000 RSI: ffff8880afe32c80 RDI: ffff8880afe32c04
RBP: ffffed1015fc6470 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880afe32380
R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000
 retint_kernel+0x1b/0x2d
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x0/0x20 kernel/kcov.c:195
Code: 2e 0f 1f 84 00 00 00 00 00 90 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 ce fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <48> 8b 0c 24 48 89 f2 48 89 fe bf 07 00 00 00 e9 ac fe ff ff 66 66
RSP: 0018:ffff88809e70f8b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 000000000000002e
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888112414dc0 R08: 0000000000000000 R09: ffff888112414dc0
R10: 0000000000000006 R11: 0000000000000000 R12: 0000000092414dc0
R13: ffff88809e70f918 R14: 0000000000000000 R15: 0000000000000286
 __phys_addr+0x90/0x110 arch/x86/mm/physaddr.c:27
 virt_to_head_page include/linux/mm.h:665 [inline]
 qlink_to_cache mm/kasan/quarantine.c:127 [inline]
 qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:163
 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259
 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538
 slab_post_alloc_hook mm/slab.h:445 [inline]
 slab_alloc mm/slab.c:3397 [inline]
 kmem_cache_alloc+0x110/0x370 mm/slab.c:3557
 vm_area_dup kernel/fork.c:329 [inline]
 dup_mmap kernel/fork.c:489 [inline]
 dup_mm kernel/fork.c:1285 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x343d/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f35c0c9a0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f35bffeb118 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f35c0dba050 RCX: 00007f35c0c9a0f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f35c0cf5ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd0fd8daff R14: 00007f35bffeb300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4691 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97
Code: ff 48 89 df e8 11 dd 35 00 e9 ab fe ff ff 4c 89 ef e8 04 dd 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2
RSP: 0018:ffff8880a0ee76b8 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff83771e23
RDX: 0000000000000000 RSI: ffff8880a0eda540 RDI: 0000000000000005
RBP: ffffffff88b3e160 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000009 R12: 0000000000000000
R13: ffffffff8871ebe0 R14: ffff88813fffb000 R15: 000000000002eec8
FS:  00007f4deac4a8c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556e8d848 CR3: 00000000a0c12000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 arch_local_save_flags arch/x86/include/asm/paravirt.h:784 [inline]
 check_preemption_disabled+0x54/0x280 lib/smp_processor_id.c:18
 __mod_node_page_state+0x4c/0xf0 mm/vmstat.c:343
 __mod_lruvec_page_state include/linux/memcontrol.h:698 [inline]
 mod_lruvec_page_state include/linux/memcontrol.h:712 [inline]
 kmem_freepages.isra.0+0x540/0x620 mm/slab.c:1448
 slab_destroy mm/slab.c:1713 [inline]
 slabs_destroy+0x90/0xd0 mm/slab.c:1729
 cache_flusharray mm/slab.c:3490 [inline]
 ___cache_free+0x295/0x3a0 mm/slab.c:3532
 qlink_free mm/kasan/quarantine.c:147 [inline]
 qlist_free_all+0x79/0x140 mm/kasan/quarantine.c:166
 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259
 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538
 kmem_cache_alloc+0x122/0x370 mm/slab.c:3559
 kmem_cache_zalloc include/linux/slab.h:699 [inline]
 __alloc_file+0x21/0x340 fs/file_table.c:100
 alloc_empty_file+0x6d/0x170 fs/file_table.c:150
 path_openat+0xe9/0x2df0 fs/namei.c:3526
 do_filp_open+0x18c/0x3f0 fs/namei.c:3567
 do_sys_open+0x3b3/0x520 fs/open.c:1085
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4dea1d9840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007fff1620c398 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fff1620c6a0 RCX: 00007f4dea1d9840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000056103f96e980
RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000056103f969040 R14: 00007fff1620c660 R15: 000056103f96e7a0

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/16 02:07 linux-4.19.y 3f8a27f9e27b 6be0f1f5 .config console log report syz [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2023/01/02 01:23 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/12/07 15:23 linux-4.19.y 3f8a27f9e27b d88f3abb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/09/28 05:11 linux-4.19.y 3f8a27f9e27b 75c78242 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/09/24 15:03 linux-4.19.y 3f8a27f9e27b 0042f2b4 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/09/06 05:04 linux-4.19.y 3f8a27f9e27b 9dcd38fc .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/08/06 20:17 linux-4.19.y 3f8a27f9e27b 88e3a122 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/07/21 22:19 linux-4.19.y 3f8a27f9e27b 5e6028b9 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/06/23 18:40 linux-4.19.y 3f8a27f9e27b 912f5df7 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/05/24 18:48 linux-4.19.y 3f8a27f9e27b fcfad4ff .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/05/07 09:03 linux-4.19.y 3f8a27f9e27b e60b1103 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/05/05 06:34 linux-4.19.y 3f8a27f9e27b dc9e5259 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/04/28 04:01 linux-4.19.y 3f8a27f9e27b 8a1f1f07 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/04/22 21:27 linux-4.19.y 3f8a27f9e27b 131df97d .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2022/01/12 04:35 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/12/28 03:49 linux-4.19.y 3f8a27f9e27b 6b3c5e64 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/12/26 17:07 linux-4.19.y 3f8a27f9e27b e4f103c4 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/12/21 06:24 linux-4.19.y 3f8a27f9e27b 62bd192b .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/11/11 00:25 linux-4.19.y 3f8a27f9e27b 75b04091 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/10/26 18:49 linux-4.19.y 3f8a27f9e27b d50eb50a .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/10/22 02:43 linux-4.19.y 3f8a27f9e27b 55f90bc6 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/10/07 05:12 linux-4.19.y 6db10b4d5efd 62ee0987 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/07/31 04:07 linux-4.19.y a89b48fe9308 6c236867 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/07/13 00:53 linux-4.19.y fcfbdfe9626e f415556d .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/06/24 02:17 linux-4.19.y eb575cd5d7f6 fe4ab389 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/06/02 08:52 linux-4.19.y 6b7b0056defc 0740de69 .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/04/14 09:12 linux-4.19.y 0f1b4cb77d7f 3134b37f .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/04/14 07:12 linux-4.19.y 0f1b4cb77d7f a184b83e .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
2021/03/19 03:23 linux-4.19.y ac3af4beac43 380dcc3e .config console log report info ci2-linux-4-19 BUG: soft lockup in ieee80211_tasklet_handler
* Struck through repros no longer work on HEAD.