INFO: task syz.2.550:5619 blocked for more than 143 seconds.
Not tainted 6.1.115-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.550 state:D stack:24512 pid:5619 ppid:4249 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189
mmap_write_lock include/linux/mmap_lock.h:71 [inline]
exit_mmap+0x29a/0x9f0 mm/mmap.c:3235
__mmput+0x115/0x3c0 kernel/fork.c:1199
exit_mm+0x226/0x300 kernel/exit.c:565
do_exit+0x9f6/0x26a0 kernel/exit.c:858
do_group_exit+0x202/0x2b0 kernel/exit.c:1021
get_signal+0x16f7/0x17d0 kernel/signal.c:2870
arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe4c4b7e719
RSP: 002b:00007fe4c59510e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007fe4c4d35f88 RCX: 00007fe4c4b7e719
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fe4c4d35f8c
RBP: 00007fe4c4d35f80 R08: 0000000000000010 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000246 R12: 00007fe4c4d35f8c
R13: 0000000000000000 R14: 00007ffd13f21dc0 R15: 00007ffd13f21ea8
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d32b1d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
1 lock held by khungtaskd/27:
#0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510
2 locks held by udevd/3622:
2 locks held by getty/4009:
#0: ffff8880309aa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900032462f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198
2 locks held by kworker/u4:7/4478:
1 lock held by syz.2.550/5619:
#0: ffff88807cb10158 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:71 [inline]
#0: ffff88807cb10158 (&mm->mmap_lock){++++}-{3:3}, at: exit_mmap+0x29a/0x9f0 mm/mmap.c:3235
1 lock held by syz-executor/6427:
1 lock held by syz.9.1015/6990:
1 lock held by syz.7.1010/6992:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.115-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6990 Comm: syz.9.1015 Not tainted 6.1.115-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline]
RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:206
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 bf f9 29 03 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc90000007630 EFLAGS: 00000046
RAX: 000000000000014b RBX: ffffffff8cd8ea30 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000014b RDI: 0000000000000838
RBP: 000000000000014b R08: ffffffff817cd7ed R09: fffffbfff1d34076
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8e271c0
R13: dffffc0000000000 R14: 000000000000014b R15: dffffc0000000000
FS: 00007ffbd17ff6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 0000000028a2f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
apic_write arch/x86/include/asm/apic.h:394 [inline]
lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:478
clockevents_program_event+0x1c5/0x310 kernel/time/clockevents.c:334
hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1828
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
__sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0x4d/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:99 [inline]
RIP: 0010:do_raw_spin_unlock+0x2f/0x8a0 kernel/locking/spinlock_debug.c:140
Code: 41 55 41 54 53 48 83 ec 28 49 89 ff 48 bb 00 00 00 00 00 fc ff df 48 8d 57 04 48 89 d0 48 c1 e8 03 48 89 44 24 10 0f b6 04 18 <84> c0 48 89 14 24 0f 85 2d 04 00 00 81 3a ad 4e ad de 0f 85 00 01
RSP: 0018:ffffc90000007890 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90000007803
RDX: ffffffff8ddebf44 RSI: ffffffff8b0c1440 RDI: ffffffff8ddebf40
RBP: ffffc90000007ad0 R08: dffffc0000000000 R09: fffffbfff1d34076
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000000f4b R14: ffffc90000007a58 R15: ffffffff8ddebf40
__raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_unlock+0x1a/0x40 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
mac80211_hwsim_tx_frame_no_nl+0x1560/0x1a70 drivers/net/wireless/mac80211_hwsim.c:1736
mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/mac80211_hwsim.c:2053
mac80211_hwsim_beacon_tx+0x5f8/0xaa0 drivers/net/wireless/mac80211_hwsim.c:2116
__iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:790
ieee80211_iterate_active_interfaces_atomic+0xd4/0x170 net/mac80211/util.c:826
mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753
hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1770
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
__do_softirq kernel/softirq.c:605 [inline]
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 91 9b f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 2e 27 b9 f6 48 89 df e8 26 65 ba f6 e8 21 bc df f6 fb bf 01 00 00 00 26 ef ac f6 65 8b 05 87 d7 50 75 85 c0 74 02 5b c3 e8 34 fb 4e
RSP: 0018:ffffc90004cafa30 EFLAGS: 00000286
RAX: cd8386ffad961800 RBX: ffff888074c29280 RCX: ffffffff97337103
RDX: dffffc0000000000 RSI: ffffffff8b0c02c0 RDI: 0000000000000001
RBP: ffffc90004cafb10 R08: dffffc0000000000 R09: ffffed100e985251
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100f9da124
R13: ffff88807ced0000 R14: 0000000000010000 R15: 1ffff1100f9da123
spin_unlock_irq include/linux/spinlock.h:401 [inline]
__set_current_blocked+0x2a5/0x2f0 kernel/signal.c:3059
set_current_blocked kernel/signal.c:3043 [inline]
signal_delivered kernel/signal.c:2906 [inline]
signal_setup_done+0x397/0x5f0 kernel/signal.c:2918
handle_signal arch/x86/kernel/signal.c:846 [inline]
arch_do_signal_or_restart+0xd5a/0x1a10 arch/x86/kernel/signal.c:873
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ffbd183e880
Code: 44 24 20 0f 29 44 24 30 0f 29 44 24 40 48 8b 44 24 08 ff d0 48 83 c4 50 31 c0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 80 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 c3 66 66 2e 0f 1f
RSP: 002b:00007ffbd17feb38 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007ffbd1b35f88 RCX: 00007ffbd197e719
RDX: 00007ffbd17feb40 RSI: 00007ffbd17fec70 RDI: 0000000000000011
RBP: 00007ffbd1b35f80 R08: 0000000000000010 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007ffbd1b35f8c
R13: 0000000000000000 R14: 00007ffc990b2d00 R15: 00007ffc990b2de8