INFO: task syz-executor.2:20931 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29712 20931 15358 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] do_last fs/namei.c:3324 [inline] path_openat+0x1071/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7a497d10d9 Code: Bad RIP value. RSP: 002b:00007f7a3f92a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f7a498f1050 RCX: 00007f7a497d10d9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f7a4982cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdbae3cecf R14: 00007f7a3f92a300 R15: 0000000000022000 INFO: task syz-executor.2:20943 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29496 20943 15358 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:758 [inline] lookup_slow fs/namei.c:1688 [inline] walk_component+0x798/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_stat include/linux/fs.h:3132 [inline] __do_sys_newstat fs/stat.c:337 [inline] __se_sys_newstat+0x96/0x120 fs/stat.c:333 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7a497d10d9 Code: Bad RIP value. RSP: 002b:00007f7a3f909168 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 00007f7a498f1120 RCX: 00007f7a497d10d9 RDX: 0000000000000000 RSI: 0000000020002440 RDI: 00000000200023c0 RBP: 00007f7a4982cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdbae3cecf R14: 00007f7a3f909300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 000000007aebe068 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 4 locks held by kworker/u4:4/2889: #0: 000000006276e435 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000a151e511 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000c50f3969 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 00000000d0f71cb5 (rtnl_mutex){+.+.}, at: tc_action_net_exit include/net/act_api.h:135 [inline] #3: 00000000d0f71cb5 (rtnl_mutex){+.+.}, at: tunnel_key_exit_net+0x22/0x360 net/sched/act_tunnel_key.c:591 1 lock held by in:imklog/7798: #0: 000000006a873867 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/1:28/13293: #0: 00000000c49ea851 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000128501fe ((linkwatch_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000d0f71cb5 (rtnl_mutex){+.+.}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:236 3 locks held by syz-executor.2/20894: 2 locks held by syz-executor.2/20931: #0: 00000000536f39f7 (sb_writers#27){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000536f39f7 (sb_writers#27){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000035d4bac7 (&type->i_mutex_dir_key#14){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000035d4bac7 (&type->i_mutex_dir_key#14){++++}, at: do_last fs/namei.c:3324 [inline] #1: 0000000035d4bac7 (&type->i_mutex_dir_key#14){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 1 lock held by syz-executor.2/20943: #0: 0000000035d4bac7 (&type->i_mutex_dir_key#14){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 0000000035d4bac7 (&type->i_mutex_dir_key#14){++++}, at: lookup_slow fs/namei.c:1688 [inline] #0: 0000000035d4bac7 (&type->i_mutex_dir_key#14){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811 2 locks held by syz-executor.0/27365: #0: 00000000c50f3969 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 00000000d0f71cb5 (rtnl_mutex){+.+.}, at: gtp_net_exit+0x1ba/0x380 drivers/net/gtp.c:1360 2 locks held by syz-executor.4/27379: #0: 00000000d0f71cb5 (rtnl_mutex){+.+.}, at: devinet_ioctl+0x1b6/0x1b40 net/ipv4/devinet.c:1033 #1: 000000009bbb05da (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: 000000009bbb05da (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 1 lock held by syz-executor.2/27381: #0: 00000000d0f71cb5 (rtnl_mutex){+.+.}, at: dev_ioctl+0x19d/0xc50 net/core/dev_ioctl.c:487 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 20894 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:101 Code: 90 90 90 90 90 90 90 90 48 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 75 2b 8b 90 60 13 00 00 <83> fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 00 00 48 8b 11 48 RSP: 0018:ffff8880457f7660 EFLAGS: 00000046 RAX: ffff888099564040 RBX: 0000000000000000 RCX: ffffffff83771e8f RDX: 0000000000000002 RSI: ffffffff83771e31 RDI: 0000000000000007 RBP: ffffffff88b3e160 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000007 R11: 00000000c75b6e3f R12: 0000000000000000 R13: ffffffff88751d80 R14: 0000000000000383 R15: ffff88809a761dc8 FS: 00007f7a47d43700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6964ade558 CR3: 000000008c689000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_preemption_disabled+0x41/0x280 lib/smp_processor_id.c:51 lookup_bh_lru fs/buffer.c:1262 [inline] __find_get_block+0xe9/0xde0 fs/buffer.c:1291 __getblk_gfp fs/buffer.c:1317 [inline] __bread_gfp+0x29/0x300 fs/buffer.c:1366 sb_bread include/linux/buffer_head.h:309 [inline] bfs_find_entry.isra.0+0x2e1/0x420 fs/bfs/dir.c:337 bfs_lookup+0x1a6/0x2b0 fs/bfs/dir.c:137 __lookup_slow+0x246/0x4a0 fs/namei.c:1672 lookup_slow fs/namei.c:1689 [inline] walk_component+0x7ac/0xda0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat+0x1ff/0x8d0 fs/namei.c:2319 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path include/linux/namei.h:62 [inline] do_mount+0x147/0x2f50 fs/namespace.c:2762 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7a497d10d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7a47d43168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7a498f0f80 RCX: 00007f7a497d10d9 RDX: 0000000020002000 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00007f7a4982cae9 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdbae3cecf R14: 00007f7a47d43300 R15: 0000000000022000