INFO: task syz.4.714:7504 blocked for more than 143 seconds. Not tainted 5.15.165-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.714 state:D stack:27064 pid: 7504 ppid: 6245 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 filemap_invalidate_lock_shared include/linux/fs.h:844 [inline] filemap_fault+0x708/0x1470 mm/filemap.c:3081 __do_fault+0x139/0x340 mm/memory.c:3898 do_shared_fault mm/memory.c:4288 [inline] do_fault mm/memory.c:4366 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x275d/0x5950 mm/memory.c:4854 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x7f698ed978fc RSP: 002b:00007ffcb434c0b8 EFLAGS: 00010246 RAX: 00000000200000c0 RBX: 0000000000000004 RCX: 8000000000000010 RDX: 0000000000000010 RSI: 00007f698e8560da RDI: 00000000200000c0 RBP: 00007ffcb434c188 R08: 00007f698ec56000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000009 R12: 0000000000000032 R13: 00007ffcb434c1b0 R14: 00007ffcb434c1d0 R15: fffffffffffffffe INFO: task syz.4.714:7507 blocked for more than 143 seconds. Not tainted 5.15.165-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.714 state:D stack:27616 pid: 7507 ppid: 6245 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165 filemap_invalidate_lock include/linux/fs.h:834 [inline] blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 vfs_fallocate+0x54a/0x6b0 fs/open.c:308 madvise_remove mm/madvise.c:928 [inline] madvise_vma mm/madvise.c:992 [inline] do_madvise+0x1302/0x3470 mm/madvise.c:1207 __do_sys_madvise mm/madvise.c:1233 [inline] __se_sys_madvise mm/madvise.c:1231 [inline] __x64_sys_madvise+0xa1/0xb0 mm/madvise.c:1231 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:0x7f698edcfe79 RSP: 002b:00007f698d20a038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f698ef6c130 RCX: 00007f698edcfe79 RDX: 0000000000000009 RSI: 0000000000c00304 RDI: 0000000020000000 RBP: 00007f698ee3d93e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f698ef6c130 R15: 00007ffcb434bf58 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3321: #0: ffff88814b05a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000249b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:10/4003: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003527d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by syz.1.355/5740: 3 locks held by syz.3.659/7271: 2 locks held by syz.4.714/7504: #0: ffff88807d493228 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline] #0: ffff88807d493228 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1298 [inline] #0: ffff88807d493228 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1445 [inline] #0: ffff88807d493228 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x181/0x700 arch/x86/mm/fault.c:1501 #1: ffff88814084f338 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline] #1: ffff88814084f338 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_fault+0x708/0x1470 mm/filemap.c:3081 1 lock held by syz.4.714/7507: #0: ffff88814084f338 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff88814084f338 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x25e/0x4e0 block/fops.c:600 1 lock held by syz.4.1079/9173: #0: ffffffff8c9241a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffffffff8c9241a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 1 lock held by syz.2.1087/9209: #0: ffffffff8c9241a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8c9241a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 2 locks held by syz.0.1091/9218: #0: ffff88801bc14918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff88801bbfe468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3656 Comm: kworker/u4:7 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: phy40 ieee80211_iface_work RIP: 0010:_ieee802_11_parse_elems_crc+0x893/0x3020 net/mac80211/util.c:1100 Code: e8 f2 98 b3 f7 4c 8b 65 10 4c 89 ef 48 c7 c6 b0 04 c7 8d e8 3f 9d b3 f7 31 c0 84 c0 0f 85 dc 11 00 00 42 ff 24 ed a8 c3 97 8b c8 98 b3 f7 48 8b 9c 24 40 02 00 00 48 89 d8 48 c1 e8 03 49 be RSP: 0018:ffffc90003227480 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000008b RDX: 000000000000002b RSI: ffffffff8dc704b0 RDI: 0000000000000000 RBP: ffffc900032277e8 R08: 0000000000000001 R09: ffffffff89ccc8c1 R10: 000000000000002b R11: ffff88801e41bb80 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88801ff7c074 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0d83301710 CR3: 00000000548b0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee802_11_parse_elems_crc+0xc6a/0x1130 net/mac80211/util.c:1498 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2240 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x380/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:287