INFO: task syz.7.607:5934 blocked for more than 143 seconds. Not tainted 5.15.176-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.607 state:D stack:25752 pid: 5934 ppid: 5376 flags:0x00004006 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 io_schedule+0x88/0x100 kernel/sched/core.c:8481 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 lock_page include/linux/pagemap.h:625 [inline] pickup_page_for_submission fs/erofs/zdata.c:1135 [inline] z_erofs_submit_queue fs/erofs/zdata.c:1306 [inline] z_erofs_runqueue+0x788/0x1a80 fs/erofs/zdata.c:1367 z_erofs_readahead+0xc9a/0x1280 fs/erofs/zdata.c:1459 read_pages+0x159/0x8e0 mm/readahead.c:130 page_cache_ra_unbounded+0x7b0/0x930 mm/readahead.c:239 do_page_cache_ra mm/readahead.c:269 [inline] force_page_cache_ra+0x378/0x3e0 mm/readahead.c:301 force_page_cache_readahead mm/internal.h:78 [inline] generic_fadvise+0x5ba/0x8b0 mm/fadvise.c:107 vfs_fadvise mm/fadvise.c:186 [inline] ksys_fadvise64_64 mm/fadvise.c:200 [inline] __do_sys_fadvise64 mm/fadvise.c:215 [inline] __se_sys_fadvise64 mm/fadvise.c:213 [inline] __x64_sys_fadvise64+0x138/0x180 mm/fadvise.c:213 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:0x7f073743ad29 RSP: 002b:00007f07352ab038 EFLAGS: 00000246 ORIG_RAX: 00000000000000dd RAX: ffffffffffffffda RBX: 00007f073762afa0 RCX: 00007f073743ad29 RDX: 0000000000100015 RSI: 0000000000e0ffff RDI: 0000000000000006 RBP: 00007f07374b6b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f073762afa0 R15: 00007ffe60c46ac8 INFO: task syz.7.607:5939 blocked for more than 143 seconds. Not tainted 5.15.176-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.607 state:D stack:25008 pid: 5939 ppid: 5376 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 io_schedule+0x88/0x100 kernel/sched/core.c:8481 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 wait_on_page_bit mm/filemap.c:1417 [inline] wait_on_page_locked include/linux/pagemap.h:688 [inline] wait_on_page_read mm/filemap.c:3437 [inline] do_read_cache_page+0x9c1/0x1040 mm/filemap.c:3480 read_mapping_page include/linux/pagemap.h:515 [inline] find_target_block_classic fs/erofs/namei.c:104 [inline] erofs_namei+0x15e/0x1700 fs/erofs/namei.c:184 erofs_lookup+0x1c0/0x460 fs/erofs/namei.c:228 lookup_open fs/namei.c:3440 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0x111d/0x2f20 fs/namei.c:3739 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_open_execat+0x165/0x7b0 fs/exec.c:918 bprm_execve+0x51f/0x17c0 fs/exec.c:1827 do_execveat_common+0x583/0x720 fs/exec.c:1957 do_execveat fs/exec.c:2038 [inline] __do_sys_execveat fs/exec.c:2112 [inline] __se_sys_execveat fs/exec.c:2106 [inline] __x64_sys_execveat+0xc0/0xe0 fs/exec.c:2106 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:0x7f073743ad29 RSP: 002b:00007f073528a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000142 RAX: ffffffffffffffda RBX: 00007f073762b080 RCX: 00007f073743ad29 RDX: 0000000000000000 RSI: 0000000020000140 RDI: ffffffffffffff9c RBP: 00007f07374b6b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f073762b080 R15: 00007ffe60c46ac8 Showing all locks held in the system: 3 locks held by kworker/u4:0/9: 1 lock held by khungtaskd/27: #0: ffffffff8cb1fce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/1:3/2359: 2 locks held by getty/3926: #0: ffff88802cb34098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025ae2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 6 locks held by kworker/0:4/4212: #0: ffff88801c935d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000319fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888024bf3220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888024bf3220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5769 #3: ffff88805bf0a220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff88805bf0a220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 #4: ffff8880242bf1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff8880242bf1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 #5: ffffffff8c9d0150 (umhelper_sem){++++}-{3:3}, at: usermodehelper_read_trylock+0x138/0x360 kernel/umh.c:217 2 locks held by kworker/1:8/4217: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900031efd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by syz.0.55/4397: #0: ffff88807e52c0e0 (&type->s_umount_key#64){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz.7.607/5934: #0: ffff888059c00da0 (mapping.invalidate_lock#7){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline] #0: ffff888059c00da0 (mapping.invalidate_lock#7){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x1a6/0x930 mm/readahead.c:195 2 locks held by syz.7.607/5939: #0: ffff88801c2ea5c0 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: prepare_bprm_creds fs/exec.c:1479 [inline] #0: ffff88801c2ea5c0 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: bprm_execve+0xc8/0x17c0 fs/exec.c:1820 #1: ffff888059c00c00 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #1: ffff888059c00c00 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3531 [inline] #1: ffff888059c00c00 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x815/0x2f20 fs/namei.c:3739 3 locks held by kworker/1:11/6289: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000356fd20 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8cb241b0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 2 locks held by syz-executor/6963: #0: ffff8880210d3d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff8880211c1468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4249 Comm: kworker/u4:6 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: phy20 ieee80211_iface_work RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:168 [inline] RIP: 0010:unwind_next_frame+0x1f3/0x1fa0 arch/x86/kernel/unwind_orc.c:448 Code: 72 14 24 0b 00 44 0f 45 f1 41 8d 46 ff 39 e8 0f 86 a7 15 00 00 89 e8 48 8d 1c 85 68 26 17 8f 48 89 d8 48 c1 e8 03 0f b6 04 10 <84> c0 0f 85 3d 17 00 00 44 8b 23 89 e8 ff c0 48 8d 1c 85 68 26 17 RSP: 0018:ffffc9000328f0e8 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffffffff8f3a5a18 RCX: 000000000009807f RDX: dffffc0000000000 RSI: ffffffff89ccec7e RDI: ffffffff8138a9ab RBP: 000000000008ccec R08: 0000000000000004 R09: ffffc9000328f290 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000651e3a R13: ffffffff89ccec7d R14: 000000000009807f R15: ffffc9000328f1a0 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555657525c8 CR3: 0000000073dd0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc+0x168/0x300 mm/slub.c:4407 kmalloc include/linux/slab.h:596 [inline] kzalloc include/linux/slab.h:721 [inline] cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2491 [inline] cfg80211_inform_bss_frame_data+0x4f8/0x20f0 net/wireless/scan.c:2552 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:1456 [inline] ieee80211_iface_work+0x78f/0xcc0 net/mac80211/iface.c:1510 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