INFO: task syz-executor.2:27987 can't die for more than 143 seconds. task:syz-executor.2 state:D stack:27376 pid:27987 ppid: 6562 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 schedule+0xd2/0x260 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 filemap_invalidate_lock include/linux/fs.h:828 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:625 vfs_fallocate+0x48d/0xe10 fs/open.c:307 madvise_remove mm/madvise.c:958 [inline] madvise_vma_behavior+0x9ca/0x1fa0 mm/madvise.c:981 madvise_walk_vmas mm/madvise.c:1206 [inline] do_madvise mm/madvise.c:1384 [inline] do_madvise+0x3d6/0x660 mm/madvise.c:1342 __do_sys_madvise mm/madvise.c:1397 [inline] __se_sys_madvise mm/madvise.c:1395 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1395 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0c636e0ae9 RSP: 002b:00007f0c60c56188 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f0c637f3f60 RCX: 00007f0c636e0ae9 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f0c6373af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcca58598f R14: 00007f0c60c56300 R15: 0000000000022000 INFO: task syz-executor.2:27987 blocked for more than 144 seconds. Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27376 pid:27987 ppid: 6562 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 schedule+0xd2/0x260 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 filemap_invalidate_lock include/linux/fs.h:828 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:625 vfs_fallocate+0x48d/0xe10 fs/open.c:307 madvise_remove mm/madvise.c:958 [inline] madvise_vma_behavior+0x9ca/0x1fa0 mm/madvise.c:981 madvise_walk_vmas mm/madvise.c:1206 [inline] do_madvise mm/madvise.c:1384 [inline] do_madvise+0x3d6/0x660 mm/madvise.c:1342 __do_sys_madvise mm/madvise.c:1397 [inline] __se_sys_madvise mm/madvise.c:1395 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1395 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0c636e0ae9 RSP: 002b:00007f0c60c56188 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f0c637f3f60 RCX: 00007f0c636e0ae9 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f0c6373af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcca58598f R14: 00007f0c60c56300 R15: 0000000000022000 INFO: task syz-executor.0:28015 can't die for more than 144 seconds. task:syz-executor.0 state:D stack:29080 pid:28015 ppid: 10127 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 schedule+0xd2/0x260 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 filemap_invalidate_lock include/linux/fs.h:828 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:625 vfs_fallocate+0x48d/0xe10 fs/open.c:307 madvise_remove mm/madvise.c:958 [inline] madvise_vma_behavior+0x9ca/0x1fa0 mm/madvise.c:981 madvise_walk_vmas mm/madvise.c:1206 [inline] do_madvise mm/madvise.c:1384 [inline] do_madvise+0x3d6/0x660 mm/madvise.c:1342 __do_sys_madvise mm/madvise.c:1397 [inline] __se_sys_madvise mm/madvise.c:1395 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1395 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7feba22b0ae9 RSP: 002b:00007feb9f805188 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007feba23c4020 RCX: 00007feba22b0ae9 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007feba230af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedbc8524f R14: 00007feb9f805300 R15: 0000000000022000 INFO: task syz-executor.0:28015 blocked for more than 145 seconds. Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29080 pid:28015 ppid: 10127 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 schedule+0xd2/0x260 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 filemap_invalidate_lock include/linux/fs.h:828 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:625 vfs_fallocate+0x48d/0xe10 fs/open.c:307 madvise_remove mm/madvise.c:958 [inline] madvise_vma_behavior+0x9ca/0x1fa0 mm/madvise.c:981 madvise_walk_vmas mm/madvise.c:1206 [inline] do_madvise mm/madvise.c:1384 [inline] do_madvise+0x3d6/0x660 mm/madvise.c:1342 __do_sys_madvise mm/madvise.c:1397 [inline] __se_sys_madvise mm/madvise.c:1395 [inline] __x64_sys_madvise+0xa6/0x110 mm/madvise.c:1395 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7feba22b0ae9 RSP: 002b:00007feb9f805188 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007feba23c4020 RCX: 00007feba22b0ae9 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007feba230af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedbc8524f R14: 00007feb9f805300 R15: 0000000000022000 INFO: task syz-executor.1:28019 can't die for more than 146 seconds. task:syz-executor.1 state:R running task stack:25880 pid:28019 ppid: 10125 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 rcu_read_unlock include/linux/rcupdate.h:723 [inline] is_bpf_text_address+0x77/0x170 kernel/bpf/core.c:717 INFO: task syz-executor.1:28022 can't die for more than 147 seconds. task:syz-executor.1 state:R running task stack:24800 pid:28022 ppid: 10125 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3713 [inline] validate_chain kernel/locking/lockdep.c:3769 [inline] __lock_acquire+0x162f/0x54a0 kernel/locking/lockdep.c:5027 INFO: task syz-executor.5:28034 can't die for more than 148 seconds. task:syz-executor.5 state:D stack:28304 pid:28034 ppid: 9684 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 schedule+0xd2/0x260 kernel/sched/core.c:6366 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:996 __down_read_common kernel/locking/rwsem.c:1224 [inline] __down_read kernel/locking/rwsem.c:1233 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1476 filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] page_cache_ra_unbounded+0x1ae/0x780 mm/readahead.c:194 do_page_cache_ra mm/readahead.c:268 [inline] ondemand_readahead+0x594/0x1090 mm/readahead.c:551 page_cache_async_ra mm/readahead.c:608 [inline] page_cache_async_ra+0x436/0x6f0 mm/readahead.c:583 page_cache_async_readahead include/linux/pagemap.h:1053 [inline] do_async_mmap_readahead mm/filemap.c:3111 [inline] filemap_fault+0xb62/0x21c0 mm/filemap.c:3167 __do_fault+0x10d/0x790 mm/memory.c:3845 do_read_fault mm/memory.c:4160 [inline] do_fault mm/memory.c:4289 [inline] handle_pte_fault mm/memory.c:4547 [inline] __handle_mm_fault+0x2771/0x4170 mm/memory.c:4682 handle_mm_fault+0x1c8/0x790 mm/memory.c:4780 faultin_page mm/gup.c:939 [inline] __get_user_pages+0x522/0xfb0 mm/gup.c:1160 populate_vma_page_range+0x24d/0x330 mm/gup.c:1492 __mm_populate+0x1ea/0x3e0 mm/gup.c:1601 mm_populate include/linux/mm.h:2734 [inline] vm_mmap_pgoff+0x20e/0x290 mm/util.c:524 ksys_mmap_pgoff+0x40d/0x5a0 mm/mmap.c:1629 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f38f6478ae9 RSP: 002b:00007f38f39ee188 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f38f658bf60 RCX: 00007f38f6478ae9 RDX: 0000000001003801 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f38f64d2f6d R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc34bea1f R14: 00007f38f39ee300 R15: 0000000000022000 INFO: task syz-executor.5:28034 blocked for more than 148 seconds. Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28304 pid:28034 ppid: 9684 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4983 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6293 schedule+0xd2/0x260 kernel/sched/core.c:6366 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:996 __down_read_common kernel/locking/rwsem.c:1224 [inline] __down_read kernel/locking/rwsem.c:1233 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1476 filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] page_cache_ra_unbounded+0x1ae/0x780 mm/readahead.c:194 do_page_cache_ra mm/readahead.c:268 [inline] ondemand_readahead+0x594/0x1090 mm/readahead.c:551 page_cache_async_ra mm/readahead.c:608 [inline] page_cache_async_ra+0x436/0x6f0 mm/readahead.c:583 page_cache_async_readahead include/linux/pagemap.h:1053 [inline] do_async_mmap_readahead mm/filemap.c:3111 [inline] filemap_fault+0xb62/0x21c0 mm/filemap.c:3167 __do_fault+0x10d/0x790 mm/memory.c:3845 do_read_fault mm/memory.c:4160 [inline] do_fault mm/memory.c:4289 [inline] handle_pte_fault mm/memory.c:4547 [inline] __handle_mm_fault+0x2771/0x4170 mm/memory.c:4682 handle_mm_fault+0x1c8/0x790 mm/memory.c:4780 faultin_page mm/gup.c:939 [inline] __get_user_pages+0x522/0xfb0 mm/gup.c:1160 populate_vma_page_range+0x24d/0x330 mm/gup.c:1492 __mm_populate+0x1ea/0x3e0 mm/gup.c:1601 mm_populate include/linux/mm.h:2734 [inline] vm_mmap_pgoff+0x20e/0x290 mm/util.c:524 ksys_mmap_pgoff+0x40d/0x5a0 mm/mmap.c:1629 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f38f6478ae9 RSP: 002b:00007f38f39ee188 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f38f658bf60 RCX: 00007f38f6478ae9 RDX: 0000000001003801 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f38f64d2f6d R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc34bea1f R14: 00007f38f39ee300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83220 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by kworker/u4:3/90: 1 lock held by kswapd0/98: 1 lock held by in:imklog/6234: #0: ffff88801dba20f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.2/27987: #0: ffff888140896788 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:828 [inline] #0: ffff888140896788 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:625 1 lock held by syz-executor.0/28015: #0: ffff888140896788 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:828 [inline] #0: ffff888140896788 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:625 2 locks held by syz-executor.1/28019: 1 lock held by syz-executor.1/28022: 1 lock held by syz-executor.5/28034: #0: ffff888140896788 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff888140896788 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x1ae/0x780 mm/readahead.c:194 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x405/0x4f0 kernel/kthread.c:345 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10 Comm: kworker/u4:1 Not tainted 5.16.0-rc2-next-20211125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy7 ieee80211_iface_work RIP: 0010:write_comp_data kernel/kcov.c:221 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x18/0x70 kernel/kcov.c:294 Code: 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 c3 0f 1f 40 00 49 89 f8 bf 03 00 00 00 4c 8b 14 24 48 89 f1 65 48 8b 34 25 40 70 02 00 a3 f8 ff ff 84 c0 74 48 48 8b 86 90 15 00 00 8b b6 8c 15 00 00 RSP: 0000:ffffc90000cf7500 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888010e79d40 RSI: ffff888010e79d40 RDI: 0000000000000003 RBP: ffff8880f8b80800 R08: 0000000000000000 R09: 000000000000002e R10: ffffffff8134ed7a R11: 000000000000003f R12: 0000000078b80800 R13: 000000000000002e R14: ffff88805f459000 R15: ffff888078b80800 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f78c9a6c000 CR3: 000000007f2e7000 CR4: 00000000003506e0 Call Trace: __phys_addr+0xba/0x140 arch/x86/mm/physaddr.c:28 virt_to_head_page include/linux/mm.h:861 [inline] kasan_addr_to_page+0x20/0x70 mm/kasan/report.c:149 __kasan_record_aux_stack+0xe/0x1b0 mm/kasan/generic.c:333 kvfree_call_rcu+0x74/0x990 kernel/rcu/tree.c:3591 cfg80211_update_known_bss+0x833/0xa60 net/wireless/scan.c:1663 cfg80211_bss_update+0xef/0x2070 net/wireless/scan.c:1710 cfg80211_inform_single_bss_frame_data+0x6e8/0xee0 net/wireless/scan.c:2425 cfg80211_inform_bss_frame_data+0xa7/0xb50 net/wireless/scan.c:2458 ieee80211_bss_info_update+0x35b/0xb30 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x19cf/0x3130 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline] ieee80211_iface_work+0xa65/0xd00 net/mac80211/iface.c:1522 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2299 worker_thread+0x658/0x11f0 kernel/workqueue.c:2446 kthread+0x405/0x4f0 kernel/kthread.c:345 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 48 89 74 38 e8 mov %rsi,-0x18(%rax,%rdi,1) 5: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) a: 48 89 10 mov %rdx,(%rax) d: c3 retq e: 0f 1f 40 00 nopl 0x0(%rax) 12: 49 89 f8 mov %rdi,%r8 15: bf 03 00 00 00 mov $0x3,%edi 1a: 4c 8b 14 24 mov (%rsp),%r10 1e: 48 89 f1 mov %rsi,%rcx 21: 65 48 8b 34 25 40 70 mov %gs:0x27040,%rsi 28: 02 00 * 2a: e8 a3 f8 ff ff callq 0xfffff8d2 <-- trapping instruction 2f: 84 c0 test %al,%al 31: 74 48 je 0x7b 33: 48 8b 86 90 15 00 00 mov 0x1590(%rsi),%rax 3a: 8b b6 8c 15 00 00 mov 0x158c(%rsi),%esi