INFO: task syz-executor.2:26305 blocked for more than 143 seconds.
Not tainted 6.9.0-syzkaller-07726-g3c999d1ae3c7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27776 pid:26305 tgid:26299 ppid:25897 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline]
__down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306
inode_lock_nested include/linux/fs.h:826 [inline]
do_unlinkat+0x288/0x750 fs/namei.c:4394
__do_sys_unlink fs/namei.c:4455 [inline]
__se_sys_unlink fs/namei.c:4453 [inline]
__x64_sys_unlink+0xc7/0x110 fs/namei.c:4453
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4f1127cee9
RSP: 002b:00007f4f120a80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f4f113ac050 RCX: 00007f4f1127cee9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 00007f4f112c949e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f4f113ac050 R15: 00007ffd957f4fc8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8dbb1ce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8dbb1ce0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8dbb1ce0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
5 locks held by kworker/0:2/784:
#0: ffff88801c28c148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1: ffffc90003907d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2: ffff88805a086190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline]
#2: ffff88805a086190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e20 drivers/usb/core/hub.c:5850
#3: ffff88801aeda518 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3207 [inline]
#3: ffff88801aeda518 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x5bf/0x4e20 drivers/usb/core/hub.c:5903
#4: ffff888050c7a098 (&hub->status_mutex){+.+.}-{3:3}, at: hub_ext_port_status+0x5e/0x670 drivers/usb/core/hub.c:620
2 locks held by getty/4840:
#0: ffff88802a5fc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
2 locks held by kworker/u8:0/22935:
2 locks held by syz-executor.2/26302:
2 locks held by syz-executor.2/26305:
#0: ffff88801f77c420 (sb_writers#47){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4390
#1: ffff888055c206d0 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:826 [inline]
#1: ffff888055c206d0 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: do_unlinkat+0x288/0x750 fs/namei.c:4394
2 locks held by syz-executor.4/26372:
1 lock held by syz-executor.1/27284:
#0: ffffffff8dbbd478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323
2 locks held by vhost-27285/27300:
1 lock held by syz-executor.0/27336:
#0: ffff8880206b1198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xfd0 drivers/block/nbd.c:1557
2 locks held by syz-executor.2/27340:
#0: ffff88801d9fb810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline]
#0: ffff88801d9fb810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x270 net/socket.c:658
#1: ffff8880b933ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-07726-g3c999d1ae3c7 #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+0x116/0x1f0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf86/0x1240 kernel/hung_task.c:380
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/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: 26372 Comm: syz-executor.4 Not tainted 6.9.0-syzkaller-07726-g3c999d1ae3c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline]
RIP: 0010:lockdep_hardirqs_on+0x50/0x110 kernel/locking/lockdep.c:4409
Code: 00 00 f0 00 48 89 fd 75 41 65 8b 05 22 53 1d 75 85 c0 75 69 65 8b 05 2b 50 1d 75 85 c0 75 5e 8b 35 65 13 ce 09 85 f6 75 21 9c <58> f6 c4 02 75 6b 8b 15 54 13 ce 09 85 d2 75 10 48 8b 83 d0 0a 00
RSP: 0018:ffffc90003396990 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff88804fed8000 RCX: 1ffffffff2864c03
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffffff81f2027b
RBP: ffffffff81f2027b R08: 0000000000000001 R09: fffffbfff284ac92
R10: ffffffff94256497 R11: 0000000000000002 R12: 0000000000000200
R13: ffff8880b9239520 R14: 0000000000000000 R15: ffff8880b9239574
FS: 00007f2284cc86c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32630000 CR3: 000000002c848000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mod_objcg_state+0x46b/0x770 mm/memcontrol.c:3420
__memcg_slab_free_hook+0x14e/0x280 mm/slub.c:2011
memcg_slab_free_hook mm/slub.c:2030 [inline]
slab_free mm/slub.c:4351 [inline]
kmem_cache_free+0x347/0x390 mm/slub.c:4417
free_buffer_head+0x4e/0x110 fs/buffer.c:3017
try_to_free_buffers+0x1c5/0x2d0 fs/buffer.c:2958
filemap_release_folio+0x215/0x280 mm/filemap.c:4133
shrink_folio_list+0x295a/0x3f00 mm/vmscan.c:1376
evict_folios+0x6e6/0x1bb0 mm/vmscan.c:4537
try_to_shrink_lruvec+0x618/0x9b0 mm/vmscan.c:4733
lru_gen_shrink_lruvec mm/vmscan.c:4876 [inline]
shrink_lruvec+0x2df/0x29b0 mm/vmscan.c:5653
shrink_node_memcgs mm/vmscan.c:5873 [inline]
shrink_node+0x81e/0x3a80 mm/vmscan.c:5908
shrink_zones mm/vmscan.c:6152 [inline]
do_try_to_free_pages+0x361/0x1a20 mm/vmscan.c:6214
try_to_free_mem_cgroup_pages+0x317/0x7f0 mm/vmscan.c:6529
try_charge_memcg+0x3d1/0x11a0 mm/memcontrol.c:2783
try_charge mm/memcontrol.c:2931 [inline]
charge_memcg mm/memcontrol.c:7284 [inline]
__mem_cgroup_charge+0xa6/0x140 mm/memcontrol.c:7299
mem_cgroup_charge include/linux/memcontrol.h:691 [inline]
__filemap_add_folio+0x26a/0xe60 mm/filemap.c:864
filemap_add_folio+0xaf/0x1e0 mm/filemap.c:947
do_read_cache_folio+0x1d9/0x540 mm/filemap.c:3714
do_read_cache_page mm/filemap.c:3813 [inline]
read_cache_page+0x5b/0x160 mm/filemap.c:3822
read_mapping_page include/linux/pagemap.h:890 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_readdir+0x194/0x810 fs/sysv/dir.c:92
iterate_dir+0x292/0x9e0 fs/readdir.c:110
__do_sys_getdents64 fs/readdir.c:409 [inline]
__se_sys_getdents64 fs/readdir.c:394 [inline]
__x64_sys_getdents64+0x14f/0x2e0 fs/readdir.c:394
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2283e7cee9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2284cc80c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f2283fabf80 RCX: 00007f2283e7cee9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f2283ec949e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2283fabf80 R15: 00007ffe323858f8