bisecting fixing commit since 5694cecdb092656a822287a6691aa7ce668c8160 building syzkaller on 8a41a0ad8ed91a6c7a65663b1bacaf6d79cde558 testing commit 5694cecdb092656a822287a6691aa7ce668c8160 with gcc (GCC) 8.1.0 kernel signature: c1eb382e28e50b41c4a614199b0a69b517ace905eb22958c9f63e407d0d63233 run #0: crashed: KASAN: use-after-free Read in generic_gcmaes_encrypt run #1: crashed: KASAN: use-after-free Read in generic_gcmaes_encrypt run #2: crashed: KASAN: use-after-free Read in generic_gcmaes_encrypt run #3: crashed: INFO: task hung in tls_sw_free_resources_tx run #4: crashed: INFO: task hung in tls_sw_free_resources_tx run #5: crashed: INFO: task hung in tls_sw_free_resources_tx run #6: crashed: INFO: task hung in tls_sw_free_resources_tx run #7: crashed: INFO: task hung in tls_sw_free_resources_tx run #8: crashed: INFO: task hung in tls_sw_free_resources_tx run #9: crashed: INFO: task hung in tls_sw_free_resources_tx testing current HEAD fb33c6510d5595144d585aa194d377cf74d31911 testing commit fb33c6510d5595144d585aa194d377cf74d31911 with gcc (GCC) 8.1.0 kernel signature: cf51b14a3582841d8a26ff872e7a25547c1581cd3ce8c334a7bda7ae67465701 all runs: crashed: INFO: task hung in tls_sw_cancel_work_tx revisions tested: 2, total time: 26m3.056763076s (build: 12m34.194335482s, test: 12m48.293155077s) the crash still happens on HEAD commit msg: Linux 5.6-rc6 crash: INFO: task hung in tls_sw_cancel_work_tx TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. INFO: task syz-executor5:9026 blocked for more than 143 seconds. Not tainted 5.6.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D28048 9026 7448 0x00000004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x856/0x1910 kernel/sched/core.c:4080 schedule+0xc3/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x5c4/0xad0 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x28b/0x460 kernel/sched/completion.c:136 __flush_work+0x3ee/0x8b0 kernel/workqueue.c:3043 __cancel_work_timer+0x308/0x440 kernel/workqueue.c:3130 cancel_delayed_work_sync+0xe/0x10 kernel/workqueue.c:3262 tls_sw_cancel_work_tx+0x63/0x70 net/tls/tls_sw.c:2096 tls_sk_proto_close+0x400/0x9a0 net/tls/tls_main.c:304 inet_release+0xc6/0x1c0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:470 __sock_release+0xc7/0x280 net/socket.c:605 sock_close+0x13/0x20 net/socket.c:1283 __fput+0x25d/0x780 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x10e/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x1be/0x210 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x53d/0x630 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411211 Code: a5 fe ff ff 48 8d 3c 18 48 8d 7f f8 48 8b 07 48 85 c0 74 0d 90 48 8d 78 08 45 31 c0 e9 4b fe ff ff 48 89 d0 e9 56 ff ff ff 48 <89> 44 24 20 48 8b 4c 24 48 48 89 0c 24 48 89 54 24 08 48 89 44 24 RSP: 002b:00007fff193256e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411211 RDX: 0000000000000000 RSI: 0000000000740b80 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007fff19325610 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000005 INFO: task syz-executor0:9074 blocked for more than 143 seconds. Not tainted 5.6.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D28048 9074 7430 0x00000004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x856/0x1910 kernel/sched/core.c:4080 schedule+0xc3/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x5c4/0xad0 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x28b/0x460 kernel/sched/completion.c:136 __flush_work+0x3ee/0x8b0 kernel/workqueue.c:3043 __cancel_work_timer+0x308/0x440 kernel/workqueue.c:3130 cancel_delayed_work_sync+0xe/0x10 kernel/workqueue.c:3262 tls_sw_cancel_work_tx+0x63/0x70 net/tls/tls_sw.c:2096 tls_sk_proto_close+0x400/0x9a0 net/tls/tls_main.c:304 inet_release+0xc6/0x1c0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:470 __sock_release+0xc7/0x280 net/socket.c:605 sock_close+0x13/0x20 net/socket.c:1283 __fput+0x25d/0x780 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x10e/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x1be/0x210 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x53d/0x630 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411211 Code: a5 fe ff ff 48 8d 3c 18 48 8d 7f f8 48 8b 07 48 85 c0 74 0d 90 48 8d 78 08 45 31 c0 e9 4b fe ff ff 48 89 d0 e9 56 ff ff ff 48 <89> 44 24 20 48 8b 4c 24 48 48 89 0c 24 48 89 54 24 08 48 89 44 24 RSP: 002b:00007ffc2b0e6820 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411211 RDX: 0000000000000000 RSI: 0000000000740b80 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffc2b0e6750 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor2:9077 blocked for more than 143 seconds. Not tainted 5.6.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D28048 9077 7449 0x00000004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x856/0x1910 kernel/sched/core.c:4080 schedule+0xc3/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x5c4/0xad0 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x28b/0x460 kernel/sched/completion.c:136 __flush_work+0x3ee/0x8b0 kernel/workqueue.c:3043 __cancel_work_timer+0x308/0x440 kernel/workqueue.c:3130 cancel_delayed_work_sync+0xe/0x10 kernel/workqueue.c:3262 tls_sw_cancel_work_tx+0x63/0x70 net/tls/tls_sw.c:2096 tls_sk_proto_close+0x400/0x9a0 net/tls/tls_main.c:304 inet_release+0xc6/0x1c0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:470 __sock_release+0xc7/0x280 net/socket.c:605 sock_close+0x13/0x20 net/socket.c:1283 __fput+0x25d/0x780 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x10e/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x1be/0x210 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x53d/0x630 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411211 Code: a5 fe ff ff 48 8d 3c 18 48 8d 7f f8 48 8b 07 48 85 c0 74 0d 90 48 8d 78 08 45 31 c0 e9 4b fe ff ff 48 89 d0 e9 56 ff ff ff 48 <89> 44 24 20 48 8b 4c 24 48 48 89 0c 24 48 89 54 24 08 48 89 44 24 RSP: 002b:00007fffcb5cdd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411211 RDX: 0000000000000000 RSI: 0000000000740b80 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007fffcb5cdc70 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000002 INFO: task syz-executor4:9081 blocked for more than 144 seconds. Not tainted 5.6.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor4 D27512 9081 7427 0x00000004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x856/0x1910 kernel/sched/core.c:4080 schedule+0xc3/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x5c4/0xad0 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x28b/0x460 kernel/sched/completion.c:136 __flush_work+0x3ee/0x8b0 kernel/workqueue.c:3043 __cancel_work_timer+0x308/0x440 kernel/workqueue.c:3130 cancel_delayed_work_sync+0xe/0x10 kernel/workqueue.c:3262 tls_sw_cancel_work_tx+0x63/0x70 net/tls/tls_sw.c:2096 tls_sk_proto_close+0x400/0x9a0 net/tls/tls_main.c:304 inet_release+0xc6/0x1c0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:470 __sock_release+0xc7/0x280 net/socket.c:605 sock_close+0x13/0x20 net/socket.c:1283 __fput+0x25d/0x780 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x10e/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x1be/0x210 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x53d/0x630 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411211 Code: a5 fe ff ff 48 8d 3c 18 48 8d 7f f8 48 8b 07 48 85 c0 74 0d 90 48 8d 78 08 45 31 c0 e9 4b fe ff ff 48 89 d0 e9 56 ff ff ff 48 <89> 44 24 20 48 8b 4c 24 48 48 89 0c 24 48 89 54 24 08 48 89 44 24 RSP: 002b:00007ffc7d072b60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411211 RDX: 0000000000000000 RSI: 0000000000740b80 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffc7d072a90 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000004 INFO: task syz-executor3:9093 blocked for more than 144 seconds. Not tainted 5.6.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D28048 9093 7436 0x00000004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x856/0x1910 kernel/sched/core.c:4080 schedule+0xc3/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x5c4/0xad0 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x28b/0x460 kernel/sched/completion.c:136 __flush_work+0x3ee/0x8b0 kernel/workqueue.c:3043 __cancel_work_timer+0x308/0x440 kernel/workqueue.c:3130 cancel_delayed_work_sync+0xe/0x10 kernel/workqueue.c:3262 tls_sw_cancel_work_tx+0x63/0x70 net/tls/tls_sw.c:2096 tls_sk_proto_close+0x400/0x9a0 net/tls/tls_main.c:304 inet_release+0xc6/0x1c0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:470 __sock_release+0xc7/0x280 net/socket.c:605 sock_close+0x13/0x20 net/socket.c:1283 __fput+0x25d/0x780 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x10e/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x1be/0x210 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x53d/0x630 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411211 Code: a5 fe ff ff 48 8d 3c 18 48 8d 7f f8 48 8b 07 48 85 c0 74 0d 90 48 8d 78 08 45 31 c0 e9 4b fe ff ff 48 89 d0 e9 56 ff ff ff 48 <89> 44 24 20 48 8b 4c 24 48 48 89 0c 24 48 89 54 24 08 48 89 44 24 RSP: 002b:00007ffc71068080 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411211 RDX: 0000000000000000 RSI: 0000000000740b80 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffc71067fb0 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000003 INFO: task syz-executor1:9095 blocked for more than 144 seconds. Not tainted 5.6.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D28048 9095 7431 0x00004004 Call Trace: context_switch kernel/sched/core.c:3380 [inline] __schedule+0x856/0x1910 kernel/sched/core.c:4080 schedule+0xc3/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x5c4/0xad0 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x28b/0x460 kernel/sched/completion.c:136 __flush_work+0x3ee/0x8b0 kernel/workqueue.c:3043 __cancel_work_timer+0x308/0x440 kernel/workqueue.c:3130 cancel_delayed_work_sync+0xe/0x10 kernel/workqueue.c:3262 tls_sw_cancel_work_tx+0x63/0x70 net/tls/tls_sw.c:2096 tls_sk_proto_close+0x400/0x9a0 net/tls/tls_main.c:304 inet_release+0xc6/0x1c0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:470 __sock_release+0xc7/0x280 net/socket.c:605 sock_close+0x13/0x20 net/socket.c:1283 __fput+0x25d/0x780 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x10e/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x1be/0x210 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x53d/0x630 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411211 Code: a5 fe ff ff 48 8d 3c 18 48 8d 7f f8 48 8b 07 48 85 c0 74 0d 90 48 8d 78 08 45 31 c0 e9 4b fe ff ff 48 89 d0 e9 56 ff ff ff 48 <89> 44 24 20 48 8b 4c 24 48 48 89 0c 24 48 89 54 24 08 48 89 44 24 RSP: 002b:00007ffe9480a310 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000411211 RDX: 0000000000000000 RSI: 0000000000740b80 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffe9480a240 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/1027: #0: ffffffff885a4a80 (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x275 kernel/locking/lockdep.c:5333 3 locks held by kworker/1:42/2680: #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: process_one_work+0x79e/0x1690 kernel/workqueue.c:2237 #1: ffff8881cee9fde8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x7cf/0x1690 kernel/workqueue.c:2241 #2: ffff8881b7015cd0 (&ctx->tx_lock){+.+.}, at: tx_work_handler+0xf5/0x150 net/tls/tls_sw.c:2209 3 locks held by kworker/1:43/2705: #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: process_one_work+0x79e/0x1690 kernel/workqueue.c:2237 #1: ffff8881cef9fde8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x7cf/0x1690 kernel/workqueue.c:2241 #2: ffff8881bed440d0 (&ctx->tx_lock){+.+.}, at: tx_work_handler+0xf5/0x150 net/tls/tls_sw.c:2209 3 locks held by kworker/0:36/2858: #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: process_one_work+0x79e/0x1690 kernel/workqueue.c:2237 #1: ffff8881ce30fde8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x7cf/0x1690 kernel/workqueue.c:2241 #2: ffff8881c29f70d0 (&ctx->tx_lock){+.+.}, at: tx_work_handler+0xf5/0x150 net/tls/tls_sw.c:2209 3 locks held by kworker/1:79/2864: #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: process_one_work+0x79e/0x1690 kernel/workqueue.c:2237 #1: ffff8881ce33fde8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x7cf/0x1690 kernel/workqueue.c:2241 #2: ffff8881bf6050d0 (&ctx->tx_lock){+.+.}, at: tx_work_handler+0xf5/0x150 net/tls/tls_sw.c:2209 3 locks held by kworker/0:38/2872: #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: process_one_work+0x79e/0x1690 kernel/workqueue.c:2237 #1: ffff8881ce36fde8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x7cf/0x1690 kernel/workqueue.c:2241 #2: ffff8881b70154d0 (&ctx->tx_lock){+.+.}, at: tx_work_handler+0xf5/0x150 net/tls/tls_sw.c:2209 3 locks held by kworker/0:39/2881: #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da026d28 ((wq_completion)events){+.+.}, at: process_one_work+0x79e/0x1690 kernel/workqueue.c:2237 #1: ffff8881ce3b7de8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x7cf/0x1690 kernel/workqueue.c:2241 #2: ffff8881c69c64d0 (&ctx->tx_lock){+.+.}, at: tx_work_handler+0xf5/0x150 net/tls/tls_sw.c:2209 1 lock held by rsyslogd/7224: 2 locks held by getty/7314: #0: ffff8881cfcd5090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90004cb02e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7315: #0: ffff8881d1482090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90004cd62e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7316: #0: ffff8881d1a2f090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90004cb82e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7317: #0: ffff8881b7287090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90004ccc2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7318: #0: ffff8881ce96d090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90004cc82e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7319: #0: ffff8881b6d09090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90004cc02e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7320: #0: ffff8881c50e5090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90004ca42e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x17d0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor5/9026: #0: ffff8881c23ad280 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:792 [inline] #0: ffff8881c23ad280 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x7d/0x280 net/socket.c:604 1 lock held by syz-executor0/9074: #0: ffff8881bd33e780 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:792 [inline] #0: ffff8881bd33e780 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x7d/0x280 net/socket.c:604 1 lock held by syz-executor2/9077: #0: ffff8881c201d740 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:792 [inline] #0: ffff8881c201d740 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x7d/0x280 net/socket.c:604 1 lock held by syz-executor4/9081: #0: ffff8881b455dc00 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:792 [inline] #0: ffff8881b455dc00 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x7d/0x280 net/socket.c:604 1 lock held by syz-executor3/9093: #0: ffff8881d57c0700 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:792 [inline] #0: ffff8881d57c0700 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x7d/0x280 net/socket.c:604 1 lock held by syz-executor1/9095: #0: ffff8881d57cd200 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:792 [inline] #0: ffff8881d57cd200 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x7d/0x280 net/socket.c:604 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1027 Comm: khungtaskd Not tainted 5.6.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+0x12d/0x187 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.7+0x4b/0x84 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x18b/0x1b7 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0x611/0xc50 kernel/hung_task.c:289 kthread+0x334/0x3f0 kernel/kthread.c:255 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x12/0x20 arch/x86/include/asm/irqflags.h:60