INFO: task syz-executor.1:8457 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23928 pid: 8457 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 wb_wait_for_completion+0x17b/0x230 fs/fs-writeback.c:209 __writeback_inodes_sb_nr+0x1d7/0x280 fs/fs-writeback.c:2471 __sync_filesystem fs/sync.c:36 [inline] sync_filesystem fs/sync.c:64 [inline] sync_filesystem+0xb2/0x260 fs/sync.c:48 ovl_sync_fs+0x107/0x170 fs/overlayfs/super.c:295 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem fs/sync.c:67 [inline] sync_filesystem+0x1b5/0x260 fs/sync.c:48 generic_shutdown_super+0x70/0x370 fs/super.c:448 kill_anon_super+0x36/0x60 fs/super.c:1055 deactivate_locked_super+0x94/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x3a3/0x530 fs/namespace.c:1118 task_work_run+0xdd/0x190 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466f67 RSP: 002b:00007ffe058bd1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000466f67 RDX: 00007ffe058bd279 RSI: 0000000000000002 RDI: 00007ffe058bd270 RBP: 00007ffe058bd270 R08: 00000000ffffffff R09: 00007ffe058bd040 R10: 0000000001fea8e3 R11: 0000000000000246 R12: 00000000004af4e4 R13: 00007ffe058be340 R14: 0000000001fea810 R15: 00007ffe058be380 INFO: task syz-executor.3:8461 blocked for more than 145 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23696 pid: 8461 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 wb_wait_for_completion+0x17b/0x230 fs/fs-writeback.c:209 sync_inodes_sb+0x1a6/0x9d0 fs/fs-writeback.c:2557 __sync_filesystem fs/sync.c:34 [inline] sync_filesystem fs/sync.c:67 [inline] sync_filesystem+0x15c/0x260 fs/sync.c:48 ovl_sync_fs+0x107/0x170 fs/overlayfs/super.c:295 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem fs/sync.c:67 [inline] sync_filesystem+0x1b5/0x260 fs/sync.c:48 generic_shutdown_super+0x70/0x370 fs/super.c:448 kill_anon_super+0x36/0x60 fs/super.c:1055 deactivate_locked_super+0x94/0x160 fs/super.c:335 deactivate_super+0xad/0xd0 fs/super.c:366 cleanup_mnt+0x3a3/0x530 fs/namespace.c:1118 task_work_run+0xdd/0x190 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466f67 RSP: 002b:00007ffe00e17ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000466f67 RDX: 00007ffe00e17db9 RSI: 0000000000000002 RDI: 00007ffe00e17db0 RBP: 00007ffe00e17db0 R08: 00000000ffffffff R09: 00007ffe00e17b80 R10: 000000000190c8e3 R11: 0000000000000246 R12: 00000000004af4e4 R13: 00007ffe00e18e80 R14: 000000000190c810 R15: 00007ffe00e18ec0 Showing all locks held in the system: 4 locks held by kworker/u4:1/24: #0: ffff888011c5d138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011c5d138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888011c5d138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888011c5d138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888011c5d138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888011c5d138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x871/0x15f0 kernel/workqueue.c:2246 #1: ffffc90000defda8 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x15f0 kernel/workqueue.c:2250 #2: ffff8881483aea40 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0xec/0x290 mm/page-writeback.c:2352 #3: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1320 [inline] #3: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x21a0 kernel/sched/core.c:4995 2 locks held by kworker/u4:3/132: #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1320 [inline] #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x21a0 kernel/sched/core.c:4995 #1: ffffc900013afda8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x15f0 kernel/workqueue.c:2250 1 lock held by khungtaskd/1658: #0: ffffffff8bd73da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259 1 lock held by in:imklog/8154: #0: ffff888021424370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by syz-executor.1/8457: #0: ffff88802fe8e0e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365 #1: ffff8881483ac0e0 (&type->s_umount_key#37){++++}-{3:3}, at: ovl_sync_fs+0xff/0x170 fs/overlayfs/super.c:294 3 locks held by syz-executor.3/8461: #0: ffff888014f9a0e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa5/0xd0 fs/super.c:365 #1: ffff8881483ac0e0 (&type->s_umount_key#37){++++}-{3:3}, at: ovl_sync_fs+0xff/0x170 fs/overlayfs/super.c:294 #2: ffff88801a6c2708 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:344 [inline] #2: ffff88801a6c2708 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x18c/0x9d0 fs/fs-writeback.c:2555 1 lock held by syz-executor.3/17052: 2 locks held by syz-executor.2/17068: 2 locks held by syz-executor.3/17077: 3 locks held by syz-executor.2/17085: 2 locks held by syz-executor.3/17090: 1 lock held by syz-executor.2/17104: 2 locks held by syz-executor.3/17165: #0: ffff8881483aea40 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0xec/0x290 mm/page-writeback.c:2352 #1: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1320 [inline] #1: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x21a0 kernel/sched/core.c:4995 1 lock held by syz-executor.3/17176: 2 locks held by syz-executor.5/17186: 2 locks held by syz-executor.2/17192: 2 locks held by syz-executor.3/17194: 2 locks held by syz-executor.5/17202: 6 locks held by syz-executor.3/17215: 3 locks held by syz-executor.0/17218: 3 locks held by syz-executor.5/17225: 2 locks held by syz-executor.4/17265: #0: ffff8881483aea40 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0xec/0x290 mm/page-writeback.c:2352 #1: ffff8881483b88e0 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf81/0x1380 fs/jbd2/transaction.c:444 2 locks held by syz-executor.5/17284: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1658 Comm: khungtaskd Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 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:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10638 Comm: kworker/u4:8 Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:53 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:158 [inline] RIP: 0010:check_memory_region_inline mm/kasan/generic.c:176 [inline] RIP: 0010:check_memory_region+0x41/0x180 mm/kasan/generic.c:185 Code: 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 05 01 00 00 49 83 e9 01 48 89 fd 48 b8 00 00 00 00 00 fc ff df <4d> 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d RSP: 0018:ffffc9000131f3b8 EFLAGS: 00000292 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff8158ce61 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8da38a48 RBP: ffffffff8da38a48 R08: 0000000000000000 R09: ffffffff8da38a4f R10: ffffffff8196856b R11: 0000000000000000 R12: ffffffff8bd73da0 R13: 1ffff92000263e01 R14: ffffc9000131f4d8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb5e792000 CR3: 0000000012c44000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:373 [inline] trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xa1/0x710 kernel/locking/lockdep.c:5453 rcu_lock_release include/linux/rcupdate.h:264 [inline] rcu_read_unlock include/linux/rcupdate.h:702 [inline] find_get_entry+0x26c/0x570 mm/filemap.c:1718 pagecache_get_page+0x5e/0x1460 mm/filemap.c:1794 find_get_page_flags include/linux/pagemap.h:341 [inline] __find_get_block_slow fs/buffer.c:202 [inline] __find_get_block fs/buffer.c:1328 [inline] __find_get_block+0x4b7/0xd30 fs/buffer.c:1322 __getblk_gfp+0x28/0x70 fs/buffer.c:1350 sb_getblk_gfp include/linux/buffer_head.h:332 [inline] __read_extent_tree_block+0xcf/0x5e0 fs/ext4/extents.c:498 ext4_find_extent+0x4d5/0xd00 fs/ext4/extents.c:885 ext4_ext_map_blocks+0x1e2/0x5fb0 fs/ext4/extents.c:4054 ext4_map_blocks+0x653/0x17d0 fs/ext4/inode.c:637 ext4_convert_unwritten_extents+0x2db/0x5b0 fs/ext4/extents.c:4760 ext4_convert_unwritten_io_end_vec+0x122/0x270 fs/ext4/extents.c:4799 ext4_end_io_end fs/ext4/page-io.c:184 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:257 [inline] ext4_end_io_rsv_work+0x2b3/0x660 fs/ext4/page-io.c:271 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296