overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. INFO: task segctord:22185 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. segctord D30320 22185 2 0x80000000 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 nilfs_transaction_lock+0x1fb/0x8b0 fs/nilfs2/segment.c:362 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2479 [inline] nilfs_segctor_thread+0x3c0/0xf50 fs/nilfs2/segment.c:2563 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Showing all locks held in the system: 2 locks held by kworker/1:0/19: #0: 000000003f3a89ef ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000062588957 ((work_completion)(&m->wq)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 3 locks held by kworker/u4:1/23: #0: 000000003a9081d6 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) overlayfs: './file0' not a directory #1: 0000000075f44366 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000d1f9029f (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 1 lock held by khungtaskd/1558: #0: 00000000e7963682 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7800: #0: 000000009069ef87 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by syz-executor.4/30559: #0: 00000000e88e99e1 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: 00000000e88e99e1 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667 2 locks held by agetty/10012: #0: 00000000894ff4a1 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000005e8b0147 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 6 locks held by syz-executor.0/22180: 1 lock held by segctord/22185: #0: 00000000bb767d69 (&nilfs->ns_segctor_sem){++++}, at: nilfs_transaction_lock+0x1fb/0x8b0 fs/nilfs2/segment.c:362 1 lock held by syz-executor.5/24745: #0: 00000000e88e99e1 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: 00000000e88e99e1 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 2 locks held by kworker/1:5/25543: audit: type=1800 audit(1667816549.791:1768): pid=29475 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="bus" dev="sda1" ino=14033 res=0 #0: 00000000397896e1 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 29492 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 handle_userfault.cold+0x3b/0x4a fs/userfaultfd.c:443 do_anonymous_page+0x13bd/0x1be0 mm/memory.c:3304 handle_pte_fault mm/memory.c:4173 [inline] __handle_mm_fault+0x227a/0x41c0 mm/memory.c:4299 handle_mm_fault+0x436/0xb10 mm/memory.c:4336 __do_page_fault+0x68e/0xd60 arch/x86/mm/fault.c:1412 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:181 Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 0f 01 cb 83 RSP: 0018:ffff88803ead7998 EFLAGS: 00050206 RAX: ffffed1012c31600 RBX: 0000000000001000 RCX: 0000000000001000 RDX: 0000000000001000 RSI: 0000000020ffd000 RDI: ffff88809618a000 RBP: 0000000020ffd000 R08: 0000000000000001 R09: ffffed1012c315ff R10: ffff88809618afff R11: 0000000000000000 R12: 0000000020ffe000 R13: ffff88809618a000 R14: 00007ffffffff000 R15: 0000000000000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:71 [inline] _copy_from_user+0xfc/0x130 lib/usercopy.c:13 copy_from_user include/linux/uaccess.h:147 [inline] __mcopy_atomic mm/userfaultfd.c:569 [inline] mcopy_atomic+0x1658/0x2510 mm/userfaultfd.c:608 userfaultfd_copy fs/userfaultfd.c:1729 [inline] userfaultfd_ioctl+0x48b/0x37f0 fs/userfaultfd.c:1882 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f77bb00c5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f77b957f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f77bb12cf80 RCX: 00007f77bb00c5a9 RDX: 00000000200000c0 RSI: 00000000c028aa03 RDI: 0000000000000003 RBP: 00007f77bb0677b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc537ca7cf R14: 00007f77b957f300 R15: 0000000000022000 #1: 000000005efda8da ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 29519 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 handle_userfault.cold+0x3b/0x4a fs/userfaultfd.c:443 do_anonymous_page+0x13bd/0x1be0 mm/memory.c:3304 handle_pte_fault mm/memory.c:4173 [inline] __handle_mm_fault+0x227a/0x41c0 mm/memory.c:4299 handle_mm_fault+0x436/0xb10 mm/memory.c:4336 __do_page_fault+0x68e/0xd60 arch/x86/mm/fault.c:1412 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 audit: type=1800 audit(1667816550.461:1769): pid=29526 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="bus" dev="sda1" ino=14033 res=0 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:181 Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 0f 01 cb 83 RSP: 0018:ffff8880387f7998 EFLAGS: 00050206 RAX: ffffed10080e4e00 RBX: 0000000000001000 RCX: 0000000000001000 RDX: 0000000000001000 RSI: 0000000020ffd000 RDI: ffff888040726000 RBP: 0000000020ffd000 R08: 0000000000000001 R09: ffffed10080e4dff R10: ffff888040726fff R11: 0000000000000000 R12: 0000000020ffe000 R13: ffff888040726000 R14: 00007ffffffff000 R15: 0000000000000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:71 [inline] _copy_from_user+0xfc/0x130 lib/usercopy.c:13 copy_from_user include/linux/uaccess.h:147 [inline] __mcopy_atomic mm/userfaultfd.c:569 [inline] mcopy_atomic+0x1658/0x2510 mm/userfaultfd.c:608 userfaultfd_copy fs/userfaultfd.c:1729 [inline] userfaultfd_ioctl+0x48b/0x37f0 fs/userfaultfd.c:1882 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efc3fbcd5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efc3e140168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efc3fcedf80 RCX: 00007efc3fbcd5a9 RDX: 00000000200000c0 RSI: 00000000c028aa03 RDI: 0000000000000003 RBP: 00007efc3fc287b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffef53dd8f R14: 00007efc3e140300 R15: 0000000000022000 1 lock held by syz-executor.0/29481: 1 lock held by syz-executor.0/29492: 1 lock held by syz-executor.1/29522: #0: 00000000c4e6f4c7 (&mm->mmap_sem){++++}, at: vm_mmap_pgoff+0x152/0x200 mm/util.c:355 5 locks held by syz-executor.1/29526: #0: 00000000c4e6f4c7 (&mm->mmap_sem){++++}, at: __do_page_fault+0x97f/0xd60 arch/x86/mm/fault.c:1348 #1: 00000000da302b7e (&ctx->lock){-.-.}, at: perf_event_context_sched_out kernel/events/core.c:3145 [inline] #1: 00000000da302b7e (&ctx->lock){-.-.}, at: __perf_event_task_sched_out+0xa49/0x1470 kernel/events/core.c:3237 #2: 00000000da302b7e (&ctx->lock){-.-.}, at: perf_event_context_sched_out kernel/events/core.c:3145 [inline] #2: 00000000da302b7e (&ctx->lock){-.-.}, at: __perf_event_task_sched_out+0xa49/0x1470 kernel/events/core.c:3237 #3: 000000004dcd9636 (tk_core.seq){----}, at: clockevents_program_event+0x141/0x350 kernel/time/clockevents.c:336 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 29543 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 handle_userfault.cold+0x3b/0x4a fs/userfaultfd.c:443 do_anonymous_page+0x13bd/0x1be0 mm/memory.c:3304 #4: 00000000ded6d3f1 (&obj_hash[i].lock){-.-.}, at: debug_object_active_state lib/debugobjects.c:725 [inline] #4: 00000000ded6d3f1 (&obj_hash[i].lock){-.-.}, at: debug_object_active_state+0x104/0x330 lib/debugobjects.c:713 4 locks held by syz-executor.3/29543: handle_pte_fault mm/memory.c:4173 [inline] __handle_mm_fault+0x227a/0x41c0 mm/memory.c:4299 handle_mm_fault+0x436/0xb10 mm/memory.c:4336 __do_page_fault+0x68e/0xd60 arch/x86/mm/fault.c:1412 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:181 Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 0f 01 cb 83 RSP: 0018:ffff88803a437998 EFLAGS: 00050206 RAX: ffffed100aa32600 RBX: 0000000000001000 RCX: 0000000000001000 RDX: 0000000000001000 RSI: 0000000020ffd000 RDI: ffff888055192000 RBP: 0000000020ffd000 R08: 0000000000000001 R09: ffffed100aa325ff R10: ffff888055192fff R11: 0000000000000000 R12: 0000000020ffe000 R13: ffff888055192000 R14: 00007ffffffff000 R15: 0000000000000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:71 [inline] _copy_from_user+0xfc/0x130 lib/usercopy.c:13 copy_from_user include/linux/uaccess.h:147 [inline] __mcopy_atomic mm/userfaultfd.c:569 [inline] mcopy_atomic+0x1658/0x2510 mm/userfaultfd.c:608 userfaultfd_copy fs/userfaultfd.c:1729 [inline] userfaultfd_ioctl+0x48b/0x37f0 fs/userfaultfd.c:1882 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efc3fbcd5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efc3e140168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efc3fcedf80 RCX: 00007efc3fbcd5a9 RDX: 00000000200000c0 RSI: 00000000c028aa03 RDI: 0000000000000003 RBP: 00007efc3fc287b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffef53dd8f R14: 00007efc3e140300 R15: 0000000000022000 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1558 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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: 26467 Comm: kworker/u4:7 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy9 ieee80211_iface_work RIP: 0010:preempt_count_add+0x35/0x190 kernel/sched/core.c:3230 Code: 89 fd 53 48 c7 c3 60 37 24 8d 48 89 da 48 c1 ea 03 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 2a 01 00 00 <8b> 0d 05 c9 e2 0b 85 c9 75 07 65 8b 05 ea 70 c0 7e 48 b8 00 00 00 RSP: 0018:ffff88803cff7848 EFLAGS: 00000097 RAX: 0000000000000003 RBX: ffffffff8d243760 RCX: 0000000000000001 RDX: 0000000000000004 RSI: ffff88803cff77f0 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88803cff79ef R11: 0000000000074071 R12: ffff88803cff79d8 R13: 0000000000000000 R14: ffff88803cff7990 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f149a520000 CR3: 000000003e0af000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x135/0x1400 arch/x86/kernel/unwind_orc.c:407 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x126/0x1f0 mm/kasan/kasan.c:521 __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 kfree_skbmem+0xc1/0x140 net/core/skbuff.c:595 __kfree_skb net/core/skbuff.c:655 [inline] kfree_skb+0x127/0x3d0 net/core/skbuff.c:672 ieee80211_iface_work+0x289/0x8a0 net/mac80211/iface.c:1353 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)