syzbot


INFO: task hung in ip6gre_exit_batch_net (4)

Status: closed as invalid on 2021/12/14 20:12
Subsystems: net
[Documentation on labels]
First crash: 1026d, last: 949d
Cause bisection: introduced by (bisect log) [merge commit]:
commit be2d24336f8876d60d8a4634f1a1e4753c4be124
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date: Fri Sep 10 18:26:08 2021 +0000

  Merge branches 'pm-cpufreq', 'pm-sleep' and 'pm-em'

Crash: INFO: task hung in process_one_work (log)
Repro: syz .config
  
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in ip6gre_exit_batch_net (6) net 1 348d 348d 0/27 closed as invalid on 2023/09/07 14:36
upstream INFO: task hung in ip6gre_exit_batch_net (2) net 3 1681d 1682d 0/27 auto-closed as invalid on 2020/01/17 16:16
linux-4.19 INFO: task hung in ip6gre_exit_batch_net (2) 1 1296d 1296d 0/1 auto-closed as invalid on 2021/04/06 21:09
linux-4.19 INFO: task hung in ip6gre_exit_batch_net (3) 7 894d 1061d 0/1 auto-closed as invalid on 2022/05/13 06:16
upstream INFO: task hung in ip6gre_exit_batch_net net 6 1720d 2213d 0/27 closed as dup on 2018/06/04 15:23
linux-5.15 INFO: task hung in ip6gre_exit_batch_net 4 17d 34d 0/3 upstream: reported on 2024/05/22 11:05
linux-6.1 INFO: task hung in ip6gre_exit_batch_net 1 17d 17d 0/3 upstream: reported on 2024/06/08 14:37
upstream INFO: task hung in ip6gre_exit_batch_net (5) net 1 726d 726d 0/27 auto-closed as invalid on 2022/09/28 06:40
linux-4.19 INFO: task hung in ip6gre_exit_batch_net 1 1698d 1698d 0/1 auto-closed as invalid on 2020/02/29 06:17
upstream INFO: task hung in ip6gre_exit_batch_net (3) net 18 1184d 1499d 0/27 auto-closed as invalid on 2021/06/27 10:57

Sample crash report:
INFO: task kworker/u4:3:158 blocked for more than 143 seconds.
      Not tainted 5.15.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:3    state:D stack:25320 pid:  158 ppid:     2 flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 ip6gre_exit_batch_net+0x88/0x760 net/ipv6/ip6_gre.c:1626
 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:171
 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:591
 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task kworker/1:5:8533 blocked for more than 143 seconds.
      Not tainted 5.15.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:5     state:D stack:25992 pid: 8533 ppid:     2 flags:0x00004000
Workqueue: events linkwatch_event
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 linkwatch_event+0xb/0x60 net/core/link_watch.c:251
 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task syz-executor.2:11984 blocked for more than 144 seconds.
      Not tainted 5.15.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:24728 pid:11984 ppid:  6610 flags:0x00004006
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 tun_detach drivers/net/tun.c:684 [inline]
 tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397
 __fput+0x288/0x9f0 fs/file_table.c:280
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xbae/0x2a30 kernel/exit.c:825
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x47f/0x2160 kernel/signal.c:2868
 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fa09c284709
RSP: 002b:00007fa09b9da188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 0000000000000068 RBX: 00007fa09c389020 RCX: 00007fa09c284709
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005
RBP: 00007fa09c2decb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa09c8bcb2f R14: 00007fa09b9da300 R15: 0000000000022000
INFO: task syz-executor.0:11983 blocked for more than 144 seconds.
      Not tainted 5.15.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:24728 pid:11983 ppid:  6608 flags:0x00004006
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 tun_detach drivers/net/tun.c:684 [inline]
 tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397
 __fput+0x288/0x9f0 fs/file_table.c:280
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xbae/0x2a30 kernel/exit.c:825
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x47f/0x2160 kernel/signal.c:2868
 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f629954b709
RSP: 002b:00007f6298ca1188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 0000000000000068 RBX: 00007f6299650020 RCX: 00007f629954b709
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005
RBP: 00007f62995a5cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6299b83b2f R14: 00007f6298ca1300 R15: 0000000000022000
INFO: task syz-executor.3:12075 blocked for more than 145 seconds.
      Not tainted 5.15.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:24488 pid:12075 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 rtnl_lock net/core/rtnetlink.c:72 [inline]
 rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 __sys_sendto+0x21c/0x320 net/socket.c:2036
 __do_sys_sendto net/socket.c:2048 [inline]
 __se_sys_sendto net/socket.c:2044 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2044
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fd3c528169c
RSP: 002b:00007fd3c5906700 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fd3c630b320 RCX: 00007fd3c528169c
RDX: 0000000000000028 RSI: 00007fd3c630b370 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fd3c5906754 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007fd3c630b370 R14: 0000000000000003 R15: 0000000000000000
INFO: task syz-executor.5:12082 blocked for more than 146 seconds.
      Not tainted 5.15.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:24488 pid:12082 ppid:     1 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 rtnl_lock net/core/rtnetlink.c:72 [inline]
 rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 __sys_sendto+0x21c/0x320 net/socket.c:2036
 __do_sys_sendto net/socket.c:2048 [inline]
 __se_sys_sendto net/socket.c:2044 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2044
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7faa8c9f869c
RSP: 002b:00007faa8d07d780 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007faa8da82320 RCX: 00007faa8c9f869c
RDX: 000000000000003c RSI: 00007faa8da82370 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007faa8d07d7d4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007faa8da82370 R14: 0000000000000003 R15: 0000000000000000
INFO: task syz-executor.1:12090 blocked for more than 147 seconds.
      Not tainted 5.15.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:24488 pid:12090 ppid:     1 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 rtnl_lock net/core/rtnetlink.c:72 [inline]
 rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x86d/0xdb0 net/netlink/af_netlink.c:1929
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 __sys_sendto+0x21c/0x320 net/socket.c:2036
 __do_sys_sendto net/socket.c:2048 [inline]
 __se_sys_sendto net/socket.c:2044 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2044
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f4d6f45169c
RSP: 002b:00007f4d6fad6780 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f4d704db320 RCX: 00007f4d6f45169c
RDX: 000000000000003c RSI: 00007f4d704db370 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007f4d6fad67d4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f4d704db370 R14: 0000000000000003 R15: 0000000000000000

Showing all locks held in the system:
1 lock held by khungtaskd/26:
 #0: ffffffff8b97fe60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446
4 locks held by kworker/u4:3/158:
 #0: ffff88801207a138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff88801207a138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff88801207a138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff88801207a138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff88801207a138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff88801207a138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc9000129fdb0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffffffff8d0d0b10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:553
 #3: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: ip6gre_exit_batch_net+0x88/0x760 net/ipv6/ip6_gre.c:1626
1 lock held by in:imklog/6245:
 #0: ffff88801d82c0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
3 locks held by kworker/u4:5/7293:
3 locks held by kworker/1:5/8533:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc9000d167db0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:251
3 locks held by kworker/0:6/8554:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc9000d1a7db0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74
3 locks held by kworker/0:8/8648:
 #0: ffff888147e4ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888147e4ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888147e4ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888147e4ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888147e4ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888147e4ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc9000d467db0 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4590
1 lock held by syz-executor.2/11984:
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline]
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397
1 lock held by syz-executor.0/11983:
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline]
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397
1 lock held by syz-executor.4/11985:
1 lock held by vivid-005-sdr-c/12003:
2 locks held by vivid-001-sdr-c/12005:
1 lock held by syz-executor.3/12075:
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569
1 lock held by syz-executor.5/12082:
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569
1 lock held by syz-executor.1/12090:
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d0e40a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xc1d/0xf50 kernel/hung_task.c:295
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2960 Comm: systemd-journal Not tainted 5.15.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_node mm/slab.h:565 [inline]
RIP: 0010:get_any_partial mm/slub.c:2186 [inline]
RIP: 0010:get_partial mm/slub.c:2224 [inline]
RIP: 0010:___slab_alloc+0x8a7/0xfe0 mm/slub.c:2989
Code: 04 c5 60 4e 6e 8d 4c 8d a4 30 00 23 00 00 45 39 7c 24 08 76 08 e9 35 03 00 00 49 89 fc 49 8b 04 24 48 85 c0 74 49 48 63 40 50 <4c> 8b b4 c3 d0 00 00 00 48 89 c7 4d 85 f6 74 13 0f 1f 44 00 00 48
RSP: 0018:ffffc900012dfc60 EFLAGS: 00000286
RAX: 0000000000000000 RBX: ffff888010dc53c0 RCX: 0000000000000000
RDX: ffff88807b118000 RSI: 0000000000000000 RDI: ffff88807b1193f8
RBP: ffffc900012dfd40 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff81ba996e R11: 0000000000000000 R12: ffff88813fffd300
R13: 0000000000000cc0 R14: 0000000000000001 R15: 0000000000000002
FS:  00007fe55d11a8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe55a560000 CR3: 000000001e84a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3081
 slab_alloc_node mm/slub.c:3172 [inline]
 slab_alloc mm/slub.c:3214 [inline]
 kmem_cache_alloc+0x365/0x390 mm/slub.c:3219
 getname_flags.part.0+0x50/0x4f0 fs/namei.c:138
 getname_flags+0x9a/0xe0 include/linux/audit.h:319
 user_path_at_empty+0x2b/0x60 fs/namei.c:2800
 user_path_at include/linux/namei.h:57 [inline]
 do_faccessat+0x127/0x850 fs/open.c:421
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe55c3d59c7
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:00007fff37657208 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007fff3765a230 RCX: 00007fe55c3d59c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000559e439ad9a3
RBP: 00007fff37657350 R08: 0000559e439a33e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000559e44c9b8a0 R15: 00007fff37657840
----------------
Code disassembly (best guess), 3 bytes skipped:
   0:	4e 6e                	rex.WRX outsb %ds:(%rsi),(%dx)
   2:	8d 4c 8d a4          	lea    -0x5c(%rbp,%rcx,4),%ecx
   6:	30 00                	xor    %al,(%rax)
   8:	23 00                	and    (%rax),%eax
   a:	00 45 39             	add    %al,0x39(%rbp)
   d:	7c 24                	jl     0x33
   f:	08 76 08             	or     %dh,0x8(%rsi)
  12:	e9 35 03 00 00       	jmpq   0x34c
  17:	49 89 fc             	mov    %rdi,%r12
  1a:	49 8b 04 24          	mov    (%r12),%rax
  1e:	48 85 c0             	test   %rax,%rax
  21:	74 49                	je     0x6c
  23:	48 63 40 50          	movslq 0x50(%rax),%rax
* 27:	4c 8b b4 c3 d0 00 00 	mov    0xd0(%rbx,%rax,8),%r14 <-- trapping instruction
  2e:	00
  2f:	48 89 c7             	mov    %rax,%rdi
  32:	4d 85 f6             	test   %r14,%r14
  35:	74 13                	je     0x4a
  37:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  3c:	48                   	rex.W

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/29 13:32 upstream a4e6f95a891a d82cb927 .config console log report syz ci-upstream-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/09/29 16:17 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in ip6gre_exit_batch_net
2021/09/28 18:14 upstream d33bec7b3dfa d82cb927 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in ip6gre_exit_batch_net
2021/09/24 19:03 upstream 4c4f0c2bf341 8cac236e .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in ip6gre_exit_batch_net
2021/09/08 15:30 upstream ac08b1c68d1b e2776ee4 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in ip6gre_exit_batch_net
2021/09/08 11:25 upstream ac08b1c68d1b e2776ee4 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in ip6gre_exit_batch_net
2021/09/24 05:51 upstream f9e36107ec70 8cac236e .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in ip6gre_exit_batch_net
2021/11/19 18:59 net-next-old 812ad3d270cb 3a9d0024 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/20 06:27 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/20 06:22 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/20 05:30 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/20 04:37 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/20 02:00 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/20 00:54 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 23:16 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 22:48 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 22:08 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 19:20 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 18:24 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 13:34 net-next-old cb3dc8901ba4 24dc29db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 13:01 net-next-old cb3dc8901ba4 24dc29db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 12:43 net-next-old cb3dc8901ba4 24dc29db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/19 00:23 net-next-old f616447034a1 24dc29db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 23:37 net-next-old f616447034a1 24dc29db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 16:11 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 15:21 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 14:58 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 14:51 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 14:45 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 14:07 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 13:41 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 13:01 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 12:47 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 12:42 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/18 12:40 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/09/23 11:55 net-next-old 428168f99517 8cac236e .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/09/17 11:16 net-next-old 561bed688bff 5b989942 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in ip6gre_exit_batch_net
2021/10/20 22:29 linux-next 51dba6e335ff f111d03b .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in ip6gre_exit_batch_net
2021/10/20 09:14 linux-next 51dba6e335ff 466b7db1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in ip6gre_exit_batch_net
2021/10/20 08:29 linux-next 51dba6e335ff 466b7db1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in ip6gre_exit_batch_net
2021/09/17 23:24 linux-next 9004fd387338 70b76c1d .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in ip6gre_exit_batch_net
2021/09/14 22:23 linux-next 815c5020b5ab 07e953c1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in ip6gre_exit_batch_net
2021/09/03 09:47 linux-next c1b13fe76e95 f62a5829 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in ip6gre_exit_batch_net
* Struck through repros no longer work on HEAD.