INFO: task syz-executor.0:5992 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D29144 5992 7067 0x20020004 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x937/0x1ff0 kernel/sched/core.c:4083 rwsem_down_write_slowpath+0x90a/0xf90 kernel/locking/rwsem.c:1216 __sched_text_start+0x8/0x8 schedule+0xd0/0x2a0 kernel/sched/core.c:4158 rwsem_down_write_slowpath+0x706/0xf90 kernel/locking/rwsem.c:1235 pcpu_alloc+0xfed/0x13b0 mm/percpu.c:1703 rwsem_mark_wake+0x8d0/0x8d0 include/linux/compiler.h:199 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 lock_release+0x800/0x800 kernel/locking/lockdep.c:4689 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 atomic64_try_cmpxchg include/asm-generic/atomic-instrumented.h:1504 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:442 [inline] __down_write kernel/locking/rwsem.c:1387 [inline] down_write+0xb2/0x150 kernel/locking/rwsem.c:1532 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 __down_timeout+0x2d0/0x2d0 pcpu_alloc+0x128/0x13b0 mm/percpu.c:1740 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 raw_init+0x296/0x340 net/can/raw.c:339 raw_sock_no_ioctlcmd+0x10/0x10 net/can/raw.c:843 can_create+0x27c/0x500 net/can/af_can.c:168 __sock_create+0x3cb/0x730 net/socket.c:1433 sock_create net/socket.c:1484 [inline] __sys_socket+0xef/0x200 net/socket.c:1526 move_addr_to_kernel+0x70/0x70 net/socket.c:195 __do_sys_clock_gettime32 kernel/time/posix-timers.c:1176 [inline] __se_sys_clock_gettime32 kernel/time/posix-timers.c:1164 [inline] __ia32_sys_clock_gettime32+0x165/0x240 kernel/time/posix-timers.c:1164 __x64_sys_clock_gettime32+0x240/0x240 kernel/time/posix-timers.c:1410 __do_sys_socket net/socket.c:1535 [inline] __se_sys_socket net/socket.c:1533 [inline] __ia32_sys_socket+0x6f/0xb0 net/socket.c:1533 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x463/0x620 kernel/locking/lockdep.c:3702 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x270/0xe90 arch/x86/entry/common.c:396 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 Showing all locks held in the system: 5 locks held by kworker/u4:1/21: #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x844/0x16a0 kernel/workqueue.c:2239 #1: ffffc90000dd7dc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x878/0x16a0 kernel/workqueue.c:2243 #2: ffffffff8a57a9b0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xa50 net/core/net_namespace.c:565 #3: ffffffff8a5868a8 (rtnl_mutex){+.+.}-{3:3}, at: caif_exit_net+0x2c8/0x790 net/caif/caif_dev.c:522 #4: ffff88809e85ad80 (&caifn->caifdevs.lock){+.+.}-{3:3}, at: caif_exit_net+0x2e3/0x790 net/caif/caif_dev.c:523 1 lock held by khungtaskd/1140: #0: ffffffff899bea80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5754 1 lock held by in:imklog/6728: #0: ffff88809e4d1130 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 2 locks held by kworker/u4:15/28968: #0: ffff8880ae637998 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x9be/0xdb0 kernel/sched/fair.c:10512 #1: ffffffff899bea80 (rcu_read_lock){....}-{1:2}, at: __update_idle_core+0x42/0x3e0 kernel/sched/fair.c:5969 1 lock held by syz-executor.0/5992: #0: ffffffff8a57a9b0 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1729 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1140 Comm: khungtaskd Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:243 kthread+0x388/0x470 kernel/kthread.c:268 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1090 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4109 Comm: systemd-journal Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_lock+0x0/0xf10 kernel/locking/lockdep.c:3900 Code: c3 89 8a e8 02 00 58 00 e9 3c ff ff ff 48 c7 c7 90 c3 89 8a e8 f1 ff 57 00 eb 80 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 <41> 57 41 56 41 55 41 54 41 89 d4 48 ba 00 00 00 00 00 fc ff df 55 RSP: 0018:ffffc90004ee7898 EFLAGS: 00000002 RAX: 000000000000000e RBX: 00000000000000ce RCX: ffff8880945c0b2c RDX: 0000000000000008 RSI: ffff8880945c0b70 RDI: ffff8880945c0280 RBP: ffff8880945c0b70 R08: 1ffff110128b816d R09: fffffbfff185dd30 R10: ffffffff8c2ee97f R11: fffffbfff185dd2f R12: ffff8880945c0280 R13: 0000000000000000 R14: ffff8880945c0b92 R15: 0000000000000000 FS: 00007fa75e2258c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa75b764000 CR3: 0000000095383000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:3860 [inline] __lock_acquire+0x9a4/0x4c50 kernel/locking/lockdep.c:4309 lock_downgrade+0x840/0x840 kernel/locking/lockdep.c:4579 mark_held_locks+0xe0/0xe0 kernel/locking/lockdep.c:3620 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] __lock_acquire+0xcbb/0x4c50 kernel/locking/lockdep.c:4352 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 nd_jump_root+0x38e/0x530 fs/namei.c:859 lock_release+0x800/0x800 kernel/locking/lockdep.c:4689 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 path_init+0x75a/0x19e0 fs/namei.c:2197 seqcount_lockdep_reader_access include/linux/seqlock.h:81 [inline] read_seqcount_begin include/linux/seqlock.h:164 [inline] set_root+0x15a/0x640 fs/namei.c:838 nd_jump_root+0x38e/0x530 fs/namei.c:859 save_stack+0x32/0x40 mm/kasan/common.c:51 save_stack+0x1b/0x40 mm/kasan/common.c:49 nd_jump_root+0x38e/0x530 fs/namei.c:859 path_init+0x10ab/0x19e0 fs/namei.c:2229 rcu_read_lock_any_held.part.0+0x50/0x50 arch/x86/include/asm/paravirt.h:754 __bfs+0x520/0x520 kernel/locking/lockdep.c:1539 path_lookupat.isra.0+0x30/0x530 fs/namei.c:2309 cache_alloc_refill mm/slab.c:2981 [inline] ____cache_alloc mm/slab.c:3055 [inline] ____cache_alloc mm/slab.c:3038 [inline] __do_cache_alloc mm/slab.c:3277 [inline] slab_alloc mm/slab.c:3312 [inline] kmem_cache_alloc+0x6f5/0x740 mm/slab.c:3484 filename_lookup+0x1a3/0x3e0 fs/namei.c:2352 nd_jump_link+0x360/0x360 fs/namei.c:895 getname_flags fs/namei.c:138 [inline] getname_flags+0xd2/0x5b0 fs/namei.c:128 lock_is_held include/linux/lockdep.h:406 [inline] rcu_read_lock_sched_held+0x9c/0xd0 kernel/rcu/update.c:121 rcu_read_lock_any_held.part.0+0x50/0x50 arch/x86/include/asm/paravirt.h:754 __phys_addr_symbol+0x2c/0x70 arch/x86/mm/physaddr.c:42 overlaps mm/usercopy.c:110 [inline] check_kernel_text_object mm/usercopy.c:142 [inline] __check_object_size mm/usercopy.c:289 [inline] __check_object_size+0x171/0x437 mm/usercopy.c:256 audit_getname include/linux/audit.h:328 [inline] getname_flags fs/namei.c:202 [inline] getname_flags+0x275/0x5b0 fs/namei.c:128 security_prepare_creds+0xee/0x180 security/security.c:1604 user_path_at include/linux/namei.h:59 [inline] do_faccessat+0x248/0x7a0 fs/open.c:398 __ia32_sys_fallocate+0xf0/0xf0 fs/open.c:338 trace_hardirqs_off_caller+0x55/0x230 kernel/trace/trace_preemptirq.c:73 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x7fa75d4e19c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fffdf1016d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007fffdf104700 RCX: 00007fa75d4e19c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000560e8d4cd9a3 RBP: 00007fffdf101820 R08: 0000560e8d4c33e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000560e8db708a0 R15: 00007fffdf101d10