INFO: task syz-executor.1:9957 blocked for more than 143 seconds. Not tainted 5.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29272 pid: 9957 ppid: 8443 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_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:583 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007fdb40bd3188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000000 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffff6c058ef R14: 00007fdb40bd3300 R15: 0000000000022000 INFO: task syz-executor.1:9966 blocked for more than 143 seconds. Not tainted 5.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28512 pid: 9966 ppid: 8443 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:0x465b09 RSP: 002b:00007fdb40bb2188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465b09 RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 00000000004b069f R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffff6c058ef R14: 00007fdb40bb2300 R15: 0000000000022000 INFO: task syz-executor.1:9989 blocked for more than 143 seconds. Not tainted 5.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29696 pid: 9989 ppid: 8443 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_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:583 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007fdb40b70188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 000000000056c200 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000000 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c200 R13: 00007ffff6c058ef R14: 00007fdb40b70300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/0:1/7: 2 locks held by kworker/u4:1/24: 1 lock held by khungtaskd/1649: #0: ffffffff8c711680 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8145: #0: ffff88801da70870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:947 2 locks held by syz-executor.1/9951: 2 locks held by syz-executor.1/9957: #0: ffff888063314460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:354 #1: ffff888066870150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888066870150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x148/0x310 fs/xattr.c:290 1 lock held by syz-executor.1/9966: #0: ffff888066870150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888066870150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2198 2 locks held by syz-executor.1/9989: #0: ffff888063314460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:354 #1: ffff888066870150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888066870150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x148/0x310 fs/xattr.c:290 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1649 Comm: khungtaskd Not tainted 5.11.0-rc7-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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 24 Comm: kworker/u4:1 Not tainted 5.11.0-rc7-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_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:319 [inline] RIP: 0010:rcu_is_watching+0x41/0xb0 kernel/rcu/tree.c:1113 Code: 73 74 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 60 d6 7d 8b 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 ff 0b 57 00 <48> c7 c3 a8 56 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 8a 04 38 84 RSP: 0018:ffffc90000defb58 EFLAGS: 00000246 RAX: 1ffffffff16fbacd RBX: 0000000000000001 RCX: ffff888011e0b780 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1b6731e R10: fffffbfff1b6731e R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8b7dd668 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3456362020 CR3: 0000000021ed5000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:106 [inline] rcu_read_lock_sched_held+0x23/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_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0xc8/0x5c0 net/batman-adv/network-coding.c:715 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