INFO: task syz-executor0:11157 blocked for more than 140 seconds. Not tainted 5.0.0-rc2+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25496 11157 8118 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_nested+0xa9/0x130 kernel/locking/rwsem.c:195 inode_lock_nested include/linux/fs.h:792 [inline] filename_create+0x1a8/0x5a0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xcf/0x2f0 fs/namei.c:3831 __do_sys_mkdir fs/namei.c:3855 [inline] __se_sys_mkdir fs/namei.c:3853 [inline] __x64_sys_mkdir+0x5c/0x80 fs/namei.c:3853 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: Bad RIP value. RSP: 002b:00007f6b78cf5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000458099 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6b78cf66d4 R13: 00000000004bd827 R14: 00000000004d6bf8 R15: 00000000ffffffff INFO: task syz-executor0:11163 blocked for more than 140 seconds. Not tainted 5.0.0-rc2+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D27064 11163 8118 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_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x360/0x6d0 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+0x4a/0x80 fs/namei.c:1687 walk_component+0x8e5/0x26a0 fs/namei.c:1810 link_path_walk.part.0+0xa57/0x1550 fs/namei.c:2141 link_path_walk fs/namei.c:2072 [inline] path_parentat.isra.0+0x51/0x160 fs/namei.c:2366 filename_parentat.isra.0+0x268/0x580 fs/namei.c:2388 filename_create+0xbd/0x5a0 fs/namei.c:3618 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xcf/0x2f0 fs/namei.c:3831 __do_sys_mkdir fs/namei.c:3855 [inline] __se_sys_mkdir fs/namei.c:3853 [inline] __x64_sys_mkdir+0x5c/0x80 fs/namei.c:3853 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: Bad RIP value. RSP: 002b:00007f6b78cd4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000458099 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6b78cd56d4 R13: 00000000004bd827 R14: 00000000004d6bf8 R15: 00000000ffffffff INFO: task syz-executor0:11166 blocked for more than 140 seconds. Not tainted 5.0.0-rc2+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D27416 11166 8118 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_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x360/0x6d0 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+0x4a/0x80 fs/namei.c:1687 walk_component+0x8e5/0x26a0 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.0+0x1f5/0xba0 fs/namei.c:2318 filename_lookup+0x27a/0x530 fs/namei.c:2348 user_path_at_empty+0x43/0x50 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] path_listxattr+0xac/0x190 fs/xattr.c:638 __do_sys_listxattr fs/xattr.c:653 [inline] __se_sys_listxattr fs/xattr.c:650 [inline] __x64_sys_listxattr+0x78/0xb0 fs/xattr.c:650 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: Bad RIP value. RSP: 002b:00007f6b78cb3c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458099 RDX: ffffffffffffff6c RSI: 00000000200003c0 RDI: 0000000020000200 RBP: 000000000073c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6b78cb46d4 R13: 00000000004be86f R14: 00000000004d69a0 R15: 00000000ffffffff INFO: task syz-executor0:11173 blocked for more than 140 seconds. Not tainted 5.0.0-rc2+ #30 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D26952 11173 8118 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_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x360/0x6d0 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+0x4a/0x80 fs/namei.c:1687 walk_component+0x8e5/0x26a0 fs/namei.c:1810 link_path_walk.part.0+0xa57/0x1550 fs/namei.c:2141 link_path_walk fs/namei.c:2269 [inline] path_lookupat.isra.0+0xe3/0xba0 fs/namei.c:2317 filename_lookup+0x27a/0x530 fs/namei.c:2348 user_path_at_empty+0x43/0x50 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xcc/0x230 fs/xattr.c:464 __do_sys_setxattr fs/xattr.c:484 [inline] __se_sys_setxattr fs/xattr.c:480 [inline] __x64_sys_setxattr+0xc4/0x150 fs/xattr.c:480 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: Bad RIP value. RSP: 002b:00007f6b78c92c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000458099 RDX: 0000000020000380 RSI: 00000000200001c0 RDI: 0000000020000140 RBP: 000000000073c180 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000034 R11: 0000000000000246 R12: 00007f6b78c936d4 R13: 00000000004be8cc R14: 00000000004dafa8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1040: #0: 0000000036900779 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/7991: #0: 00000000d5d5ccaf (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795 2 locks held by getty/8080: #0: 000000005e12233e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000094944ce7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8081: #0: 00000000f3aa0e73 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004f2c99a6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8082: #0: 00000000ad26c27e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e4badc14 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8083: #0: 000000004879ed49 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000077a7ea69 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8084: #0: 000000006a4876ac (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002cb036b1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8085: #0: 000000003351f80b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e6d35f68 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8086: #0: 0000000088e4448a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000fe7777cd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 3 locks held by syz-executor0/11150: 2 locks held by syz-executor0/11157: #0: 000000009102b53c (sb_writers#16){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 000000009102b53c (sb_writers#16){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:357 #1: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25/1){+.+.}, at: inode_lock_nested include/linux/fs.h:792 [inline] #1: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25/1){+.+.}, at: filename_create+0x1a8/0x5a0 fs/namei.c:3635 1 lock held by syz-executor0/11163: #0: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25){.+.+}, at: inode_lock_shared include/linux/fs.h:767 [inline] #0: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25){.+.+}, at: lookup_slow+0x4a/0x80 fs/namei.c:1687 1 lock held by syz-executor0/11166: #0: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25){.+.+}, at: inode_lock_shared include/linux/fs.h:767 [inline] #0: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25){.+.+}, at: lookup_slow+0x4a/0x80 fs/namei.c:1687 1 lock held by syz-executor0/11173: #0: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25){.+.+}, at: inode_lock_shared include/linux/fs.h:767 [inline] #0: 00000000eb8e2ba3 (&sb->s_type->i_mutex_key#25){.+.+}, at: lookup_slow+0x4a/0x80 fs/namei.c:1687 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1040 Comm: khungtaskd Not tainted 5.0.0-rc2+ #30 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: NMI backtrace for cpu 1 CPU: 1 PID: 638 Comm: kworker/u4:3 Not tainted 5.0.0-rc2+ #30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:761 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:783 [inline] RIP: 0010:__local_bh_disable_ip+0x4f/0x1b0 kernel/softirq.c:116 Code: 92 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 2d 01 00 00 48 83 3d e1 4c 45 08 00 0f 84 12 01 00 00 9c 58 <0f> 1f 44 00 00 48 c7 c2 b8 80 92 89 49 89 c5 48 b8 00 00 00 00 00 RSP: 0018:ffff8880a86a7750 EFLAGS: 00000286 RAX: 0000000000000286 RBX: 0000000000000201 RCX: ffffffff87d2b85b RDX: dffffc0000000000 RSI: 0000000000000201 RDI: ffffffff87d2b617 RBP: ffff8880a86a7768 R08: ffff8880a86ec040 R09: ffff8880a86ec908 R10: ffff8880a86ec040 R11: 0000000000000000 R12: ffffffff87d2b617 R13: ffffed10150d4f04 R14: 000000000000001a R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e42ba9000 CR3: 00000000a097d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock_bh+0x17/0x50 kernel/locking/spinlock.c:168 spin_lock_bh include/linux/spinlock.h:334 [inline] batadv_nc_purge_paths+0x167/0x530 net/batman-adv/network-coding.c:453 batadv_nc_worker+0x3e3/0x920 net/batman-adv/network-coding.c:733 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