INFO: task syz-executor.2:24836 blocked for more than 143 seconds.
Not tainted 6.5.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:28872 pid:24836 ppid:5053 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock_nested include/linux/fs.h:806 [inline]
lock_rename fs/namei.c:3042 [inline]
do_renameat2+0x615/0x1660 fs/namei.c:4948
__do_sys_rename fs/namei.c:5055 [inline]
__se_sys_rename fs/namei.c:5053 [inline]
__x64_sys_rename+0x86/0x90 fs/namei.c:5053
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff9ff67cae9
RSP: 002b:00007ffa003e70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007ff9ff79c050 RCX: 00007ff9ff67cae9
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 00000000200000c0
RBP: 00007ff9ff6c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007ff9ff79c050 R15: 00007fffce4bdfd8
INFO: task syz-executor.2:24837 blocked for more than 144 seconds.
Not tainted 6.5.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:28904 pid:24837 ppid:5053 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x9c/0x2f0 kernel/locking/rwsem.c:1522
inode_lock_shared include/linux/fs.h:781 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1706
walk_component+0x2d0/0x400 fs/namei.c:1998
lookup_last fs/namei.c:2455 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2479
filename_lookup+0x255/0x610 fs/namei.c:2508
user_path_at_empty+0x44/0x180 fs/namei.c:2907
user_path_at include/linux/namei.h:57 [inline]
do_mount fs/namespace.c:3672 [inline]
__do_sys_mount fs/namespace.c:3884 [inline]
__se_sys_mount+0x29a/0x3c0 fs/namespace.c:3861
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff9ff67cae9
RSP: 002b:00007ffa003c60c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff9ff79c120 RCX: 00007ff9ff67cae9
RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007ff9ff6c847a R08: 00000000200003c0 R09: 0000000000000000
R10: 0000000001036122 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007ff9ff79c120 R15: 00007fffce4bdfd8
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0:
ffffffff8d328db0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8d329170 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8d328be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by acpid/4454:
#0: ffff88807bb3c158 (&joydev->mutex){+.+.}-{3:3}, at: joydev_close_device drivers/input/joydev.c:220 [inline]
#0: ffff88807bb3c158 (&joydev->mutex){+.+.}-{3:3}, at: joydev_release+0x16e/0x220 drivers/input/joydev.c:252
#1: ffff888087c3d2c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x4e/0x1d0 drivers/input/input.c:704
#2: ffffffff8d32e278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8d32e278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
2 locks held by getty/4771:
#0: ffff88802d80a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187
1 lock held by syz-executor.1/5043:
#0: ffffffff8d32e278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8d32e278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:10/5113:
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2569
#1: ffffc90004d3fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2571
6 locks held by kworker/1:1/17665:
#0: ffff8880162c9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2569
#1: ffffc900152b7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2571
#2: ffff888142f03190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:958 [inline]
#2: ffff888142f03190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x52c0 drivers/usb/core/hub.c:5754
#3: ffff88808c4f2508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3162 [inline]
#3: ffff88808c4f2508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5318 [inline]
#3: ffff88808c4f2508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5566 [inline]
#3: ffff88808c4f2508 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5726 [inline]
#3: ffff88808c4f2508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x253a/0x52c0 drivers/usb/core/hub.c:5808
#4: ffff8881427d7d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5319 [inline]
#4: ffff8881427d7d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5566 [inline]
#4: ffff8881427d7d68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5726 [inline]
#4: ffff8881427d7d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x256e/0x52c0 drivers/usb/core/hub.c:5808
#5: ffff8880b993bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
4 locks held by kworker/0:15/19940:
#0: ffff8880b983bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:999
#2: ffff88808f0e8768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5773 [inline]
#2: ffff88808f0e8768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_wiphy_work+0x35/0x250 net/wireless/core.c:422
#3: ffff888021dccd40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1135 [inline]
#3: ffff888021dccd40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa4/0x1490 net/mac80211/ibss.c:1684
2 locks held by kworker/u4:13/23379:
#0: ffff8880b983bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:999
2 locks held by syz-executor.2/24830:
2 locks held by syz-executor.2/24836:
#0: ffff888091f8a410 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403
#1: ffff8880a65586e0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:806 [inline]
#1: ffff8880a65586e0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3042 [inline]
#1: ffff8880a65586e0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: do_renameat2+0x615/0x1660 fs/namei.c:4948
1 lock held by syz-executor.2/24837:
#0: ffff8880a65586e0 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:781 [inline]
#0: ffff8880a65586e0 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706
2 locks held by syz-executor.4/24929:
2 locks held by syz-executor.4/24935:
#0: ffff88807a894410 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403
#1: ffff8880a655b160 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:806 [inline]
#1: ffff8880a655b160 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3042 [inline]
#1: ffff8880a655b160 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: do_renameat2+0x615/0x1660 fs/namei.c:4948
1 lock held by syz-executor.4/24936:
#0: ffff8880a655b160 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:781 [inline]
#0: ffff8880a655b160 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706
1 lock held by udevd/25022:
#0: ffff8880b993bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
1 lock held by udevd/25095:
#0: ffff88807bcc5110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open_device drivers/input/evdev.c:393 [inline]
#0: ffff88807bcc5110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open+0x2f0/0x600 drivers/input/evdev.c:487
2 locks held by syz-executor.3/25369:
#0: ffff88807bcc5110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open_device drivers/input/evdev.c:393 [inline]
#0: ffff88807bcc5110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open+0x2f0/0x600 drivers/input/evdev.c:487
#1: ffff888087c3d2c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_open_device+0x52/0x2e0 drivers/input/input.c:634
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 24929 Comm: syz-executor.4 Not tainted 6.5.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:56 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline]
RIP: 0010:deref_stack_reg+0x64/0x210 arch/x86/kernel/unwind_orc.c:403
Code: 89 ef e8 af ce a7 00 4c 8b 04 24 48 ba 00 00 00 00 00 fc ff df 49 8b 76 08 49 8d 5e 10 49 89 dd 49 c1 ed 03 41 80 7c 15 00 00 <74> 1c 48 89 df 49 89 f7 e8 7f ce a7 00 4c 89 fe 4c 8b 04 24 48 ba
RSP: 0018:ffffc9000346e998 EFLAGS: 00000246
RAX: fffffffffffffff0 RBX: ffffc9000346ead0 RCX: ffffffff8f1db929
RDX: dffffc0000000000 RSI: ffffc90003468000 RDI: ffffc9000346eac0
RBP: ffffc9000346eac8 R08: ffffc9000346f738 R09: 0000000000000000
R10: ffffc9000346eb10 R11: fffff5200068dd64 R12: 1ffff9200068dd59
R13: 1ffff9200068dd5a R14: ffffc9000346eac0 R15: ffffc9000346eac0
FS: 00007f4b6326b6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8501a65070 CR3: 000000002400b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_next_frame+0x18a8/0x2390
arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122
save_stack+0xfa/0x1e0 mm/page_owner.c:128
__set_page_owner+0x29/0x380 mm/page_owner.c:192
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x1e6/0x210 mm/page_alloc.c:1570
prep_new_page mm/page_alloc.c:1577 [inline]
get_page_from_freelist+0x31e8/0x3370 mm/page_alloc.c:3221
__alloc_pages+0x255/0x670 mm/page_alloc.c:4477
alloc_slab_page+0x6a/0x160 mm/slub.c:1862
allocate_slab mm/slub.c:2009 [inline]
new_slab+0x84/0x2f0 mm/slub.c:2062
___slab_alloc+0xade/0x1100 mm/slub.c:3215
__slab_alloc mm/slub.c:3314 [inline]
__slab_alloc_node mm/slub.c:3367 [inline]
slab_alloc_node mm/slub.c:3460 [inline]
slab_alloc mm/slub.c:3478 [inline]
__kmem_cache_alloc_lru mm/slub.c:3485 [inline]
kmem_cache_alloc+0x1bf/0x300 mm/slub.c:3494
kmem_cache_zalloc include/linux/slab.h:693 [inline]
alloc_buffer_head+0x2d/0x2a0 fs/buffer.c:3037
folio_alloc_buffers+0x3ab/0x9e0 fs/buffer.c:940
folio_create_empty_buffers+0x3a/0x750 fs/buffer.c:1669
folio_create_buffers+0x132/0x250 fs/buffer.c:1795
block_read_full_folio+0x242/0x1000 fs/buffer.c:2392
filemap_read_folio+0x19d/0x7a0 mm/filemap.c:2389
do_read_cache_folio+0x134/0x820 mm/filemap.c:3696
do_read_cache_page+0x32/0x220 mm/filemap.c:3762
read_mapping_page include/linux/pagemap.h:776 [inline]
dir_get_page fs/minix/dir.c:76 [inline]
minix_find_entry+0x1b7/0x530 fs/minix/dir.c:176
minix_inode_by_name+0x9e/0x240 fs/minix/dir.c:460
minix_lookup+0xc5/0x150 fs/minix/namei.c:30
lookup_open fs/namei.c:3470 [inline]
open_last_lookups fs/namei.c:3560 [inline]
path_openat+0x11f1/0x3180 fs/namei.c:3790
do_filp_open+0x234/0x490 fs/namei.c:3820
do_sys_openat2+0x13e/0x1d0 fs/open.c:1407
do_sys_open fs/open.c:1422 [inline]
__do_sys_open fs/open.c:1430 [inline]
__se_sys_open fs/open.c:1426 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1426
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4b6247cae9
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:00007f4b6326b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f4b6259bf80 RCX: 00007f4b6247cae9
RDX: 0000000000000000 RSI: 0000000000145142 RDI: 0000000020007f80
RBP: 00007f4b624c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f4b6259bf80 R15: 00007ffd94ca2f28