INFO: task syz-executor0:5734 blocked for more than 140 seconds. Not tainted 4.20.0-rc1+ #101 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D18568 5734 1 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x371/0x710 kernel/locking/rwsem-xadd.c:297 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x9b/0x120 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:767 [inline] lookup_slow+0x49/0x80 fs/namei.c:1687 walk_component+0x92b/0x2590 fs/namei.c:1810 link_path_walk.part.40+0xa61/0x1530 fs/namei.c:2141 link_path_walk fs/namei.c:2072 [inline] path_openat+0x270/0x5150 fs/namei.c:3533 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455570 Code: Bad RIP value. RSP: 002b:00007ffd442e9b60 EFLAGS: 00000206 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455570 RDX: 0000000000000000 RSI: 0000000000090800 RDI: 00000000004bc2ae RBP: 0000000000000aa3 R08: 0000000000000001 R09: 0000000001ba9940 R10: 0000000000000000 R11: 0000000000000206 R12: 000000000000000d R13: 000000000008def4 R14: 0000000000000333 R15: 0000000000000000 INFO: task syz-executor0:24032 blocked for more than 140 seconds. Not tainted 4.20.0-rc1+ #101 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24632 24032 5734 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xc9a/0x15e0 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] do_last fs/namei.c:3321 [inline] path_openat+0x15c4/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x9d/0x100 fs/open.c:1084 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fdc05e2bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000002761 RSI: 0000000020000480 RDI: ffffffffffffffff RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc05e2c6d4 R13: 00000000004c2d83 R14: 00000000004d4648 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1009: #0: 000000005a99e2a8 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5604: #0: 00000000f1b901f6 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5695: #0: 000000002168a0ab (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000f37e93ee (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5696: #0: 000000003b3953b0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000012d1045 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5697: #0: 00000000c26e9aa9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008e1043d4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5698: #0: 00000000af8bfd35 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000005e11dc0c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5699: #0: 00000000c51cc0e1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000f72b2f47 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5700: #0: 000000000644b4af (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001859e842 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5701: #0: 0000000095287983 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000000eee8795 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 1 lock held by syz-executor0/5734: #0: 00000000fa981553 (&sb->s_type->i_mutex_key#20){++++}, at: inode_lock_shared include/linux/fs.h:767 [inline] #0: 00000000fa981553 (&sb->s_type->i_mutex_key#20){++++}, at: lookup_slow+0x49/0x80 fs/namei.c:1687 2 locks held by kworker/1:4/8105: #0: 0000000075247de7 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:209 [inline] #0: 0000000075247de7 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000075247de7 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 0000000075247de7 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 0000000075247de7 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 0000000075247de7 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 0000000075247de7 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb43/0x1c40 kernel/workqueue.c:2124 #1: 000000000c160770 ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9a/0x1c40 kernel/workqueue.c:2128 4 locks held by syz-executor0/23993: 2 locks held by syz-executor0/24032: #0: 00000000a023316c (sb_writers#12){.+.+}, at: sb_start_write include/linux/fs.h:1597 [inline] #0: 00000000a023316c (sb_writers#12){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 00000000fa981553 (&sb->s_type->i_mutex_key#20){++++}, at: inode_lock include/linux/fs.h:757 [inline] #1: 00000000fa981553 (&sb->s_type->i_mutex_key#20){++++}, at: do_last fs/namei.c:3321 [inline] #1: 00000000fa981553 (&sb->s_type->i_mutex_key#20){++++}, at: path_openat+0x15c4/0x5150 fs/namei.c:3534 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1009 Comm: khungtaskd Not tainted 4.20.0-rc1+ #101 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+0x244/0x39d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1e8/0x22a 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb51/0x1060 kernel/hung_task.c:289 kthread+0x35a/0x440 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.377 msecs NMI backtrace for cpu 1 CPU: 1 PID: 23993 Comm: syz-executor0 Not tainted 4.20.0-rc1+ #101 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_off+0x132/0x2b0 kernel/locking/lockdep.c:2832 Code: 00 00 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 e1 00 00 00 48 8d bb 48 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 1a 01 00 00 8b 83 48 08 00 00 RSP: 0018:ffff88018208eba0 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: ffff8801cd120240 RCX: 0000000000000000 RDX: 1ffff10039a24151 RSI: 0000000000000000 RDI: ffff8801cd120a88 RBP: ffff88018208ebb8 R08: ffff8801cd120240 R09: fffff94000e8ac2e R10: fffff94000e8ac2e R11: ffffea0007456177 R12: ffff8801cd120240 R13: ffffffff81e05cdd R14: ffffffff81e05cdd R15: dffffc0000000000 FS: 00007fdc05e6e700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001c09b9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_off+0xb8/0x310 kernel/trace/trace_preemptirq.c:43 lookup_bh_lru fs/buffer.c:1259 [inline] __find_get_block+0x14d/0xf20 fs/buffer.c:1290 __getblk_slow fs/buffer.c:1039 [inline] __getblk_gfp+0x2b3/0xd50 fs/buffer.c:1320 __bread_gfp+0x2d/0x310 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] fat__get_entry+0x5a6/0xa40 fs/fat/dir.c:101 fat_get_entry fs/fat/dir.c:129 [inline] fat_search_long+0x33b/0x1570 fs/fat/dir.c:479 vfat_find+0x16d/0x1a0 fs/fat/namei_vfat.c:697 vfat_lookup+0x107/0x640 fs/fat/namei_vfat.c:711 lookup_open+0x72e/0x1b90 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x15e4/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x9d/0x100 fs/open.c:1084 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdc05e6dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000002761 RSI: 0000000020000480 RDI: ffffffffffffffff RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc05e6e6d4 R13: 00000000004c2d83 R14: 00000000004d4648 R15: 00000000ffffffff