INFO: task syz-executor.2:14138 blocked for more than 143 seconds. Not tainted 5.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29616 pid:14138 ppid: 8493 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8eb/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x809/0x1220 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_nested+0x136/0x150 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:808 [inline] filename_create+0x15a/0x490 fs/namei.c:3467 user_path_create fs/namei.c:3525 [inline] do_mkdirat+0xa0/0x2d0 fs/namei.c:3665 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e149 RSP: 002b:00007fa2f452ac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045e149 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000119c060 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffce83ba46f R14: 00007fa2f452b9c0 R15: 000000000119c034 INFO: task syz-executor.2:14141 blocked for more than 143 seconds. Not tainted 5.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27768 pid:14141 ppid: 8493 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8eb/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x809/0x1220 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+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2192 do_new_mount_fc fs/namespace.c:2818 [inline] do_new_mount fs/namespace.c:2877 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3205 do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3426 [inline] __se_sys_mount fs/namespace.c:3403 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3403 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e149 RSP: 002b:00007fa2f4509c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e149 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 000000000119c120 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc R13: 00007ffce83ba46f R14: 00007fa2f450a9c0 R15: 000000000119c0dc Showing all locks held in the system: 1 lock held by khungtaskd/1651: #0: ffffffff8b78e0e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8168: #0: ffff888015d6b3b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by agetty/8408: #0: ffff88802d5d8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc9000111c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 3 locks held by syz-executor.2/14130: 2 locks held by syz-executor.2/14138: #0: ffff888063f40460 (sb_writers#19){.+.+}-{0:0}, at: filename_create+0x104/0x490 fs/namei.c:3462 #1: ffff88806663a990 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff88806663a990 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: filename_create+0x15a/0x490 fs/namei.c:3467 1 lock held by syz-executor.2/14141: #0: ffff88806663a990 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff88806663a990 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2192 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1651 Comm: khungtaskd Not tainted 5.10.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+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x3c/0xef 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:209 [inline] watchdog+0xe36/0x10b0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 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: 233 Comm: kworker/u4:5 Not tainted 5.10.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:bytes_is_nonzero mm/kasan/generic.c:90 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:108 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline] RIP: 0010:check_memory_region_inline mm/kasan/generic.c:183 [inline] RIP: 0010:check_memory_region+0xcd/0x180 mm/kasan/generic.c:192 Code: 8d 50 08 eb 09 48 83 c0 01 48 39 d0 74 7a 80 38 00 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e <48> 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 74 f2 eb d4 41 RSP: 0018:ffffc900019a7a40 EFLAGS: 00000002 RAX: fffffbfff1ea2af4 RBX: fffffbfff1ea2af5 RCX: ffffffff81576083 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8f5157a0 RBP: fffffbfff1ea2af4 R08: 0000000000000000 R09: ffffffff8f5157a7 R10: fffffbfff1ea2af4 R11: 0000000000000000 R12: ffff888012382b98 R13: 000000000000002d R14: ffffffff8b78e0e0 R15: 0000000000020000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4d551e508 CR3: 000000001321f000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:198 [inline] check_wait_context kernel/locking/lockdep.c:4506 [inline] __lock_acquire+0x3e3/0x54b0 kernel/locking/lockdep.c:4782 lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 rcu_lock_acquire include/linux/rcupdate.h:253 [inline] rcu_read_lock include/linux/rcupdate.h:642 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0x12d/0xe80 net/batman-adv/network-coding.c:715 process_one_work+0x98d/0x1630 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296