INFO: task syz.1.142:5657 blocked for more than 143 seconds.
Not tainted 6.10.0-syzkaller-12084-g28bbe4ea686a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.142 state:D stack:26032 pid:5657 tgid:5638 ppid:5103 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__ww_mutex_lock+0xec2/0x2790 kernel/locking/mutex.c:759
ww_mutex_lock+0x40/0x1f0 kernel/locking/mutex.c:876
drm_modeset_lock+0x6f/0x90 drivers/gpu/drm/drm_modeset_lock.c:398
drm_mode_getcrtc+0x152/0x770 drivers/gpu/drm/drm_crtc.c:544
drm_ioctl_kernel+0x33a/0x440 drivers/gpu/drm/drm_ioctl.c:745
drm_ioctl+0x611/0xad0 drivers/gpu/drm/drm_ioctl.c:842
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3500775f19
RSP: 002b:00007f350146b048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f35009061e8 RCX: 00007f3500775f19
RDX: 0000000020000200 RSI: 00000000c06864a1 RDI: 0000000000000006
RBP: 00007f35007e4e68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f35009061e8 R15: 00007ffd961957b8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e337660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8e337660 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8e337660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6620
1 lock held by kswapd0/90:
6 locks held by kworker/u8:5/1047:
2 locks held by kworker/u8:7/2842:
2 locks held by getty/4847:
#0: ffff88802b0340a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
3 locks held by kworker/1:5/5151:
#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: ffffc900040f7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc900040f7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffff888188208240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489
3 locks held by kworker/1:6/5181:
#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: ffffc90004147d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc90004147d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffff888054c86240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489
5 locks held by syz.0.60/5386:
1 lock held by syz.1.142/5657:
#0: ffff8880201ed0b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_modeset_lock+0x6f/0x90 drivers/gpu/drm/drm_modeset_lock.c:398
5 locks held by syz.0.205/5898:
#0: ffffffff8e213080 (console_lock){+.+.}-{0:0}, at: vt_k_ioctl drivers/tty/vt/vt_ioctl.c:380 [inline]
#0: ffffffff8e213080 (console_lock){+.+.}-{0:0}, at: vt_ioctl+0x722/0x2090 drivers/tty/vt/vt_ioctl.c:751
#1: ffff8880201da280 (&helper->lock){+.+.}-{3:3}, at: __drm_fb_helper_restore_fbdev_mode_unlocked+0xa2/0x170 drivers/gpu/drm/drm_fb_helper.c:235
#2: ffff8880201da098 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_locked+0x50/0x520 drivers/gpu/drm/drm_client_modeset.c:1164
#3: ffffc900198e75b0 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0xd5/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1002
#4: ffff8880201ed0b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: modeset_lock+0x2bf/0x650 drivers/gpu/drm/drm_modeset_lock.c:314
2 locks held by syz.0.413/6544:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135
#1: ffff88806193d1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev+0x78/0x4c0 drivers/tty/tty_io.c:1421
1 lock held by syz.1.453/6679:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135
1 lock held by syz.3.466/6719:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135
1 lock held by syz.4.476/6763:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by syz.0.479/6783:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135
1 lock held by syz.2.500/6858:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135
1 lock held by syz.1.507/6885:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135
1 lock held by syz.3.508/6897:
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8eb07e48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135
1 lock held by syz-executor/6911:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-syzkaller-12084-g28bbe4ea686a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
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+0xfee/0x1030 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 6911 Comm: syz-executor Not tainted 6.10.0-syzkaller-12084-g28bbe4ea686a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188
Code: 8d e8 ff 9d e3 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37
RSP: 0018:ffffc90011fb6850 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000027 RCX: ffffffff81705f0e
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92fcd800
RBP: ffffc90011fb6b60 R08: ffffffff92fcd807 R09: 1ffffffff25f9b00
R10: dffffc0000000000 R11: fffffbfff25f9b01 R12: dffffc0000000000
R13: ffff88802a70a950 R14: 95f8a750c50d34b2 R15: ffff88802a70a950
FS: 0000555594a44500(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f46e09462af CR3: 0000000055276000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class kernel/locking/lockdep.c:227 [inline]
lookup_chain_cache_add kernel/locking/lockdep.c:3780 [inline]
validate_chain+0x11e/0x5900 kernel/locking/lockdep.c:3836
__lock_acquire+0x137a/0x2040 kernel/locking/lockdep.c:5142
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759
seqcount_lockdep_reader_access+0xed/0x1e0 include/linux/seqlock.h:72
read_seqbegin include/linux/seqlock.h:772 [inline]
zone_span_seqbegin include/linux/memory_hotplug.h:151 [inline]
page_outside_zone_boundaries mm/page_alloc.c:434 [inline]
bad_range+0x5f/0x270 mm/page_alloc.c:453
expand+0x73/0x220 mm/page_alloc.c:1351
__rmqueue_smallest mm/page_alloc.c:1537 [inline]
__rmqueue mm/page_alloc.c:2238 [inline]
rmqueue_buddy mm/page_alloc.c:2863 [inline]
rmqueue mm/page_alloc.c:3038 [inline]
get_page_from_freelist+0x12f6/0x2f10 mm/page_alloc.c:3435
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4696
__alloc_pages_node_noprof include/linux/gfp.h:269 [inline]
alloc_pages_node_noprof include/linux/gfp.h:296 [inline]
___kmalloc_large_node+0x8b/0x1d0 mm/slub.c:4103
__kmalloc_large_node_noprof+0x1a/0x80 mm/slub.c:4130
__do_kmalloc_node mm/slub.c:4146 [inline]
__kmalloc_node_noprof+0x2d2/0x440 mm/slub.c:4164
__kvmalloc_node_noprof+0x72/0x190 mm/util.c:650
wg_index_hashtable_alloc+0x1e/0x70 drivers/net/wireguard/peerlookup.c:85
wg_newlink+0x159/0x640 drivers/net/wireguard/device.c:329
rtnl_newlink_create net/core/rtnetlink.c:3510 [inline]
__rtnl_newlink net/core/rtnetlink.c:3730 [inline]
rtnl_newlink+0x1591/0x20a0 net/core/rtnetlink.c:3743
rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6647
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357
netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:745
__sys_sendto+0x3a4/0x4f0 net/socket.c:2204
__do_sys_sendto net/socket.c:2216 [inline]
__se_sys_sendto net/socket.c:2212 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2212
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f23dab77cac
Code: 2a 5a 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5a 02 00 48 8b
RSP: 002b:00007ffd61b273e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f23db834620 RCX: 00007f23dab77cac
RDX: 000000000000003c RSI: 00007f23db834670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd61b27434 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f23db834670 R15: 0000000000000000