INFO: task syz-executor.2:16726 blocked for more than 143 seconds.
Not tainted 6.9.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:25072 pid:16726 tgid:16725 ppid:16453 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1796/0x4a00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306
inode_lock_nested include/linux/fs.h:830 [inline]
do_unlinkat+0x26a/0x830 fs/namei.c:4386
__do_sys_unlinkat fs/namei.c:4442 [inline]
__se_sys_unlinkat fs/namei.c:4435 [inline]
__x64_sys_unlinkat+0xce/0xf0 fs/namei.c:4435
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7152c7dea9
RSP: 002b:00007f71539cd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f7152dabf80 RCX: 00007f7152c7dea9
RDX: 0000000000000000 RSI: 00000000200003c0 RDI: ffffffffffffff9c
RBP: 00007f7152cca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f7152dabf80 R15: 00007ffc633b86b8
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4831:
#0: ffff88802b0550a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
6 locks held by kworker/u9:2/5092:
#0: ffff88805607e948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff88805607e948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335
#1: ffffc900034e7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900034e7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335
#2: ffff88802136d060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:309
#3: ffff88802136c078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5548
#4: ffffffff8f6fd828 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2010 [inline]
#4: ffffffff8f6fd828 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1230
#5: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#5: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939
1 lock held by syz-executor.0/16674:
2 locks held by syz-executor.2/16726:
#0: ffff88802211a420 (sb_writers#43){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88807b1d9160 (&type->i_mutex_dir_key#32/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline]
#1: ffff88807b1d9160 (&type->i_mutex_dir_key#32/1){+.+.}-{3:3}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4386
3 locks held by syz-executor.2/16758:
1 lock held by syz-executor.2/16914:
#0: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#0: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939
2 locks held by syz-executor.4/17794:
1 lock held by syz-executor.4/17796:
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline]
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708
1 lock held by syz-executor.4/17802:
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline]
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline]
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: path_openat+0x7c4/0x3240 fs/namei.c:3796
2 locks held by syz-executor.4/17806:
#0: ffff88805cbf2420 (sb_writers#43){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline]
#1: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: open_last_lookups fs/namei.c:3563 [inline]
#1: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: path_openat+0x7d3/0x3240 fs/namei.c:3796
1 lock held by syz-executor.4/17807:
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline]
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline]
#0: ffff88807b1846d0 (&type->i_mutex_dir_key#34){++++}-{3:3}, at: path_openat+0x7c4/0x3240 fs/namei.c:3796
2 locks held by syz-executor.4/18282:
2 locks held by syz-executor.3/18315:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:380
kthread+0x2f0/0x390 kernel/kthread.c:388
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 PID: 18282 Comm: syz-executor.4 Not tainted 6.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:86 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x7c/0x290 mm/kasan/generic.c:189
Code: 49 c1 e9 03 49 be 01 00 00 00 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd <48> f7 d5 48 01 dd 41 80 3b 00 0f 85 c9 01 00 00 49 ff c3 48 ff c5
RSP: 0018:ffffc9001333f2a0 EFLAGS: 00000002
RAX: 0000000000000001 RBX: 1ffffffff25dfca2 RCX: ffffffff8172974a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92efe510
RBP: 1ffffffff25dfca2 R08: ffffffff92efe517 R09: 1ffffffff25dfca2
R10: dffffc0000000000 R11: fffffbfff25dfca2 R12: 0000000000000001
R13: ffff888024130000 R14: dffffc0000000001 R15: fffffbfff25dfca3
FS: 00007f502ad1e6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f42fbb01000 CR3: 0000000058032000 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:228 [inline]
check_wait_context kernel/locking/lockdep.c:4774 [inline]
__lock_acquire+0x5ca/0x1fd0 kernel/locking/lockdep.c:5087
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
__fs_reclaim_acquire mm/page_alloc.c:3698 [inline]
fs_reclaim_acquire+0x88/0x140 mm/page_alloc.c:3712
might_alloc include/linux/sched/mm.h:312 [inline]
prepare_alloc_pages+0x147/0x5d0 mm/page_alloc.c:4346
__alloc_pages+0x166/0x6c0 mm/page_alloc.c:4564
alloc_pages_mpol+0x3e8/0x680 mm/mempolicy.c:2264
shmem_alloc_folio mm/shmem.c:1628 [inline]
shmem_alloc_and_add_folio+0x24d/0xbc0 mm/shmem.c:1668
shmem_get_folio_gfp+0x82d/0x1f50 mm/shmem.c:2055
shmem_get_folio mm/shmem.c:2160 [inline]
shmem_write_begin+0x170/0x4d0 mm/shmem.c:2744
generic_perform_write+0x322/0x640 mm/filemap.c:3974
shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2920
call_write_iter include/linux/fs.h:2110 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0xa84/0xcb0 fs/read_write.c:590
ksys_write+0x1a0/0x2c0 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f502a07cbef
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48
RSP: 002b:00007f502ad1de80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f502a07cbef
RDX: 0000000001000000 RSI: 00007f501fe00000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005dbe
R10: 0000000020006042 R11: 0000000000000293 R12: 0000000000000003
R13: 00007f502ad1df80 R14: 00007f502ad1df40 R15: 00007f501fe00000