INFO: task syz-executor.0:20658 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29272 pid:20658 ppid: 8434 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] vfs_setxattr+0x148/0x310 fs/xattr.c:290 setxattr+0x125/0x240 fs/xattr.c:553 path_setxattr+0x109/0x1c0 fs/xattr.c:572 __do_sys_lsetxattr fs/xattr.c:594 [inline] __se_sys_lsetxattr fs/xattr.c:590 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:590 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466019 RSP: 002b:00007f390f79f188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000466019 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000020000080 RBP: 00000000004bd067 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007fff12185d8f R14: 00007f390f79f300 R15: 0000000000022000 INFO: task syz-executor.0:20686 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27800 pid:20686 ppid: 8434 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2198 do_new_mount_fc fs/namespace.c:2824 [inline] do_new_mount fs/namespace.c:2883 [inline] path_mount+0x20d1/0x2a00 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466019 RSP: 002b:00007f390f75d188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c158 RCX: 0000000000466019 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004bd067 R08: 0000000020000300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c158 R13: 00007fff12185d8f R14: 00007f390f75d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1639: #0: ffffffff8c7118c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8119: #0: ffff888024d1b9f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:947 3 locks held by syz-executor.0/20648: 2 locks held by syz-executor.0/20658: #0: ffff88801d8b4460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:354 #1: ffff88807d2f8150 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff88807d2f8150 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: vfs_setxattr+0x148/0x310 fs/xattr.c:290 1 lock held by syz-executor.0/20686: #0: ffff88807d2f8150 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff88807d2f8150 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1639 Comm: khungtaskd Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xce9/0xd30 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 36 Comm: kworker/u4:2 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_lockdep_current_cpu_online+0x31/0x130 kernel/rcu/tree.c:1161 Code: 65 8b 0d ee 80 9d 7e b0 01 f7 c1 00 00 f0 00 0f 85 e3 00 00 00 83 3d 81 76 4f 0c 00 0f 84 d6 00 00 00 65 83 05 cb 80 9d 7e 01 8a e9 e7 07 89 c3 83 f8 08 0f 83 cd 00 00 00 49 bf 00 00 00 00 RSP: 0018:ffffc90000e1fae8 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000080000001 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1b67c86 R10: fffffbfff1b67c86 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f348bcbb000 CR3: 0000000027306000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:110 [inline] rcu_read_lock_sched_held+0x2c/0xb0 kernel/rcu/update.c:121 trace_lock_acquire+0x6b/0x180 include/trace/events/lock.h:13 lock_acquire+0x39/0x5e0 kernel/locking/lockdep.c:5413 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:259 rcu_read_lock include/linux/rcupdate.h:648 [inline] batadv_nc_process_nc_paths+0xc6/0x380 net/batman-adv/network-coding.c:683 batadv_nc_worker+0x3ee/0x5c0 net/batman-adv/network-coding.c:724 process_one_work+0x789/0xfc0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296