INFO: task syz.1.972:9377 blocked for more than 163 seconds. Not tainted 6.11.0-rc6-syzkaller-00363-g89f5e14d05b4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.972 state:D stack:26480 pid:9377 tgid:9377 ppid:8840 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 io_schedule+0xbf/0x130 kernel/sched/core.c:7401 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1307 __folio_lock mm/filemap.c:1645 [inline] folio_lock include/linux/pagemap.h:1050 [inline] folio_lock include/linux/pagemap.h:1046 [inline] __filemap_get_folio+0x6ab/0xae0 mm/filemap.c:1898 filemap_lock_folio include/linux/pagemap.h:690 [inline] filemap_lock_hugetlb_folio include/linux/hugetlb.h:795 [inline] hugetlb_fault+0x1605/0x27f0 mm/hugetlb.c:6531 handle_mm_fault+0x956/0xa60 mm/memory.c:5830 do_user_addr_fault+0x60d/0x13f0 arch/x86/mm/fault.c:1338 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f7a39744998 RSP: 002b:00007ffe6c9b1408 EFLAGS: 00010246 RAX: 0000000020000640 RBX: 0000000000000004 RCX: 006b6e696c766564 RDX: 0000000000000008 RSI: 006b6e696c766564 RDI: 0000000020000640 RBP: 00007f7a39937a80 R08: 00007f7a39600000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000009 R12: 00000000000a6945 R13: 00007ffe6c9b1510 R14: 0000000000000032 R15: fffffffffffffffe INFO: task syz.1.972:9379 blocked for more than 164 seconds. Not tainted 6.11.0-rc6-syzkaller-00363-g89f5e14d05b4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.972 state:D stack:26920 pid:9379 tgid:9377 ppid:8840 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 hugetlb_wp+0x1e16/0x2980 mm/hugetlb.c:6027 hugetlb_fault+0x1f64/0x27f0 mm/hugetlb.c:6579 handle_mm_fault+0x956/0xa60 mm/memory.c:5830 do_user_addr_fault+0x7a3/0x13f0 arch/x86/mm/fault.c:1389 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:58 Code: 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 <48> 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb RSP: 0018:ffffc900033b7c48 EFLAGS: 00050246 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000008 RDX: fffff52000676f98 RSI: ffffc900033b7cb8 RDI: 0000000020020938 RBP: 0000000020020938 R08: 0000000000000000 R09: fffff52000676f97 R10: ffffc900033b7cbf R11: 0000000000000000 R12: ffffc900033b7cb8 R13: 0000000020020940 R14: 0000000000000000 R15: 0000000020019680 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:131 [inline] _inline_copy_to_user include/linux/uaccess.h:181 [inline] _copy_to_user+0xac/0xc0 lib/usercopy.c:26 copy_to_user include/linux/uaccess.h:209 [inline] msr_read+0x155/0x250 arch/x86/kernel/msr.c:69 vfs_read+0x1d4/0xbd0 fs/read_write.c:474 ksys_read+0x12f/0x260 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7a3977cef9 RSP: 002b:00007f7a3a61b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f7a39935f80 RCX: 00007f7a3977cef9 RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000004 RBP: 00007f7a397ef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7a39935f80 R15: 00007ffe6c9b12a8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 2 locks held by kworker/u8:8/1300: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90004657d80 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 2 locks held by getty/4980: #0: ffff88802eb100a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:3/5274: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90004087d80 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffffffff8ddc5640 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4486 3 locks held by syz.1.972/9377: #0: ffff888026e3b070 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:694 [inline] #0: ffff888026e3b070 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x1e2/0x8f0 mm/memory.c:5998 #1: ffff8880216b02a8 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x313/0x27f0 mm/hugetlb.c:6451 #2: ffff88807f4f44e8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read mm/hugetlb.c:275 [inline] #2: ffff88807f4f44e8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read+0x105/0x140 mm/hugetlb.c:266 2 locks held by syz.1.972/9379: #0: ffff88801dfaf398 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline] #0: ffff88801dfaf398 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5878 [inline] #0: ffff88801dfaf398 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:5929 #1: ffff8880216b02a8 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x1e16/0x2980 mm/hugetlb.c:6027 2 locks held by syz.2.1273/10319: #0: ffff888030132148 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:694 [inline] #0: ffff888030132148 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x1e2/0x8f0 mm/memory.c:5998 #1: ffff8880216b02a8 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x313/0x27f0 mm/hugetlb.c:6451 2 locks held by syz.2.1447/10746: #0: ffff888062065d18 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:694 [inline] #0: ffff888062065d18 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x1e2/0x8f0 mm/memory.c:5998 #1: ffff8880216b02a8 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x313/0x27f0 mm/hugetlb.c:6451 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc6-syzkaller-00363-g89f5e14d05b4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 61 Comm: kworker/u8:4 Not tainted 6.11.0-rc6-syzkaller-00363-g89f5e14d05b4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:lock_release+0x3e5/0x6f0 kernel/locking/lockdep.c:5767 Code: 7e 83 f8 01 0f 85 fd 01 00 00 9c 58 f6 c4 02 0f 85 e8 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 c7 43 08 00 00 00 00 48 8b 84 24 88 RSP: 0018:ffffc900015c78c0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 1ffff920002b8f1a RCX: ffffc900015c7910 RDX: 1ffff110042578da RSI: ffffffff8b4cda40 RDI: ffffffff8bb0fb80 RBP: 6743cf5c7b7b5c01 R08: 0000000000000000 R09: fffffbfff2028983 R10: ffffffff90144c1f R11: 0000000000000000 R12: 0000000000000003 R13: 0000000000000004 R14: ffff8880212bc6d8 R15: ffff8880212bbc00 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f794ecfe338 CR3: 00000000322b8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x1a/0x80 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x328/0x600 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:2223 [inline] slab_free mm/slub.c:4477 [inline] kmem_cache_free+0x26f/0x3a0 mm/slub.c:4552 skb_kfree_head net/core/skbuff.c:1082 [inline] skb_kfree_head net/core/skbuff.c:1079 [inline] skb_free_head+0x18a/0x1d0 net/core/skbuff.c:1096 skb_release_data+0x75c/0x980 net/core/skbuff.c:1123 skb_release_all net/core/skbuff.c:1188 [inline] __kfree_skb net/core/skbuff.c:1202 [inline] sk_skb_reason_drop+0x133/0x200 net/core/skbuff.c:1240 kfree_skb_reason include/linux/skbuff.h:1260 [inline] kfree_skb include/linux/skbuff.h:1269 [inline] ieee80211_iface_work+0x437/0xf00 net/mac80211/iface.c:1644 cfg80211_wiphy_work+0x445/0x760 net/wireless/core.c:440 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389 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