EXT4-fs (sda1): re-mounted. Opts: auto_da_alloc=0x0000000000000000,inode_readahead_blks=0x0000000000000000,data_err=abort,,errors=continue INFO: task syz-executor2:9065 blocked for more than 140 seconds. Not tainted 4.18.0-rc8+ #181 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D24216 9065 4429 0x00000004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3501 schedule+0xfb/0x450 kernel/sched/core.c:3545 __rwsem_down_write_failed_common+0x95d/0x1630 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xaa/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:715 [inline] chmod_common+0x1b1/0x590 fs/open.c:546 do_fchmodat+0xc3/0x160 fs/open.c:590 __do_sys_chmod fs/open.c:608 [inline] __se_sys_chmod fs/open.c:606 [inline] __x64_sys_chmod+0x5c/0x80 fs/open.c:606 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456d89 Code: 08 00 01 48 8b 3d 87 08 00 01 49 89 c8 48 29 d9 48 c1 e9 0d 48 39 f9 73 2e 48 8b 0c ce 48 85 c9 74 09 48 8b 59 18 49 39 d8 73 <05> 4c 89 c1 eb 90 48 8b 99 80 00 00 00 49 39 d8 73 ef 0f b6 49 64 RSP: 002b:00007fb74ca58c78 EFLAGS: 00000246 ORIG_RAX: 000000000000005a RAX: ffffffffffffffda RBX: 00007fb74ca596d4 RCX: 0000000000456d89 RDX: 0000000000000000 RSI: 00000000ffffff8c RDI: 0000000020000400 RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cada8 R14: 00000000004c24bf R15: 0000000000000001 INFO: task syz-executor2:9066 blocked for more than 140 seconds. Not tainted 4.18.0-rc8+ #181 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D23912 9066 4429 0x00000004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x87c/0x1ec0 kernel/sched/core.c:3501 schedule+0xfb/0x450 kernel/sched/core.c:3545 __rwsem_down_write_failed_common+0x95d/0x1630 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xaa/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:715 [inline] lock_mount+0x8c/0x2e0 fs/namespace.c:2088 do_add_mount+0x27/0x370 fs/namespace.c:2465 do_new_mount fs/namespace.c:2532 [inline] do_mount+0x193f/0x30e0 fs/namespace.c:2848 ksys_mount+0x12d/0x140 fs/namespace.c:3064 __do_sys_mount fs/namespace.c:3078 [inline] __se_sys_mount fs/namespace.c:3075 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x456d89 Code: 08 00 01 48 8b 3d 87 08 00 01 49 89 c8 48 29 d9 48 c1 e9 0d 48 39 f9 73 2e 48 8b 0c ce 48 85 c9 74 09 48 8b 59 18 49 39 d8 73 <05> 4c 89 c1 eb 90 48 8b 99 80 00 00 00 49 39 d8 73 ef 0f b6 49 64 RSP: 002b:00007fb74ca37c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb74ca386d4 RCX: 0000000000456d89 RDX: 0000000020000900 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00000000009301e0 R08: 0000000020000380 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d1f90 R14: 00000000004c76c6 R15: 0000000000000002 Showing all locks held in the system: 1 lock held by khungtaskd/774: #0: 00000000b749ec1b (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 4 locks held by rs:main Q:Reg/4291: 1 lock held by rsyslogd/4293: #0: 00000000fbd9ec7b (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/4384: #0: 000000006b0d7099 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000820177f7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4385: #0: 00000000a7e5b895 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000003834b7b1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4386: #0: 000000001f2558c8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000c9d1741d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4387: #0: 00000000a287cbc8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000043b6057f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4388: #0: 00000000204b6919 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000393df939 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4389: #0: 0000000012d4aac7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000a777f625 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4390: #0: 0000000047ca1779 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000500391d8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor2/9002: #0: 00000000c6742a73 (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1554 [inline] #0: 00000000c6742a73 (sb_writers#23){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 0000000054bac110 (&sb->s_type->i_mutex_key#25){++++}, at: inode_lock include/linux/fs.h:715 [inline] #1: 0000000054bac110 (&sb->s_type->i_mutex_key#25){++++}, at: chmod_common+0x1b1/0x590 fs/open.c:546 2 locks held by syz-executor2/9065: #0: 00000000c6742a73 (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1554 [inline] #0: 00000000c6742a73 (sb_writers#23){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:386 #1: 0000000054bac110 (&sb->s_type->i_mutex_key#25){++++}, at: inode_lock include/linux/fs.h:715 [inline] #1: 0000000054bac110 (&sb->s_type->i_mutex_key#25){++++}, at: chmod_common+0x1b1/0x590 fs/open.c:546 1 lock held by syz-executor2/9066: #0: 0000000054bac110 (&sb->s_type->i_mutex_key#25){++++}, at: inode_lock include/linux/fs.h:715 [inline] #0: 0000000054bac110 (&sb->s_type->i_mutex_key#25){++++}, at: lock_mount+0x8c/0x2e0 fs/namespace.c:2088 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 774 Comm: khungtaskd Not tainted 4.18.0-rc8+ #181 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x9c4/0xf80 kernel/hung_task.c:252 kthread+0x345/0x410 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4291 Comm: rs:main Q:Reg Not tainted 4.18.0-rc8+ #181 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:778 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:800 [inline] RIP: 0010:lock_release+0xdb/0xa30 kernel/locking/lockdep.c:3939 Code: f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 04 07 00 00 45 8b 87 34 08 00 00 45 85 c0 0f 85 0d 04 00 00 48 c7 c7 a0 b0 f1 87 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f RSP: 0018:ffff8801b2dd5bf8 EFLAGS: 00000046 RAX: 0000000000000007 RBX: 1ffff100365bab84 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff87f1b0a0 RBP: ffff8801b2dd5d28 R08: 0000000000000000 R09: fffff94000ca1ebe R10: fffff94000ca1ebe R11: ffffea000650f5f7 R12: ffff8801b2dd5d00 R13: ffff88021fffae78 R14: ffffed00365babfa R15: ffff8801b28fe380 FS: 00007fbeae7ed700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002425000 CR3: 00000001b2802000 CR4: 00000000001406f0 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock+0x1a/0x30 kernel/locking/spinlock.c:176 spin_unlock include/linux/spinlock.h:350 [inline] rmqueue mm/page_alloc.c:3005 [inline] get_page_from_freelist+0x2e60/0x4620 mm/page_alloc.c:3342 __alloc_pages_nodemask+0x63e/0xdb0 mm/page_alloc.c:4369 __alloc_pages include/linux/gfp.h:456 [inline] __alloc_pages_node include/linux/gfp.h:469 [inline] kmem_getpages mm/slab.c:1409 [inline] cache_grow_begin+0x91/0x710 mm/slab.c:2677 cache_alloc_refill mm/slab.c:3044 [inline] ____cache_alloc mm/slab.c:3127 [inline] __do_cache_alloc mm/slab.c:3349 [inline] slab_alloc mm/slab.c:3384 [inline] kmem_cache_alloc+0x689/0x760 mm/slab.c:3552 mempool_alloc_slab+0x44/0x60 mm/mempool.c:504 mempool_alloc+0x193/0x4b0 mm/mempool.c:384 bvec_alloc+0x12a/0x2d0 block/bio.c:216 bio_alloc_bioset+0x46e/0x6f0 block/bio.c:507 bio_alloc include/linux/bio.h:438 [inline] io_submit_init_bio fs/ext4/page-io.c:374 [inline] io_submit_add_bh fs/ext4/page-io.c:399 [inline] ext4_bio_write_page+0xb1d/0x157e fs/ext4/page-io.c:506 mpage_submit_page+0x15d/0x270 fs/ext4/inode.c:2207 mpage_process_page_bufs+0x50c/0x600 fs/ext4/inode.c:2318 mpage_prepare_extent_to_map+0x90a/0x1130 fs/ext4/inode.c:2680 ext4_writepages+0x1429/0x4080 fs/ext4/inode.c:2807 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2341 __filemap_fdatawrite_range+0x364/0x4a0 mm/filemap.c:445 file_write_and_wait_range+0x98/0x100 mm/filemap.c:753 ext4_sync_file+0x2d6/0x1490 fs/ext4/fsync.c:128 vfs_fsync_range+0x140/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2709 [inline] ext4_file_write_iter+0x6a3/0x1430 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1793 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6c6/0x9f0 fs/read_write.c:487 vfs_write+0x1f8/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbeb024b19d Code: d1 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 be fa ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 07 fb ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fbeae7ebf90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000400 RCX: 00007fbeb024b19d RDX: 0000000000000400 RSI: 0000000002416a90 RDI: 0000000000000005 RBP: 0000000002416a90 R08: 000000000245fb20 R09: 00007fbeafbc93f0 R10: 3120392020677541 R11: 0000000000000293 R12: 0000000000000000 R13: 00007fbeae7ec410 R14: 000000000245fb20 R15: 0000000002416890 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.415 msecs