INFO: task syz-executor.0:961 blocked for more than 143 seconds. Not tainted 5.15.158-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24448 pid: 961 ppid: 30944 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 io_schedule+0x88/0x100 kernel/sched/core.c:8484 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 __lock_page mm/filemap.c:1648 [inline] lock_page include/linux/pagemap.h:625 [inline] pagecache_get_page+0x5af/0x1010 mm/filemap.c:1910 find_or_create_page include/linux/pagemap.h:420 [inline] ni_readpage_cmpr+0x2f2/0x8d0 fs/ntfs3/frecord.c:2087 ntfs_readpage+0x19a/0x210 fs/ntfs3/inode.c:725 filemap_read_page+0x166/0x4b0 mm/filemap.c:2386 filemap_fault+0xdd0/0x1470 mm/filemap.c:3174 __do_fault+0x139/0x340 mm/memory.c:3898 do_read_fault mm/memory.c:4234 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x376f/0x5950 mm/memory.c:4854 do_user_addr_fault arch/x86/mm/fault.c:1388 [inline] handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x271/0x740 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0010:__get_user_nocheck_1+0x6/0x10 arch/x86/lib/getuser.S:124 Code: d0 73 64 48 19 d2 48 21 d0 0f 01 cb 48 8b 10 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 0f 01 cb 0f ae e8 <0f> b6 10 31 c0 0f 01 ca c3 90 0f 01 cb 0f ae e8 0f b7 10 31 c0 0f RSP: 0018:ffffc90003287938 EFLAGS: 00050202 RAX: 0000000020001980 RBX: 0000000020001980 RCX: ffff888022c91dc0 RDX: ffffc90003d33000 RSI: 0000000000000980 RDI: 0000000000000000 RBP: ffffc900032879f8 R08: ffffffff81b72e83 R09: fffffbfff1bc8c56 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000001006 R13: ffffc90003287980 R14: dffffc0000000000 R15: 0000000020001980 fault_in_readable+0xce/0x2e0 mm/gup.c:1793 fault_in_iov_iter_readable+0x14a/0x1d0 lib/iov_iter.c:460 ntfs_compress_write+0xf42/0x1dd0 fs/ntfs3/file.c:998 ntfs_file_write_iter+0x3a2/0x540 fs/ntfs3/file.c:1145 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacf/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0b75330d69 RSP: 002b:00007f0b738a30c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0b7545ef80 RCX: 00007f0b75330d69 RDX: 0000000000001006 RSI: 0000000020001980 RDI: 0000000000000004 RBP: 00007f0b7537d49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0b7545ef80 R15: 00007ffcf0b7a3f8 INFO: task syz-executor.0:968 blocked for more than 144 seconds. Not tainted 5.15.158-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25984 pid: 968 ppid: 30944 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 ni_lock fs/ntfs3/ntfs_fs.h:1098 [inline] ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:724 filemap_read_page+0x166/0x4b0 mm/filemap.c:2386 filemap_fault+0xdd0/0x1470 mm/filemap.c:3174 __do_fault+0x139/0x340 mm/memory.c:3898 do_read_fault mm/memory.c:4234 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x376f/0x5950 mm/memory.c:4854 do_user_addr_fault arch/x86/mm/fault.c:1388 [inline] handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x271/0x740 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0010:do_strncpy_from_user lib/strncpy_from_user.c:41 [inline] RIP: 0010:strncpy_from_user+0x170/0x370 lib/strncpy_from_user.c:139 Code: 4c 89 ee e8 92 5f 56 fd 49 83 fd 07 0f 86 a2 00 00 00 4c 89 7c 24 08 48 c7 44 24 10 f8 ff ff ff 45 31 e4 4c 89 f5 48 8b 04 24 <4e> 8b 3c 20 48 b8 ff fe fe fe fe fe fe fe 49 8d 1c 07 4d 89 fe 49 RSP: 0018:ffffc90003017c98 EFLAGS: 00050246 RAX: 0000000020000000 RBX: 00007ffffffff000 RCX: ffff888052705940 RDX: ffffc9000baa3000 RSI: 0000000000000fe0 RDI: 0000000000000007 RBP: ffff88807aad1120 R08: ffffffff842a010e R09: 0000000000001000 R10: ffff888011dec500 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000fe0 R14: ffff88807aad1120 R15: 0000000000000fe0 getname_flags+0xf5/0x4e0 fs/namei.c:149 do_sys_openat2+0xd2/0x500 fs/open.c:1247 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0b75330d69 RSP: 002b:00007f0b738820c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0b7545f050 RCX: 00007f0b75330d69 RDX: 0000000000200002 RSI: 0000000020000000 RDI: ffffffffffffffff RBP: 00007f0b7537d49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f0b7545f050 R15: 00007ffcf0b7a3f8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3262: #0: ffff88814b668098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 5 locks held by syz-executor.0/961: #0: ffff88807ebed9f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2cb/0x380 fs/file.c:1088 #1: ffff88801d1f4460 (sb_writers#31){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 fs/read_write.c:590 #2: ffff8880606283a0 (&sb->s_type->i_mutex_key#38){+.+.}-{3:3}, at: inode_trylock include/linux/fs.h:809 [inline] #2: ffff8880606283a0 (&sb->s_type->i_mutex_key#38){+.+.}-{3:3}, at: ntfs_file_write_iter+0x1ca/0x540 fs/ntfs3/file.c:1125 #3: ffff888060628540 (mapping.invalidate_lock#18){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline] #3: ffff888060628540 (mapping.invalidate_lock#18){.+.+}-{3:3}, at: filemap_fault+0x708/0x1470 mm/filemap.c:3081 #4: ffff888060628100 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1098 [inline] #4: ffff888060628100 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:724 2 locks held by syz-executor.0/968: #0: ffff888060628540 (mapping.invalidate_lock#18){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline] #0: ffff888060628540 (mapping.invalidate_lock#18){.+.+}-{3:3}, at: filemap_fault+0x8df/0x1470 mm/filemap.c:3096 #1: ffff888060628100 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1098 [inline] #1: ffff888060628100 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:724 4 locks held by syz-executor.3/3071: #0: ffff88804ce70ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x63/0x1070 net/bluetooth/hci_core.c:1737 #1: ffff88804ce70078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x431/0x1070 net/bluetooth/hci_core.c:1782 #2: ffffffff8db30de8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1522 [inline] #2: ffffffff8db30de8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb8/0x220 net/bluetooth/hci_conn.c:1622 #3: ffffffff8c9240a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #3: ffffffff8c9240a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.158-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+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4151 Comm: kworker/u4:7 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: phy144 ieee80211_iface_work RIP: 0010:_compound_head include/linux/page-flags.h:198 [inline] RIP: 0010:PageActive include/linux/page-flags.h:352 [inline] RIP: 0010:__PageSlabPfmemalloc include/linux/page-flags.h:812 [inline] RIP: 0010:pfmemalloc_match_unsafe mm/slub.c:2824 [inline] RIP: 0010:___slab_alloc+0x1cf/0xe10 mm/slub.c:2926 Code: 02 00 00 4c 8b 24 24 0f 85 90 08 00 00 41 89 ed f7 c3 00 02 00 00 0f 84 ab fe ff ff fb 41 89 ed e9 a2 fe ff ff 49 8b 44 24 08 01 0f 85 2d 07 00 00 4c 89 e0 48 83 38 ff 49 8b 7c 24 08 0f 84 RSP: 0018:ffffc900030a74d8 EFLAGS: 00000246 RAX: ffffea00009373c0 RBX: ffff8880b9a3ddb0 RCX: 0000000000000000 RDX: 0000000000000002 RSI: 0000000000000b20 RDI: ffff888011c41780 RBP: 00000000ffffffff R08: ffff8880b9a3ddb0 R09: ffffffff898d5651 R10: 0000000000000005 R11: ffff88805ca85940 R12: ffffea00008c2940 R13: 00000000ffffffff R14: ffffffff7fff0000 R15: ffff888011c41780 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab6c450208 CR3: 0000000075ed5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] __kmalloc+0x1c9/0x300 mm/slub.c:4403 kmalloc include/linux/slab.h:596 [inline] kzalloc include/linux/slab.h:721 [inline] cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2464 [inline] cfg80211_inform_bss_frame_data+0x4f8/0x20f0 net/wireless/scan.c:2525 ieee80211_bss_info_update+0x7a6/0xc80 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1123 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline] ieee80211_ibss_rx_queued_mgmt+0x175e/0x2af0 net/mac80211/ibss.c:1643 ieee80211_iface_process_skb net/mac80211/iface.c:1441 [inline] ieee80211_iface_work+0x78f/0xcc0 net/mac80211/iface.c:1495 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300