INFO: task syz-executor.0:14333 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 BTRFS info (device loop3): enabling inode map caching "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. BTRFS info (device loop3): trying to use backup root at mount time syz-executor.0 D28416 14333 12746 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 BTRFS info (device loop3): use zlib compression, level 3 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794 BTRFS info (device loop3): enabling ssd optimizations BTRFS info (device loop3): using spread ssd allocation scheme do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common+0x29c/0x470 kernel/sched/completion.c:115 BTRFS info (device loop3): using free space tree BTRFS info (device loop3): has skinny extents __flush_work+0x4bb/0x8b0 kernel/workqueue.c:2926 __cancel_work_timer+0x412/0x590 kernel/workqueue.c:3013 p9_conn_destroy net/9p/trans_fd.c:904 [inline] p9_fd_close+0x305/0x520 net/9p/trans_fd.c:934 p9_client_create+0x901/0x12e0 net/9p/client.c:1084 v9fs_session_init+0x1dd/0x1770 fs/9p/v9fs.c:421 v9fs_mount+0x73/0x910 fs/9p/vfs_super.c:135 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f828181f0c9 Code: Bad RIP value. RSP: 002b:00007f827fd91168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f828193ef80 RCX: 00007f828181f0c9 RDX: 0000000020000080 RSI: 0000000020000300 RDI: 0000000000000000 RBP: 00007f828187aae9 R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1871f8df R14: 00007f827fd91300 R15: 0000000000022000 Showing all locks held in the system: audit: type=1800 audit(1674403007.441:160): pid=20217 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="loop3" ino=263 res=0 2 locks held by kworker/1:0/19: #0: 00000000b75c7a65 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000003f97b7aa ((work_completion)(&m->wq)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 4 locks held by kworker/u4:2/37: 1 lock held by khungtaskd/1567: audit: type=1800 audit(1674403007.491:161): pid=20297 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="loop3" ino=263 res=0 #0: 0000000035ca8590 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7927: #0: 00000000d008eea0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by kworker/0:4/9379: #0: 000000001964b02a ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000984d2340 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 3 locks held by kworker/u4:10/12649: #0: 00000000fc023b4b ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000000d9d9e88 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000053dd1b94 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 1 lock held by syz-executor.3/14975: #0: 00000000afacd3b9 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: 00000000afacd3b9 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 2 locks held by syz-executor.5/20255: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1567 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20255 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:rcu_lockdep_current_cpu_online+0x14/0x1b0 kernel/rcu/tree.c:1074 Code: 72 23 47 00 eb 8e 48 c7 c7 34 e1 26 8b e8 64 23 47 00 eb cd 66 90 65 8b 05 d9 a0 b0 7e a9 00 00 10 00 75 0a 8b 05 b0 a1 d5 09 <85> c0 75 06 b8 01 00 00 00 c3 41 55 bf 01 00 00 00 41 54 55 53 48 RSP: 0018:ffff888033ecf878 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffffff8a45f160 RCX: ffffffff81518c83 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880ba122ad0 RBP: ffff888044b1e3c0 R08: 0000000000000000 R09: ffffed101742455a R10: ffff8880ba122ad3 R11: 0000000000000000 R12: ffffea0001cd31c8 R13: 0000000000000000 R14: ffff88813be824c0 R15: ffffea0001cd3188 FS: 00007f87f8f26700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f96a2ae0020 CR3: 00000000459fb000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_sched_held+0xd3/0x1d0 kernel/rcu/update.c:115 trace_mm_lru_insertion include/trace/events/pagemap.h:28 [inline] __pagevec_lru_add_fn+0xe46/0x13c0 mm/swap.c:918 pagevec_lru_move_fn+0x10d/0x270 mm/swap.c:210 __pagevec_lru_add mm/swap.c:927 [inline] __lru_cache_add+0x1c4/0x2c0 mm/swap.c:405 shmem_getpage_gfp+0x210e/0x37f0 mm/shmem.c:1847 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0xff/0x1e0 mm/shmem.c:2446 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f87fa965e4f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f87f8f25f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f87fa965e4f RDX: 0000000004000000 RSI: 00007f87f0b06000 RDI: 0000000000000003 RBP: 00007f87f0b06000 R08: 0000000000000000 R09: 000000000001059f R10: 0000000004000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f87f8f25fdc R14: 00007f87f8f25fe0 R15: 0000000020020c42