INFO: task kworker/0:3:5118 blocked for more than 143 seconds.
Not tainted 6.9.0-next-20240517-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:3 state:D stack:18352 pid:5118 tgid:5118 ppid:2 flags:0x00004000
Workqueue: events slab_caches_to_rcu_destroy_workfn
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
slab_caches_to_rcu_destroy_workfn+0x37/0x120 mm/slab_common.c:435
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd70 kernel/workqueue.c:3393
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task syz-executor.2:9746 blocked for more than 143 seconds.
Not tainted 6.9.0-next-20240517-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:19448 pid:9746 tgid:9746 ppid:1 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557
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
__synchronize_srcu+0x357/0x400 kernel/rcu/srcutree.c:1396
shutdown_cache mm/slab_common.c:454 [inline]
kmem_cache_destroy+0x6a/0x1b0 mm/slab_common.c:496
bio_put_slab block/bio.c:155 [inline]
bioset_exit+0x555/0x650 block/bio.c:1740
__bch2_fs_free fs/bcachefs/super.c:544 [inline]
bch2_fs_release+0x179/0x6e0 fs/bcachefs/super.c:603
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x22f/0x480 lib/kobject.c:737
deactivate_locked_super+0xc4/0x130 fs/super.c:473
cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb331a7e217
RSP: 002b:00007fff848aff88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb331a7e217
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff848b0040
RBP: 00007fff848b0040 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff848b1100
R13: 00007fb331ac8336 R14: 000000000007665b R15: 0000000000000018
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by kworker/u8:9/2885:
2 locks held by getty/4848:
#0: ffff88802a64f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
3 locks held by kworker/0:3/5118:
#0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc900036c7d00 (slab_caches_to_rcu_destroy_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc900036c7d00 (slab_caches_to_rcu_destroy_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffffffff8e413e28 (slab_mutex){+.+.}-{3:3}, at: slab_caches_to_rcu_destroy_workfn+0x37/0x120 mm/slab_common.c:435
2 locks held by kworker/0:8/5198:
3 locks held by syz-executor.2/9746:
#0: ffffffff8ea04a48 (bio_slab_lock){+.+.}-{3:3}, at: bio_put_slab block/bio.c:140 [inline]
#0: ffffffff8ea04a48 (bio_slab_lock){+.+.}-{3:3}, at: bioset_exit+0x436/0x650 block/bio.c:1740
#1: ffffffff8e1ce470 (cpu_hotplug_lock){++++}-{0:0}, at: kmem_cache_destroy+0x32/0x1b0 mm/slab_common.c:487
#2: ffffffff8e413e28 (slab_mutex){+.+.}-{3:3}, at: kmem_cache_destroy+0x40/0x1b0 mm/slab_common.c:488
4 locks held by syz-executor.0/13628:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 31 Comm: khungtaskd Not tainted 6.9.0-next-20240517-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
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:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 13628 Comm: syz-executor.0 Not tainted 6.9.0-next-20240517-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 89 fb e8 23 00 00 00 48 8b 3d 6c 5c 45 0c 48 89 de 5b e9 33 6d 5a 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 00 d5 03 00 65 8b 15 90 6e
RSP: 0018:ffffc90000006520 EFLAGS: 00000002
RAX: 1ffff92000000c01 RBX: ffffffff90ad2c20 RCX: dffffc0000000000
RDX: ffffc900020b1000 RSI: 00000000000001dd RDI: 00000000000001de
RBP: ffffc90000006600 R08: ffffffff81413d5b R09: ffffffff814128cf
R10: 0000000000000003 R11: ffff888021ee9e00 R12: ffffc900000079d8
R13: dffffc0000000000 R14: ffffc90000006650 R15: 1ffff92000000cc0
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c729000 CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_next_frame+0x1ac1/0x2a00 arch/x86/kernel/unwind_orc.c:648
arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25
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
poison_kmalloc_redzone mm/kasan/common.c:370 [inline]
__kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387
kasan_kmalloc include/linux/kasan.h:211 [inline]
kmalloc_trace_noprof+0x19c/0x2c0 mm/slub.c:4152
kmalloc_noprof include/linux/slab.h:660 [inline]
dummy_urb_enqueue+0x7d/0x760 drivers/usb/gadget/udc/dummy_hcd.c:1271
usb_hcd_submit_urb+0x36c/0x1e80 drivers/usb/core/hcd.c:1533
ath9k_hif_usb_reg_in_cb+0x472/0x650 drivers/net/wireless/ath/ath9k/hif_usb.c:792
__usb_hcd_giveback_urb+0x373/0x530 drivers/usb/core/hcd.c:1648
dummy_timer+0x830/0x45d0 drivers/usb/gadget/udc/dummy_hcd.c:1987
__run_hrtimer kernel/time/hrtimer.c:1687 [inline]
__hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751
hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:preempt_count_sub+0x0/0x170 kernel/sched/core.c:5892
Code: 8c 77 ff ff ff 48 c7 c7 70 80 ad 8f e8 d9 84 96 00 e9 66 ff ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 41 56 53 89 fb 48 c7 c0 e0 06 7b 94 48 c1 e8 03 49 be
RSP: 0018:ffffc90000007320 EFLAGS: 00000246
RAX: ffffffff81412dbb RBX: ffffc90000008000 RCX: ffff888021ee9e00
RDX: 0000000000000101 RSI: ffffc90000007ff0 RDI: 0000000000000001
RBP: ffffc90000007400 R08: ffffffff81412d55 R09: ffffffff814128cf
R10: 0000000000000003 R11: ffff888021ee9e00 R12: ffffc90000007ff8
R13: dffffc0000000000 R14: ffffc90000000000 R15: ffffc90000008000
unwind_next_frame+0x1e65/0x2a00 arch/x86/kernel/unwind_orc.c:672
arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25
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
unpoison_slab_object mm/kasan/common.c:312 [inline]
__kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3940 [inline]
slab_alloc_node mm/slub.c:4000 [inline]
kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4043
__alloc_skb+0x1c3/0x440 net/core/skbuff.c:656
__netdev_alloc_skb+0x105/0x560 net/core/skbuff.c:730
netdev_alloc_skb include/linux/skbuff.h:3319 [inline]
dev_alloc_skb include/linux/skbuff.h:3332 [inline]
__ieee80211_beacon_get+0x998/0x15c0 net/mac80211/tx.c:5471
ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5593
ieee80211_beacon_get include/net/mac80211.h:5562 [inline]
mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2302
__iterate_interfaces+0x223/0x4c0 net/mac80211/util.c:772
ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808
mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2336
__run_hrtimer kernel/time/hrtimer.c:1687 [inline]
__hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751
hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1768
handle_softirqs+0x2d6/0x990 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x70 kernel/kcov.c:225
Code: f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90
RSP: 0018:ffffc9000fe7f510 EFLAGS: 00000293
RAX: ffffffff81410dbc RBX: ffffc9000fe7f540 RCX: ffff888021ee9e00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: ffffc9000fe7f540
RBP: ffffc9000fe7f5d0 R08: ffffffff81412dd5 R09: ffffffff814128cf
R10: 0000000000000003 R11: ffff888021ee9e00 R12: ffff888021ee9e00
R13: ffffffff81821a60 R14: dffffc0000000000 R15: ffffc9000fe7f540
unwind_get_return_address+0x1c/0xc0 arch/x86/kernel/unwind_orc.c:365
arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__reset_page_owner+0x75/0x3f0 mm/page_owner.c:297
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1088 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2601
vfree+0x186/0x2e0 mm/vmalloc.c:3346
kcov_put kernel/kcov.c:429 [inline]
kcov_close+0x2b/0x50 kernel/kcov.c:525
__fput+0x406/0x8b0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa27/0x27e0 kernel/exit.c:874
do_group_exit+0x207/0x2c0 kernel/exit.c:1023
get_signal+0x16a1/0x1740 kernel/signal.c:2909
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218
do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd0d8a7cfa7
Code: Unable to access opcode bytes at 0x7fd0d8a7cf7d.
RSP: 002b:00007ffee4c682f8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a
RAX: 0000000000000000 RBX: 00007fd0d984e6c0 RCX: 00007fd0d8a7cfa7
RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007fd0d982f000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000021000 R11: 0000000000000206 R12: 00007ffee4c68550
R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000