INFO: task syz-executor.3:16105 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26448 pid:16105 ppid: 8444 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4695 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:6026 schedule+0xd3/0x270 kernel/sched/core.c:6105 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2249 do_new_mount_fc fs/namespace.c:2866 [inline] do_new_mount fs/namespace.c:2925 [inline] path_mount+0x14f0/0x1fc0 fs/namespace.c:3253 do_mount fs/namespace.c:3266 [inline] __do_sys_mount fs/namespace.c:3474 [inline] __se_sys_mount fs/namespace.c:3451 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3451 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007f1967b2e188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000020000200 RSI: 0000000020000000 RDI: 0000000001005200 RBP: 00000000004bfcc4 R08: 0000000020000240 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffd3beb2d0f R14: 00007f1967b2e300 R15: 0000000000022000 INFO: task syz-executor.3:16127 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28328 pid:16127 ppid: 8444 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4695 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:6026 schedule+0xd3/0x270 kernel/sched/core.c:6105 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:784 [inline] open_last_lookups fs/namei.c:3297 [inline] path_openat+0x14d4/0x27f0 fs/namei.c:3504 do_filp_open+0x1aa/0x400 fs/namei.c:3534 do_sys_openat2+0x16d/0x420 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1231 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 RSP: 002b:00007f1967b0d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020002040 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffd3beb2d0f R14: 00007f1967b0d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1562: #0: ffffffff8b97c280 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 3 locks held by kworker/u4:5/3062: #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:474 [inline] #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #0: ffff8880b9c51b18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x233/0x26f0 kernel/sched/core.c:5940 #1: ffff8880b9c1f9c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x16a/0x480 kernel/sched/psi.c:871 #2: ffffffff8b97c280 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:402 [inline] #2: ffffffff8b97c280 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xf3/0xe50 net/batman-adv/network-coding.c:715 2 locks held by in:imklog/8149: #0: ffff888016660870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 #1: ffffffff8b96b2d8 (syslog_lock){....}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:474 [inline] #1: ffffffff8b96b2d8 (syslog_lock){....}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #1: ffffffff8b96b2d8 (syslog_lock){....}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #1: ffffffff8b96b2d8 (syslog_lock){....}-{2:2}, at: __schedule+0x233/0x26f0 kernel/sched/core.c:5940 1 lock held by syz-executor.3/16094: #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: open_last_lookups fs/namei.c:3297 [inline] #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: path_openat+0x14d4/0x27f0 fs/namei.c:3504 1 lock held by syz-executor.3/16105: #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2249 1 lock held by syz-executor.3/16127: #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: open_last_lookups fs/namei.c:3297 [inline] #0: ffff88808affcd58 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: path_openat+0x14d4/0x27f0 fs/namei.c:3504 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1562 Comm: khungtaskd Not tainted 5.14.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:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd0a/0xfc0 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.14.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:kasan_check_range+0x134/0x180 mm/kasan/generic.c:190 Code: 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b b8 01 00 00 00 5d 41 5c 44 89 c2 e8 73 f0 ff ff 5b 83 f0 01 5d 41 5c c3 48 29 c3 48 89 RSP: 0018:ffffc90000cd7ba0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff9200019af77 RCX: ffffffff815b29b8 RDX: fffffbfff1ad903b RSI: 0000000000000008 RDI: ffffffff8d6c81d0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8d6c81d7 R10: fffffbfff1ad903a R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8b97c280 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f43340ae000 CR3: 000000000b68e000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:344 [inline] cpu_online include/linux/cpumask.h:895 [inline] trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xb8/0x510 kernel/locking/lockdep.c:5596 rcu_lock_acquire include/linux/rcupdate.h:267 [inline] rcu_read_lock include/linux/rcupdate.h:687 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0x12d/0xe50 net/batman-adv/network-coding.c:715 process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 85 d2 test %edx,%edx 2: 75 0b jne 0xf 4: 48 89 da mov %rbx,%rdx 7: 48 29 c2 sub %rax,%rdx a: e9 55 ff ff ff jmpq 0xffffff64 f: 49 39 d2 cmp %rdx,%r10 12: 75 17 jne 0x2b 14: 49 0f be 02 movsbq (%r10),%rax 18: 41 83 e1 07 and $0x7,%r9d 1c: 49 39 c1 cmp %rax,%r9 1f: 7d 0a jge 0x2b 21: 5b pop %rbx 22: b8 01 00 00 00 mov $0x1,%eax 27: 5d pop %rbp 28: 41 5c pop %r12 * 2a: c3 retq <-- trapping instruction 2b: 44 89 c2 mov %r8d,%edx 2e: e8 73 f0 ff ff callq 0xfffff0a6 33: 5b pop %rbx 34: 83 f0 01 xor $0x1,%eax 37: 5d pop %rbp 38: 41 5c pop %r12 3a: c3 retq 3b: 48 29 c3 sub %rax,%rbx 3e: 48 rex.W 3f: 89 .byte 0x89