INFO: task syz.0.781:10047 blocked for more than 144 seconds.
Not tainted 6.11.0-syzkaller-09959-gabf2050f51fd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.781 state:D stack:25552 pid:10047 tgid:10046 ppid:9448 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6674
__schedule_loop kernel/sched/core.c:6751 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6766
__lock_sock+0x1cd/0x330 net/core/sock.c:3048
lock_sock_nested+0x9e/0x100 net/core/sock.c:3616
lock_sock include/net/sock.h:1609 [inline]
sk_stream_wait_memory+0x93c/0xfa0 net/core/stream.c:145
tcp_sendmsg_locked+0x14f3/0x50a0 net/ipv4/tcp.c:1315
tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1357
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg+0x1a6/0x270 net/socket.c:745
__sys_sendto+0x39b/0x4f0 net/socket.c:2210
__do_sys_sendto net/socket.c:2222 [inline]
__se_sys_sendto net/socket.c:2218 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2218
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:0x7f1d7017def9
RSP: 002b:00007f1d70f0d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f1d70335f80 RCX: 00007f1d7017def9
RDX: 994b6e03113064ae RSI: 0000000020000700 RDI: 0000000000000003
RBP: 00007f1d701f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f1d70335f80 R15: 00007ffc67cdf898
INFO: task syz.0.781:10049 blocked for more than 144 seconds.
Not tainted 6.11.0-syzkaller-09959-gabf2050f51fd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.781 state:D stack:23576 pid:10049 tgid:10046 ppid:9448 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6674
__schedule_loop kernel/sched/core.c:6751 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6766
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6823
rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
filemap_invalidate_lock_shared include/linux/fs.h:870 [inline]
page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226
do_sync_mmap_readahead+0x499/0x970
filemap_fault+0x8c5/0x1950 mm/filemap.c:3339
__do_fault+0x137/0x460 mm/memory.c:4876
do_shared_fault mm/memory.c:5346 [inline]
do_fault mm/memory.c:5420 [inline]
do_pte_missing mm/memory.c:3965 [inline]
handle_pte_fault+0x1105/0x6800 mm/memory.c:5751
__handle_mm_fault mm/memory.c:5894 [inline]
handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6062
do_user_addr_fault arch/x86/mm/fault.c:1389 [inline]
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0010:copy_user_generic arch/x86/include/asm/uaccess_64.h:121 [inline]
RIP: 0010:raw_copy_to_user arch/x86/include/asm/uaccess_64.h:142 [inline]
RIP: 0010:copy_to_user_iter lib/iov_iter.c:25 [inline]
RIP: 0010:iterate_ubuf include/linux/iov_iter.h:30 [inline]
RIP: 0010:iterate_and_advance2 include/linux/iov_iter.h:300 [inline]
RIP: 0010:iterate_and_advance include/linux/iov_iter.h:328 [inline]
RIP: 0010:_copy_to_iter+0x252/0x1d60 lib/iov_iter.c:185
Code: 0f 82 17 03 00 00 e8 dd 58 dc fc 4c 8b ac 24 80 00 00 00 4c 89 ef 44 89 e6 e8 1a 0f 46 fd 0f 01 cb 4c 89 e1 4c 89 ee 48 89 df a4 0f 1f 00 0f 01 ca 49 29 cc 48 b8 00 00 00 00 00 fc ff df 41
RSP: 0018:ffffc9000968f280 EFLAGS: 00050246
RAX: ffffffff84b85b01 RBX: 0000000020003edb RCX: 0000000000000135
RDX: 0000000000000000 RSI: ffff88802d960c00 RDI: 0000000020003edb
RBP: ffffc9000968f3f8 R08: ffff88802d960d34 R09: 1ffff11005b2c1a6
R10: dffffc0000000000 R11: ffffed1005b2c1a7 R12: 0000000000000135
R13: ffff88802d960c00 R14: ffffc9000968fe18 R15: 1ffff920012d1fc3
copy_to_iter include/linux/uio.h:211 [inline]
simple_copy_to_iter net/core/datagram.c:524 [inline]
__skb_datagram_iter+0x107/0x900 net/core/datagram.c:401
skb_copy_datagram_iter+0xd1/0x250 net/core/datagram.c:538
skb_copy_datagram_msg include/linux/skbuff.h:4076 [inline]
tcp_recvmsg_locked+0xf8a/0x3c80 net/ipv4/tcp.c:2746
tcp_recvmsg+0x25d/0x920 net/ipv4/tcp.c:2851
inet_recvmsg+0x150/0x2d0 net/ipv4/af_inet.c:885
sock_recvmsg_nosec net/socket.c:1052 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1074
____sys_recvmsg+0x1c6/0x480 net/socket.c:2822
___sys_recvmsg net/socket.c:2864 [inline]
__sys_recvmsg+0x2e6/0x3d0 net/socket.c:2894
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:0x7f1d7017def9
RSP: 002b:00007f1d70eec038 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007f1d70336058 RCX: 00007f1d7017def9
RDX: 0000000000000104 RSI: 0000000020001500 RDI: 0000000000000003
RBP: 00007f1d701f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f1d70336058 R15: 00007ffc67cdf898
Showing all locks held in the system:
4 locks held by kworker/u8:0/11:
1 lock held by khungtaskd/30:
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701
5 locks held by kworker/u8:3/53:
#0: ffff88801bae5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801bae5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc90000be7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90000be7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fcc1150 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580
#3: ffff88806b4f5428 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x110/0x2e0 drivers/net/wireguard/device.c:249
#4: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#4: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
5 locks held by kworker/u8:5/81:
3 locks held by kworker/u8:6/1096:
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc90003f47d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90003f47d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fccdc48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
3 locks held by kworker/1:2/1175:
#0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc900042d7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900042d7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffff888057192240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489
2 locks held by getty/4976:
#0: ffff888031cf20a0 (&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+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
3 locks held by kworker/1:7/5330:
#0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc90003b17d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90003b17d00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fccdc48 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
2 locks held by kworker/u8:12/7920:
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc900041e7d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900041e7d00 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
1 lock held by syz.1.668/9334:
#0: ffff8880234994c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:860 [inline]
#0: ffff8880234994c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x20e/0x490 block/fops.c:808
1 lock held by syz.0.781/10047:
#0: ffff88807cd84218 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1609 [inline]
#0: ffff88807cd84218 (sk_lock-AF_INET){+.+.}-{0:0}, at: sk_stream_wait_memory+0x93c/0xfa0 net/core/stream.c:145
2 locks held by syz.0.781/10049:
#0: ffff88807cd84218 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1609 [inline]
#0: ffff88807cd84218 (sk_lock-AF_INET){+.+.}-{0:0}, at: sk_wait_data+0x345/0x510 net/core/sock.c:3120
#1: ffff8880234994c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline]
#1: ffff8880234994c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226
1 lock held by syz-executor/10915:
#0: ffffffff8fccdc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fccdc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643
7 locks held by syz-executor/11082:
#0: ffff88807db96420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2930 [inline]
#0: ffff88807db96420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x224/0xc90 fs/read_write.c:679
#1: ffff88802fc5c488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325
#2: ffff8881437344b8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326
#3: ffffffff8f56d3e8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
#4: ffff888065e9f0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#4: ffff888065e9f0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff888065e9f0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293
#5: ffff88807076f250 (&devlink->lock_key#43){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672
#6: ffffffff8fccdc48 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:773
5 locks held by syz.4.1021/11293:
1 lock held by syz-executor/11331:
#0: ffffffff8fccdc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fccdc48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-09959-gabf2050f51fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__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:223 [inline]
watchdog+0xff4/0x1040 kernel/hung_task.c:379
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
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 3 Comm: pool_workqueue_ Not tainted 6.11.0-syzkaller-09959-gabf2050f51fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:chain_hlock_class_idx kernel/locking/lockdep.c:435 [inline]
RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:6152 [inline]
RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:6190 [inline]
RIP: 0010:zap_class+0x199/0x840 kernel/locking/lockdep.c:6232
Code: c1 eb 08 81 fb 00 00 50 00 73 7b 48 63 c3 48 8d ac 00 c0 76 1e 93 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 34 0f b7 45 00 <25> ff 1f 00 00 49 39 c4 74 66 43 0f b6 44 35 00 84 c0 75 31 41 8b
RSP: 0018:ffffc90000087c68 EFLAGS: 00000046
RAX: 00000000000009d8 RBX: 000000000002a661 RCX: 000000000000e2bf
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff9a3889f8
RBP: ffffffff9323c382 R08: ffffffff9a3889ff R09: 1ffffffff347113f
R10: dffffc0000000000 R11: fffffbfff3471140 R12: 0000000000000fe4
R13: 1ffffffff2872674 R14: dffffc0000000000 R15: ffffffff943933a0
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5508bb4378 CR3: 000000007b948000 CR4: 0000000000350ef0
Call Trace:
__lockdep_free_key_range kernel/locking/lockdep.c:6351 [inline]
lockdep_unregister_key+0x3d0/0x540 kernel/locking/lockdep.c:6547
wq_unregister_lockdep kernel/workqueue.c:4789 [inline]
pwq_release_workfn+0x6d1/0x800 kernel/workqueue.c:5085
kthread_worker_fn+0x502/0xb70 kernel/kthread.c:842
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