INFO: task kworker/u4:6:9388 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. kworker/u4:6 D27616 9388 2 0x80000000 Workqueue: netns cleanup_net audit: type=1804 audit(1675682481.710:178): pid=22347 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir1996816712/syzkaller.nz3k60/340/file0" dev="sda1" ino=15045 res=1 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 schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common+0x29c/0x470 kernel/sched/completion.c:115 flush_workqueue+0x40b/0x13e0 kernel/workqueue.c:2713 flush_scheduled_work include/linux/workqueue.h:599 [inline] tipc_exit_net+0x38/0x60 net/tipc/core.c:100 ops_exit_list+0xa5/0x150 net/core/net_namespace.c:153 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:554 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Showing all locks held in the system: 1 lock held by khungtaskd/1568: #0: 00000000106e4a8f (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 2 locks held by kworker/u4:4/2900: 3 locks held by kworker/1:2/4385: #0: 000000000e3485e1 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000021455212 ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000daf02042 (&smc->clcsock_release_lock){+.+.}, at: smc_clcsock_accept net/smc/af_smc.c:843 [inline] #2: 00000000daf02042 (&smc->clcsock_release_lock){+.+.}, at: smc_tcp_listen_work+0x191/0xce0 net/smc/af_smc.c:1314 1 lock held by systemd-udevd/4709: 1 lock held by in:imklog/7811: #0: 000000002a2b45d5 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/7819: #0: 000000008cf1ef29 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000057cdb25c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.0/8136: #0: 00000000815d301a (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000815d301a (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 3 locks held by kworker/u4:6/9388: #0: 000000005b7d88bb ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000058712876 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000004fda81c2 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 3 locks held by kworker/1:4/9800: #0: 000000000e3485e1 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000024157947 ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000006b19f230 (&smc->clcsock_release_lock){+.+.}, at: smc_clcsock_accept net/smc/af_smc.c:843 [inline] #2: 000000006b19f230 (&smc->clcsock_release_lock){+.+.}, at: smc_tcp_listen_work+0x191/0xce0 net/smc/af_smc.c:1314 3 locks held by kworker/0:65/11596: #0: 000000000e3485e1 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000006db436db ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000045a7674f (&smc->clcsock_release_lock){+.+.}, at: smc_clcsock_accept net/smc/af_smc.c:843 [inline] #2: 0000000045a7674f (&smc->clcsock_release_lock){+.+.}, at: smc_tcp_listen_work+0x191/0xce0 net/smc/af_smc.c:1314 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1568 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 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: 4693 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:hlist_del include/linux/list.h:697 [inline] RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:793 [inline] RIP: 0010:debug_check_no_obj_freed+0xd9/0x490 lib/debugobjects.c:817 Code: 10 e8 7b 02 a2 04 48 89 44 24 20 48 8b 44 24 30 80 38 00 0f 85 ab 03 00 00 48 8b 44 24 28 4c 8b 00 4d 85 c0 0f 84 35 02 00 00 <49> bc 00 02 00 00 00 00 ad de 4c 89 c0 31 ed 48 c1 e8 03 42 80 3c RSP: 0018:ffff8880a0d7f988 EFLAGS: 00000086 RAX: ffffffff8d3bf240 RBX: 0000000000000000 RCX: ffffffff814bdebb RDX: 1ffffffff1a77e4b RSI: 0000000000000004 RDI: ffffffff8d3bf248 RBP: 0000000000000004 R08: ffff8880a4801188 R09: fffffbfff1a77e49 R10: ffffffff8d3bf24b R11: 0000000000000000 R12: dead000000000200 R13: ffff8880af794000 R14: 0000000000000004 R15: dffffc0000000000 FS: 00007fb5e26798c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ab01b4b8b8 CR3: 00000000a0cc3000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_pages_prepare mm/page_alloc.c:1056 [inline] __free_pages_ok+0x22d/0xd30 mm/page_alloc.c:1279 slab_destroy mm/slab.c:1713 [inline] slabs_destroy+0x90/0xd0 mm/slab.c:1729 cache_flusharray mm/slab.c:3490 [inline] ___cache_free+0x295/0x3a0 mm/slab.c:3532 qlink_free mm/kasan/quarantine.c:147 [inline] qlist_free_all+0x79/0x140 mm/kasan/quarantine.c:166 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 getname_flags+0xce/0x590 fs/namei.c:140 do_sys_open+0x26c/0x520 fs/open.c:1079 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fb5e1c0885d Code: bb 20 00 00 75 10 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 67 f6 ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffcfdd93970 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffcfdd93c80 RCX: 00007fb5e1c0885d RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055b4ae229270 RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000293 R12: 00000000ffffffff R13: 000055b4ae225040 R14: 00007ffcfdd93c40 R15: 000055b4ae22b5b0