syzbot


INFO: task hung in io_put_sq_data (2)

Status: auto-obsoleted due to no activity on 2025/04/10 22:33
Subsystems: kernel
[Documentation on labels]
First crash: 232d, last: 232d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in io_put_sq_data io-uring 1 1 468d 468d 0/29 auto-obsoleted due to no activity on 2024/08/18 03:55

Sample crash report:
INFO: task kworker/u8:2:35 blocked for more than 143 seconds.
      Not tainted 6.13.0-rc6-syzkaller-00213-ge0daef7de1ac #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:2    state:D stack:20144 pid:35    tgid:35    ppid:2      flags:0x00004000
Workqueue: iou_exit io_ring_exit_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5369 [inline]
 __schedule+0x1850/0x4c30 kernel/sched/core.c:6756
 __schedule_loop kernel/sched/core.c:6833 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6848
 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common kernel/sched/completion.c:116 [inline]
 wait_for_common kernel/sched/completion.c:127 [inline]
 wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
 io_put_sq_data+0x7e/0xe0 io_uring/sqpoll.c:76
 io_sq_thread_finish+0x20e/0x250 io_uring/sqpoll.c:101
 io_ring_ctx_free+0x28/0xdb0 io_uring/io_uring.c:2727
 io_ring_exit_work+0x80f/0x8a0 io_uring/io_uring.c:2967
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc6-syzkaller-00213-ge0daef7de1ac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline]
 watchdog+0xff6/0x1040 kernel/hung_task.c:397
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5927 Comm: kworker/0:6 Not tainted 6.13.0-rc6-syzkaller-00213-ge0daef7de1ac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: wg-crypt-wg0 wg_packet_decrypt_worker
RIP: 0010:arch_stack_walk+0x112/0x150 arch/x86/kernel/stacktrace.c:27
Code: ff ff ff 00 74 37 48 8d 9d 70 ff ff ff 48 89 df e8 b3 ae 09 00 48 85 c0 74 23 4c 89 f7 48 89 c6 4d 89 eb e8 d0 da 89 0a 84 c0 <74> 11 48 89 df e8 e4 af 09 00 83 bd 70 ff ff ff 00 75 d0 65 48 8b
RSP: 0018:ffffc90000007520 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffc90000007520 RCX: ffffffff91792000
RDX: dffffc0000000000 RSI: ffffffff8109f67a RDI: ffffc9000000760c
RBP: ffffc900000075b0 R08: 0000000000000011 R09: ffffc90000007610
R10: dffffc0000000000 R11: ffffffff818b4a00 R12: ffff888025c09e00
R13: ffffffff818b4a00 R14: ffffc90000007600 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3e687f CR3: 000000000e736000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:582
 poison_slab_object mm/kasan/common.c:247 [inline]
 __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264
 kasan_slab_free include/linux/kasan.h:233 [inline]
 slab_free_hook mm/slub.c:2353 [inline]
 slab_free mm/slub.c:4613 [inline]
 kfree+0x196/0x430 mm/slub.c:4761
 dummy_timer+0x7f4/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:1987
 __run_hrtimer kernel/time/hrtimer.c:1739 [inline]
 __hrtimer_run_queues+0x59d/0xd30 kernel/time/hrtimer.c:1803
 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820
 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:561
 __do_softirq kernel/softirq.c:595 [inline]
 invoke_softirq kernel/softirq.c:435 [inline]
 __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:wg_packet_decrypt_worker+0xd2b/0xd80 drivers/net/wireguard/receive.c:507
Code: 00 00 49 c7 44 06 70 00 00 00 00 66 41 c7 44 06 79 00 00 41 c6 44 06 7b 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 a0 04 00 00 <75> 45 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 4b 1b 78 05 e8
RSP: 0018:ffffc900047376c0 EFLAGS: 00000246
RAX: 08c9bc74f2cc4600 RBX: ffff88806f444070 RCX: ffffffff81a73d2c
RDX: dffffc0000000000 RSI: ffffffff8c5fb080 RDI: ffffffff8161d548
RBP: ffffc90004737bb0 R08: ffffffff901982b7 R09: 1ffffffff2033056
R10: dffffc0000000000 R11: fffffbfff2033057 R12: 0000000000000400
R13: 000000000000000e R14: dffffc0000000000 R15: 1ffff1100b6c4208
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/10 22:28 upstream e0daef7de1ac 67d7ec0a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in io_put_sq_data
* Struck through repros no longer work on HEAD.