INFO: task hung in ip_tunnel_delete_nets

5 views
Skip to first unread message

syzbot

unread,
Nov 29, 2021, 8:03:21 AM11/29/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17af1661b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=2b567469f7acf3fa0dec
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2b5674...@syzkaller.appspotmail.com

bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
INFO: task kworker/u4:6:9534 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 D25168 9534 2 0x80000000
Workqueue: netns cleanup_net
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_work+0x4bb/0x8b0 kernel/workqueue.c:2926
flush_all_backlogs net/core/dev.c:5283 [inline]
rollback_registered_many+0x4b1/0xe70 net/core/dev.c:8181
unregister_netdevice_many.part.0+0x1a/0x300 net/core/dev.c:9324
unregister_netdevice_many+0x36/0x50 net/core/dev.c:9323
ip_tunnel_delete_nets+0x3d3/0x580 net/ipv4/ip_tunnel.c:1088
ops_exit_list+0xf9/0x150 net/core/net_namespace.c:156
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
INFO: task syz-executor.5:30410 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.5 D26928 30410 14168 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
wiphy_register+0x1658/0x2130 net/wireless/core.c:831
ieee80211_register_hw+0x13be/0x3550 net/mac80211/main.c:1106
mac80211_hwsim_new_radio+0x1d3f/0x3c60 drivers/net/wireless/mac80211_hwsim.c:2896
hwsim_new_radio_nl+0x5c3/0x850 drivers/net/wireless/mac80211_hwsim.c:3374
genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
__sys_sendmsg net/socket.c:2265 [inline]
__do_sys_sendmsg net/socket.c:2274 [inline]
__se_sys_sendmsg net/socket.c:2272 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fb05c682ae9
Code: Bad RIP value.
RSP: 002b:00007fb059bd7188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fb05c796020 RCX: 00007fb05c682ae9
RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000004
RBP: 00007fb05c6dcf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcfcdeb95f R14: 00007fb059bd7300 R15: 0000000000022000
INFO: task syz-executor.2:30398 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 D26296 30398 18256 0x80000004
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_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
ip_tunnel_init_net+0x321/0x990 net/ipv4/ip_tunnel.c:1034
ops_init+0xb3/0x410 net/core/net_namespace.c:129
setup_net+0x2c2/0x720 net/core/net_namespace.c:316
copy_net_ns+0x1f7/0x340 net/core/net_namespace.c:439
create_new_namespaces+0x3f6/0x7b0 kernel/nsproxy.c:107
unshare_nsproxy_namespaces+0xbd/0x1f0 kernel/nsproxy.c:206
ksys_unshare+0x36c/0x9a0 kernel/fork.c:2542
__do_sys_unshare kernel/fork.c:2610 [inline]
__se_sys_unshare kernel/fork.c:2608 [inline]
__x64_sys_unshare+0x2d/0x40 kernel/fork.c:2608
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fde54371ae9
Code: Bad RIP value.
RSP: 002b:00007fde518e7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fde54484f60 RCX: 00007fde54371ae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007fde543cbf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd76f038bf R14: 00007fde518e7300 R15: 0000000000022000
INFO: task syz-executor.2:30449 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 D28528 30449 18256 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
gtp_net_exit+0x1ba/0x380 drivers/net/gtp.c:1360
ops_exit_list+0xa5/0x150 net/core/net_namespace.c:153
setup_net+0x3d1/0x720 net/core/net_namespace.c:333
copy_net_ns+0x1f7/0x340 net/core/net_namespace.c:439
create_new_namespaces+0x3f6/0x7b0 kernel/nsproxy.c:107
unshare_nsproxy_namespaces+0xbd/0x1f0 kernel/nsproxy.c:206
ksys_unshare+0x36c/0x9a0 kernel/fork.c:2542
__do_sys_unshare kernel/fork.c:2610 [inline]
__se_sys_unshare kernel/fork.c:2608 [inline]
__x64_sys_unshare+0x2d/0x40 kernel/fork.c:2608
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fde54371ae9
Code: Bad RIP value.
RSP: 002b:00007fde518c6188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fde54485020 RCX: 00007fde54371ae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007fde543cbf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd76f038bf R14: 00007fde518c6300 R15: 0000000000022000
INFO: task syz-executor.4:30464 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.4 D28648 30464 24975 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2828 [inline]
__schedule+0x887/0x2040 kernel/sched/core.c:3517
net_ratelimit: 13721 callbacks suppressed
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ce:f4:23:5b:5f:2d, vlan:0)
schedule+0x8d/0x1b0 kernel/sched/core.c:3561
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ce:f4:23:5b:5f:2d, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
__sys_sendto+0x21a/0x320 net/socket.c:1899
__do_sys_sendto net/socket.c:1911 [inline]
__se_sys_sendto net/socket.c:1907 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc7a6b378ac
Code: Bad RIP value.
RSP: 002b:00007fc7a40f9020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc7a40f9110 RCX: 00007fc7a6b378ac
RDX: 0000000000000028 RSI: 00007fc7a40f9160 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fc7a40f9074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc7a40f90c8
R13: 00007fc7a40f9160 R14: 0000000000000004 R15: 0000000000000000
INFO: task syz-executor.4:30466 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.4 D29288 30466 24975 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
__sys_sendto+0x21a/0x320 net/socket.c:1899
__do_sys_sendto net/socket.c:1911 [inline]
__se_sys_sendto net/socket.c:1907 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc7a6b378ac
Code: Bad RIP value.
RSP: 002b:00007fc7a40d8020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc7a40d8110 RCX: 00007fc7a6b378ac
RDX: 0000000000000024 RSI: 00007fc7a40d8160 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fc7a40d8074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc7a40d80c8
R13: 00007fc7a40d8160 R14: 0000000000000003 R15: 0000000000000000
INFO: task syz-executor.4:30472 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.4 D29288 30472 24975 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
__sys_sendto+0x21a/0x320 net/socket.c:1899
__do_sys_sendto net/socket.c:1911 [inline]
__se_sys_sendto net/socket.c:1907 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc7a6b378ac
Code: Bad RIP value.
RSP: 002b:00007fc7a40b7020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc7a40b7110 RCX: 00007fc7a6b378ac
RDX: 0000000000000024 RSI: 00007fc7a40b7160 RDI: 0000000000000006
RBP: 0000000000000000 R08: 00007fc7a40b7074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc7a40b70c8
R13: 00007fc7a40b7160 R14: 0000000000000006 R15: 0000000000000000
INFO: task syz-executor.4:30475 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.4 D29536 30475 24975 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
__sys_sendto+0x21a/0x320 net/socket.c:1899
__do_sys_sendto net/socket.c:1911 [inline]
__se_sys_sendto net/socket.c:1907 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc7a6b378ac
Code: Bad RIP value.
RSP: 002b:00007fc7a4096020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc7a4096110 RCX: 00007fc7a6b378ac
RDX: 0000000000000028 RSI: 00007fc7a4096160 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fc7a4096074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc7a40960c8
R13: 00007fc7a4096160 R14: 0000000000000004 R15: 0000000000000000
INFO: task syz-executor.4:30479 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.4 D29288 30479 24975 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
__sys_sendto+0x21a/0x320 net/socket.c:1899
__do_sys_sendto net/socket.c:1911 [inline]
__se_sys_sendto net/socket.c:1907 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc7a6b378ac
Code: Bad RIP value.
RSP: 002b:00007fc7a4075020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc7a4075110 RCX: 00007fc7a6b378ac
RDX: 0000000000000024 RSI: 00007fc7a4075160 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fc7a4075074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc7a40750c8
R13: 00007fc7a4075160 R14: 0000000000000003 R15: 0000000000000000
INFO: task syz-executor.4:30481 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.4 D29288 30481 24975 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
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
__mutex_lock_common kernel/locking/mutex.c:1016 [inline]
__mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
__sys_sendto+0x21a/0x320 net/socket.c:1899
__do_sys_sendto net/socket.c:1911 [inline]
__se_sys_sendto net/socket.c:1907 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc7a6b378ac
Code: Bad RIP value.
RSP: 002b:00007fc7a4033020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc7a4033110 RCX: 00007fc7a6b378ac
RDX: 0000000000000024 RSI: 00007fc7a4033160 RDI: 0000000000000006
RBP: 0000000000000000 R08: 00007fc7a4033074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fc7a40330c8
R13: 00007fc7a4033160 R14: 0000000000000006 R15: 0000000000000000

Showing all locks held in the system:
1 lock held by khungtaskd/1570:
#0: 00000000de33676f (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
1 lock held by in:imklog/7809:
#0: 000000005ad9e9f5 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
2 locks held by agetty/8032:
#0: 00000000c92dcab7 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272
#1: 000000007e310b74 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154
3 locks held by kworker/0:3/9117:
#0: 00000000c20f0fcc ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
#1: 000000003eaabc5a (deferred_process_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
#2: 000000006e40343a (rtnl_mutex){+.+.}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:150
5 locks held by kworker/u4:6/9534:
#0: 0000000020a8404e ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
#1: 00000000f3d7c1a8 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
#2: 00000000132577d3 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521
#3: 000000006e40343a (rtnl_mutex){+.+.}, at: ip_tunnel_delete_nets+0x8e/0x580 net/ipv4/ip_tunnel.c:1083
#4: 000000003195b8b9 (cpu_hotplug_lock.rw_sem){++++}, at: get_online_cpus include/linux/cpu.h:137 [inline]
#4: 000000003195b8b9 (cpu_hotplug_lock.rw_sem){++++}, at: flush_all_backlogs net/core/dev.c:5276 [inline]
#4: 000000003195b8b9 (cpu_hotplug_lock.rw_sem){++++}, at: rollback_registered_many+0x3a8/0xe70 net/core/dev.c:8181
3 locks held by syz-executor.5/30410:
#0: 0000000044272bde (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
#2: 000000006e40343a (rtnl_mutex){+.+.}, at: wiphy_register+0x1658/0x2130 net/wireless/core.c:831
3 locks held by syz-executor.0/30399:
2 locks held by syz-executor.2/30398:
#0: 00000000132577d3 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435
#1: 000000006e40343a (rtnl_mutex){+.+.}, at: ip_tunnel_init_net+0x321/0x990 net/ipv4/ip_tunnel.c:1034
2 locks held by syz-executor.2/30449:
#0: 00000000132577d3 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435
#1: 000000006e40343a (rtnl_mutex){+.+.}, at: gtp_net_exit+0x1ba/0x380 drivers/net/gtp.c:1360
2 locks held by syz-executor.4/30464:
#0: 0000000044272bde (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
2 locks held by syz-executor.4/30466:
#0: 0000000044272bde (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
2 locks held by syz-executor.4/30472:
#0: 0000000044272bde (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
2 locks held by syz-executor.4/30475:
#0: 0000000044272bde (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
net_ratelimit: 11319 callbacks suppressed
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ce:f4:23:5b:5f:2d, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
2 locks held by syz-executor.4/30479:
#0: 0000000044272bde (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
2 locks held by syz-executor.4/30481:
#0: 0000000044272bde (cb_lock){++++}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:637
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: 000000001566abec (genl_mutex){+.+.}, at: genl_rcv_msg+0x12f/0x160 net/netlink/genetlink.c:625
3 locks held by kworker/0:7/30491:
#0: 000000009dc88d42 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
#1: 000000000a891f70 ((addr_chk_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
#2: 000000006e40343a (rtnl_mutex){+.+.}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4476

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

NMI backtrace for cpu 0
CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-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+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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 30399 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mark_irqflags kernel/locking/lockdep.c:3010 [inline]
RIP: 0010:__lock_acquire+0xdc4/0x3ff0 kernel/locking/lockdep.c:3373
Code: 08 00 00 85 c0 0f 84 f6 f7 ff ff ba 04 00 00 00 4c 89 d6 4c 89 ef 44 89 44 24 30 44 89 4c 24 28 4c 89 54 24 20 e8 ec df ff ff <85> c0 0f 84 ba f3 ff ff 48 89 ea 4c 8b 54 24 20 48 b8 00 00 00 00
RSP: 0018:ffff8880ba106870 EFLAGS: 00000082
RAX: 0000000000000001 RBX: 0000000000000060 RCX: 1ffff11013945136
RDX: 1ffffffff19abeb6 RSI: ffff88809ca28990 RDI: ffffffff8cd5f5b0
RBP: ffff88809ca289b2 R08: 0000000000000001 R09: 0000000000000005
R10: ffff88809ca28990 R11: ffffffff8c66505b R12: 00000000000c6001
R13: ffff88809ca28040 R14: ffff88809ca289a8 R15: 0000000000000001
FS: 00007fe1a27ca700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000096ec9000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:152
debug_object_activate+0x12f/0x450 lib/debugobjects.c:472
debug_hrtimer_activate kernel/time/hrtimer.c:416 [inline]
debug_activate kernel/time/hrtimer.c:465 [inline]
enqueue_hrtimer+0x27/0x3d0 kernel/time/hrtimer.c:972
__run_hrtimer kernel/time/hrtimer.c:1480 [inline]
__hrtimer_run_queues+0xae6/0xe60 kernel/time/hrtimer.c:1527
hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:__orc_find+0x8/0xf0 arch/x86/kernel/unwind_orc.c:31
Code: e9 a7 fd ff ff e8 b8 ea 6e 00 e9 ea fc ff ff 48 8b 3c 24 e8 3a eb 6e 00 e9 7b fe ff ff 90 90 90 90 90 41 57 89 d0 41 56 41 55 <41> 54 4c 8d 64 87 fc 55 53 48 83 ec 10 85 d2 0f 84 95 00 00 00 4c
RSP: 0018:ffff8880ba106ea0 EFLAGS: 00000216 ORIG_RAX: ffffffffffffff13
RAX: 000000000000000c RBX: 1ffff11017420de1 RCX: ffffffff8676d676
RDX: 000000000000000c RSI: ffffffff8bf5f61a RDI: ffffffff8b766670
RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffff8bf5f61a
R10: ffff8880ba10704f R11: 0000000000074071 R12: ffff8880ba107038
R13: ffff8880ba107025 R14: ffff8880ba106ff0 R15: ffffffff8676d676
orc_find arch/x86/kernel/unwind_orc.c:159 [inline]
unwind_next_frame+0x339/0x1400 arch/x86/kernel/unwind_orc.c:422
__save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:448 [inline]
set_track mm/kasan/kasan.c:460 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
slab_post_alloc_hook mm/slab.h:445 [inline]
slab_alloc mm/slab.c:3397 [inline]
kmem_cache_alloc_trace+0x11a/0x380 mm/slab.c:3623
kmalloc include/linux/slab.h:515 [inline]
kzalloc include/linux/slab.h:709 [inline]
nf_bridge_alloc include/net/netfilter/br_netfilter.h:9 [inline]
nf_bridge_unshare net/bridge/br_netfilter_hooks.c:154 [inline]
br_nf_forward_ip+0x34d/0x15e0 net/bridge/br_netfilter_hooks.c:577
nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline]
nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:511
nf_hook include/linux/netfilter.h:244 [inline]
NF_HOOK include/linux/netfilter.h:287 [inline]
__br_forward+0x354/0xae0 net/bridge/br_forward.c:113
deliver_clone net/bridge/br_forward.c:129 [inline]
br_flood+0x3c2/0x4d0 net/bridge/br_forward.c:238
br_handle_frame_finish+0xf41/0x1410 net/bridge/br_input.c:167
br_nf_hook_thresh+0x2a3/0x330 net/bridge/br_netfilter_hooks.c:1014
br_nf_pre_routing_finish_ipv6+0x6e3/0xd40 net/bridge/br_netfilter_ipv6.c:210
NF_HOOK include/linux/netfilter.h:289 [inline]
br_nf_pre_routing_ipv6+0x3f4/0x860 net/bridge/br_netfilter_ipv6.c:240
br_nf_pre_routing+0xf05/0x1500 net/bridge/br_netfilter_hooks.c:494
nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline]
nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:511
nf_hook include/linux/netfilter.h:244 [inline]
NF_HOOK include/linux/netfilter.h:287 [inline]
br_handle_frame+0xa60/0x13b0 net/bridge/br_input.c:306
__netif_receive_skb_core+0x929/0x3270 net/core/dev.c:4876
__netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:4952
__netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066
process_backlog+0x241/0x700 net/core/dev.c:5849
napi_poll net/core/dev.c:6280 [inline]
net_rx_action+0x4ac/0xfb0 net/core/dev.c:6346
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:__schedule+0x0/0x2040 kernel/sched/core.c:3428
Code: 80 f9 eb da e8 51 28 80 f9 e9 4e ff ff ff e8 d7 24 80 f9 e9 08 ff ff ff e8 1d 27 80 f9 e9 6f ff ff ff 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 41 57 48 8d 85 78 ff ff ff 41 56 49 be 00 00 00 00 00
RSP: 0018:ffff888048b7f598 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff1101394511d
RDX: 0000000000000000 RSI: ffff88809ca288c8 RDI: 0000000000000001
RBP: ffffed1013945008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809ca28040
R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000
preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3744
retint_kernel+0x1b/0x2d
RIP: 0010:vfs_fsync_range+0x5e/0x220 fs/sync.c:193
Code: 80 3c 02 00 0f 85 84 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 28 48 8d bb 80 00 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 6b 01 00 00 48 8b 9b 80 00 00 00 48 85 db 0f 84 43 01 00 00
RSP: 0018:ffff888048b7f670 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: ffffffff887a31e0 RCX: ffffc90005d1c000
RDX: 1ffffffff10f464c RSI: ffffffff81af6c83 RDI: ffffffff887a3260
RBP: ffff8880aaa1aa40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000000010a9 R14: 0000000000001fff R15: ffff8880aaa1aa68
generic_write_sync include/linux/fs.h:2750 [inline]
ext4_file_write_iter+0x726/0xf20 fs/ext4/file.c:283
do_iter_readv_writev+0x668/0
Lost 35 message(s)!
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 00 00 add %al,(%rax)
2: 85 c0 test %eax,%eax
4: 0f 84 f6 f7 ff ff je 0xfffff800
a: ba 04 00 00 00 mov $0x4,%edx
f: 4c 89 d6 mov %r10,%rsi
12: 4c 89 ef mov %r13,%rdi
15: 44 89 44 24 30 mov %r8d,0x30(%rsp)
1a: 44 89 4c 24 28 mov %r9d,0x28(%rsp)
1f: 4c 89 54 24 20 mov %r10,0x20(%rsp)
24: e8 ec df ff ff callq 0xffffe015
* 29: 85 c0 test %eax,%eax <-- trapping instruction
2b: 0f 84 ba f3 ff ff je 0xfffff3eb
31: 48 89 ea mov %rbp,%rdx
34: 4c 8b 54 24 20 mov 0x20(%rsp),%r10
39: 48 rex.W
3a: b8 00 00 00 00 mov $0x0,%eax


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Mar 29, 2022, 9:03:23 AM3/29/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages