INFO: task syz.0.910:6074 blocked for more than 143 seconds.
Not tainted 6.1.112-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.910 state:D stack:24512 pid:6074 ppid:3644 flags:0x00004002
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
perf_pending_task_sync kernel/events/core.c:5029 [inline]
_free_event+0x169/0x1090 kernel/events/core.c:5035
put_event kernel/events/core.c:5160 [inline]
perf_event_release_kernel+0x873/0x900 kernel/events/core.c:5285
perf_release+0x37/0x40 kernel/events/core.c:5295
__fput+0x3f6/0x8d0 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0xa73/0x26a0 kernel/exit.c:871
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:0x7f257b57dff9
RSP: 002b:00007f257c40efe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: fffffffffffffff2 RBX: 00007f257b735f80 RCX: 00007f257b57dff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000022023400
RBP: 00007f257b5f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f257b735f80 R15: 00007ffec1bc69a8
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
2 locks held by kworker/0:1/14:
#0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90000137d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
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:6494
3 locks held by kworker/u4:2/32:
#0: ffff888017c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90000a8fd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263
1 lock held by klogd/3082:
#0: ffff8880b8f3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
2 locks held by getty/3398:
#0: ffff88802e802098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198
3 locks held by kworker/1:3/3631:
#0: ffff88814ac28538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90003b6fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115
3 locks held by kworker/0:3/3685:
#0: ffff88814ac28538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc9000447fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115
2 locks held by syz-executor/8049:
#0: ffff88803ca4d0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:508 [inline]
#0: ffff88803ca4d0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1ff/0x500 net/bluetooth/hci_core.c:2710
#1: ffff88803ca4c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48d/0x1020 net/bluetooth/hci_sync.c:5053
3 locks held by syz-executor/8050:
#0: ffffffff8e559870 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860
#1: ffffffff8e559728 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8e559728 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0xf70 net/netlink/genetlink.c:848
#2: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: ieee80211_register_hw+0x31ed/0x3f10 net/mac80211/main.c:1392
2 locks held by syz-executor/8051:
#0: ffffffff8e559870 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860
#1: ffffffff8e559728 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8e559728 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0xf70 net/netlink/genetlink.c:848
1 lock held by syz-executor/8055:
#0: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118
2 locks held by syz.1.1631/8384:
#0: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3492
#1: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#1: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962
1 lock held by dhcpcd-run-hook/8421:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.112-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: 8424 Comm: sed Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x45/0x290 mm/kasan/generic.c:189
Code: 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 47 02 00 00 48 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 <4c> 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34
RSP: 0018:ffffc90003dcef90 EFLAGS: 00000802
RAX: 0000000000000001 RBX: 1ffffffff223ba4a RCX: ffffffff816af0fa
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff911dd250
RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff223ba4a
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807c466440
R13: dffffc0000000000 R14: 0000000000000080 R15: ffff88807c466420
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c174600d0 CR3: 000000005b062000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class kernel/locking/lockdep.c:228 [inline]
mark_lock+0x9a/0x340 kernel/locking/lockdep.c:4606
mark_held_locks kernel/locking/lockdep.c:4230 [inline]
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4256 [inline]
lockdep_hardirqs_on_prepare+0x3a0/0x7a0 kernel/locking/lockdep.c:4315
trace_hardirqs_on+0x34/0x40 kernel/trace/trace_preemptirq.c:49
seqcount_lockdep_reader_access+0x137/0x1e0 include/linux/seqlock.h:104
read_seqbegin include/linux/seqlock.h:836 [inline]
zone_span_seqbegin include/linux/memory_hotplug.h:132 [inline]
page_outside_zone_boundaries mm/page_alloc.c:627 [inline]
bad_range+0x7a/0x2c0 mm/page_alloc.c:654
rmqueue mm/page_alloc.c:3862 [inline]
get_page_from_freelist+0x3215/0x33b0 mm/page_alloc.c:4287
__alloc_pages+0x28d/0x770 mm/page_alloc.c:5558
__folio_alloc+0xf/0x30 mm/page_alloc.c:5590
vma_alloc_folio+0x486/0x990 mm/mempolicy.c:2243
alloc_page_vma include/linux/gfp.h:284 [inline]
do_cow_fault mm/memory.c:4648 [inline]
do_fault mm/memory.c:4760 [inline]
handle_pte_fault mm/memory.c:5029 [inline]
__handle_mm_fault mm/memory.c:5171 [inline]
handle_mm_fault+0x210c/0x5340 mm/memory.c:5292
do_user_addr_fault arch/x86/mm/fault.c:1340 [inline]
handle_page_fault arch/x86/mm/fault.c:1431 [inline]
exc_page_fault+0x26f/0x620 arch/x86/mm/fault.c:1487
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:clear_user_erms+0xa/0x10 arch/x86/lib/clear_page_64.S:182
Code: 74 03 f3 48 ab 83 e2 07 74 04 89 d1 f3 aa 31 c0 c3 48 c1 e1 03 83 e2 07 48 01 d1 eb f1 0f 1f 00 48 83 f9 40 0f 82 76 ff ff ff aa 31 c0 c3 cc 55 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89
RSP: 0018:ffffc90003dcfa10 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000000000f30 RCX: 0000000000000f30
RDX: 0000000000000000 RSI: ffffffff8b0c14c0 RDI: 00007f2c174600d0
RBP: 00007f2c174600d0 R08: dffffc0000000000 R09: fffffbfff1d33f2e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888033eb3000
R13: 0000000000000003 R14: 0000000000000003 R15: 00000000000000d0
__clear_user arch/x86/include/asm/uaccess_64.h:103 [inline]
clear_user arch/x86/include/asm/uaccess_64.h:124 [inline]
padzero fs/binfmt_elf.c:143 [inline]
load_elf_interp+0xc44/0xdb0 fs/binfmt_elf.c:690
load_elf_binary+0x1ae0/0x2720 fs/binfmt_elf.c:1251
search_binary_handler fs/exec.c:1743 [inline]
exec_binprm fs/exec.c:1784 [inline]
bprm_execve+0x96a/0x18a0 fs/exec.c:1853
do_execveat_common+0x580/0x720 fs/exec.c:1958
do_execve fs/exec.c:2032 [inline]
__do_sys_execve fs/exec.c:2108 [inline]
__se_sys_execve fs/exec.c:2103 [inline]
__x64_sys_execve+0x8e/0xa0 fs/exec.c:2103
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f928508aef7
Code: Unable to access opcode bytes at 0x7f928508aecd.
RSP: 002b:00007ffe568b0438 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 00005629e8522ec8 RCX: 00007f928508aef7
RDX: 00005629e8522f08 RSI: 00005629e8522ec8 RDI: 00005629e8522f98
RBP: 00005629e8522f98 R08: 00005629e8522f9d R09: 00007ffe568b4eb4
R10: 00007f9285283088 R11: 0000000000000246 R12: 00005629e8522f08
R13: 00007f9285238904 R14: 00005629e8522f08 R15: 0000000000000000