gfs2: not a GFS2 filesystem INFO: task syz-executor2:7399 blocked for more than 140 seconds. Not tainted 5.0.0-rc3+ #43 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D20440 7399 1 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3472 schedule+0xfe/0x350 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:757 [inline] vfs_unlink+0xd1/0x500 fs/namei.c:3990 do_unlinkat+0x52a/0x9e0 fs/namei.c:4062 __do_sys_unlink fs/namei.c:4109 [inline] __se_sys_unlink fs/namei.c:4107 [inline] __x64_sys_unlink+0x42/0x50 fs/namei.c:4107 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457de7 Code: Bad RIP value. RSP: 002b:00007fff5eb665f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000457de7 RDX: 00007fff5eb66610 RSI: 00007fff5eb66610 RDI: 00007fff5eb666a0 RBP: 000000000000088e R08: 0000000000000000 R09: 000000000000000b R10: 0000000000000005 R11: 0000000000000246 R12: 00007fff5eb67730 R13: 00000000022e7940 R14: 0000000000000000 R15: 0000000000000002 Showing all locks held in the system: 1 lock held by khungtaskd/1040: #0: 000000009dd8d190 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389 1 lock held by udevd/3866: 1 lock held by rsyslogd/7996: #0: 00000000173ec046 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795 2 locks held by getty/8086: #0: 00000000c96a557a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000054c0cc07 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8087: #0: 000000005b2bd199 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004b68d25a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8088: #0: 000000002d74d4f2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000007db062c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8089: #0: 00000000183b9317 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000103e7e4c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8090: #0: 00000000fd26c777 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002a3c8cf0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8091: #0: 000000008c2e2648 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000dc760d8c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8092: #0: 00000000140ce822 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004d0f21ff (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 3 locks held by syz-executor2/7399: #0: 00000000a1c07737 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 00000000a1c07737 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:357 #1: 00000000691a4d03 (&type->i_mutex_dir_key#3/1){+.+.}, at: inode_lock_nested include/linux/fs.h:792 [inline] #1: 00000000691a4d03 (&type->i_mutex_dir_key#3/1){+.+.}, at: do_unlinkat+0x394/0x9e0 fs/namei.c:4048 #2: 00000000110bf628 (&sb->s_type->i_mutex_key#9){++++}, at: inode_lock include/linux/fs.h:757 [inline] #2: 00000000110bf628 (&sb->s_type->i_mutex_key#9){++++}, at: vfs_unlink+0xd1/0x500 fs/namei.c:3990 3 locks held by syz-executor2/25295: #0: 0000000093d05e60 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795 #1: 00000000a1c07737 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2815 [inline] #1: 00000000a1c07737 (sb_writers#3){.+.+}, at: vfs_write+0x429/0x580 fs/read_write.c:548 #2: 00000000110bf628 (&sb->s_type->i_mutex_key#9){++++}, at: inode_trylock include/linux/fs.h:777 [inline] #2: 00000000110bf628 (&sb->s_type->i_mutex_key#9){++++}, at: ext4_file_write_iter+0x28b/0x1410 fs/ext4/file.c:232 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1040 Comm: khungtaskd Not tainted 5.0.0-rc3+ #43 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+0x1db/0x2d0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0xbbb/0x1170 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.054 msecs NMI backtrace for cpu 1 CPU: 1 PID: 8179 Comm: kworker/u4:5 Not tainted 5.0.0-rc3+ #43 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:mark_lock+0x1f/0x1cd0 kernel/locking/lockdep.c:3029 Code: 00 66 2e 0f 1f 84 00 00 00 00 00 55 4c 8d 4e 20 41 89 d0 49 89 fa 48 ba 00 00 00 00 00 fc ff df 48 89 e5 41 57 44 89 c1 41 56 <4c> 8d 7d d8 41 be 01 00 00 00 41 55 41 d3 e6 41 54 49 89 f4 53 48 RSP: 0018:ffff8880583773e0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000008 RDX: dffffc0000000000 RSI: ffff88805836cf50 RDI: ffff88805836c680 RBP: ffff8880583773f0 R08: 0000000000000008 R09: ffff88805836cf70 R10: ffff88805836c680 R11: ffff88805cb12fb8 R12: ffff88805836c680 R13: ffff88805836cf72 R14: 0000000000000001 R15: 000000000000058e FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c42e873540 CR3: 0000000097f39000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x572/0x4a30 kernel/locking/lockdep.c:3299 lock_acquire+0x1db/0x570 kernel/locking/lockdep.c:3841 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x33/0x50 kernel/locking/spinlock.c:168 spin_lock_bh include/linux/spinlock.h:334 [inline] batadv_purge_orig_ref+0x1cb/0x13c0 net/batman-adv/originator.c:1360 batadv_purge_orig+0x1b/0x70 net/batman-adv/originator.c:1389 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352