INFO: trying to register non-static key in inet_csk_listen_stop
netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 0 PID: 32 Comm: kworker/u4:2 Not tainted 6.8.0-rc1-next-20240123-syzkaller-g774551425799 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: netns cleanup_net
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
assign_lock_key kernel/locking/lockdep.c:976 [inline]
register_lock_class+0xc2a/0x1230 kernel/locking/lockdep.c:1289
__lock_acquire+0x111/0x3b30 kernel/locking/lockdep.c:5014
lock_acquire kernel/locking/lockdep.c:5754 [inline]
lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:356 [inline]
reqsk_queue_remove include/net/request_sock.h:205 [inline]
inet_csk_listen_stop+0x35a/0x11e0 net/ipv4/inet_connection_sock.c:1385
__tcp_close+0xc6f/0xfe0 net/ipv4/tcp.c:2761
tcp_close+0x2d/0xc0 net/ipv4/tcp.c:2920
inet_release+0x134/0x270 net/ipv4/af_inet.c:436
inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:485
__sock_release net/socket.c:659 [inline]
sock_release+0x8e/0x1d0 net/socket.c:687
rds_tcp_listen_stop+0x114/0x150 net/rds/tcp_listen.c:349
rds_tcp_kill_sock net/rds/tcp.c:614 [inline]
rds_tcp_exit_net+0xcc/0x820 net/rds/tcp.c:637
ops_exit_list+0xb0/0x180 net/core/net_namespace.c:170
cleanup_net+0x508/0xb20 net/core/net_namespace.c:618
process_one_work+0x8d5/0x16e0 kernel/workqueue.c:2633
process_scheduled_works kernel/workqueue.c:2707 [inline]
worker_thread+0x8b6/0x1290 kernel/workqueue.c:2788
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242
hsr_slave_0: left promiscuous mode
hsr_slave_1: left promiscuous mode
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
bridge_slave_1: left allmulticast mode
bridge_slave_1: left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
bridge_slave_0: left allmulticast mode
bridge_slave_0: left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
veth1_macvtap: left promiscuous mode
veth0_macvtap: left promiscuous mode
veth1_vlan: left promiscuous mode
veth0_vlan: left promiscuous mode
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): Released all slaves
Warning: Permanently added '10.128.1.161' (ED25519) to the list of known hosts.
2024/01/23 06:47:50 ignoring optional flag "raw_cover"="false"
2024/01/23 06:47:50 ignoring optional flag "sandbox_arg"="0"
2024/01/23 06:47:50 ignoring optional flag "pprof_port"="0"
2024/01/23 06:47:50 fuzzer started
2024/01/23 06:47:50 connecting to host at 10.128.0.169:32783
2024/01/23 06:47:50 checking machine...
2024/01/23 06:47:50 checking revisions...
2024/01/23 06:47:50 testing simple program...
[ 75.102125][ T51] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 75.111184][ T51] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 75.119958][ T51] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 75.128141][ T51] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 75.136531][ T51] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 75.143894][ T51] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 75.305670][ T5055] chnl_net:caif_netlink_parms(): no params data found
[ 75.387219][ T5055] bridge0: port 1(bridge_slave_0) entered blocking state
[ 75.395485][ T5055] bridge0: port 1(bridge_slave_0) entered disabled state
[ 75.403117][ T5055] bridge_slave_0: entered allmulticast mode
[ 75.410686][ T5055] bridge_slave_0: entered promiscuous mode
[ 75.421046][ T5055] bridge0: port 2(bridge_slave_1) entered blocking state
[ 75.428529][ T5055] bridge0: port 2(bridge_slave_1) entered disabled state
[ 75.435831][ T5055] bridge_slave_1: entered allmulticast mode
[ 75.443040][ T5055] bridge_slave_1: entered promiscuous mode
[ 75.479023][ T5055] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 75.491260][ T5055] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 75.530366][ T5055] team0: Port device team_slave_0 added
[ 75.540061][ T5055] team0: Port device team_slave_1 added
[ 75.570877][ T5055] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 75.578022][ T5055] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
[ 75.604572][ T5055] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 75.617827][ T5055] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 75.625034][ T5055] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
[ 75.651963][ T5055] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 75.695295][ T5055] hsr_slave_0: entered promiscuous mode
[ 75.702238][ T5055] hsr_slave_1: entered promiscuous mode
[ 75.859793][ T5055] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 75.873055][ T5055] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 75.885886][ T5055] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 75.898283][ T5055] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 75.932322][ T5055] bridge0: port 2(bridge_slave_1) entered blocking state
[ 75.939953][ T5055] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 75.948472][ T5055] bridge0: port 1(bridge_slave_0) entered blocking state
[ 75.955712][ T5055] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 76.038503][ T5055] 8021q: adding VLAN 0 to HW filter on device bond0
[ 76.061283][ T1151] bridge0: port 1(bridge_slave_0) entered disabled state
[ 76.071066][ T1151] bridge0: port 2(bridge_slave_1) entered disabled state
[ 76.090309][ T5055] 8021q: adding VLAN 0 to HW filter on device team0
[ 76.120929][ T4796] bridge0: port 1(bridge_slave_0) entered blocking state
[ 76.128217][ T4796] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 76.139695][ T4796] bridge0: port 2(bridge_slave_1) entered blocking state
[ 76.147037][ T4796] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 76.233966][ T5055] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 76.441369][ T5055] veth0_vlan: entered promiscuous mode
[ 76.457229][ T5055] veth1_vlan: entered promiscuous mode
executing program
[ 76.495758][ T5055] veth0_macvtap: entered promiscuous mode
[ 76.508199][ T5055] veth1_macvtap: entered promiscuous mode
[ 76.530896][ T5055] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 76.549922][ T5055] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 76.563710][ T5055] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 76.573535][ T5055] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 76.582691][ T5055] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 76.592087][ T5055] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 76.700452][ T4796] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 76.714208][ T4796] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 76.743338][ T2805] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 76.751877][ T2805] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
2024/01/23 06:47:53 building call list...
executing program
[ 79.718855][ T32] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 82.326124][ T32] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 82.420480][ T32] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
executing program
[ 82.625876][ T32] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 82.960344][ T5051] can: request_module (can-proto-0) failed.
[ 83.071757][ T5051] can: request_module (can-proto-0) failed.
[ 83.117785][ T5051] can: request_module (can-proto-0) failed.
[ 83.141350][ T32] INFO: trying to register non-static key.
[ 83.147219][ T32] The code is fine but needs lockdep annotation, or maybe
[ 83.154636][ T32] you didn't initialize this object before use?
[ 83.160913][ T32] turning off the locking correctness validator.
[ 83.167533][ T32] CPU: 0 PID: 32 Comm: kworker/u4:2 Not tainted 6.8.0-rc1-next-20240123-syzkaller-g774551425799 #0
[ 83.178499][ T32] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
[ 83.188846][ T32] Workqueue: netns cleanup_net
[ 83.193654][ T32] Call Trace:
[ 83.196953][ T32]
[ 83.199906][ T32] dump_stack_lvl+0xd9/0x1b0
[ 83.204536][ T32] register_lock_class+0xc2a/0x1230
[ 83.209776][ T32] ? __switch_to+0x749/0x1370
[ 83.214631][ T32] ? __pfx_register_lock_class+0x10/0x10
[ 83.220858][ T32] ? mark_held_locks+0x9f/0xe0
[ 83.225669][ T32] __lock_acquire+0x111/0x3b30
[ 83.230483][ T32] ? lock_acquire+0x1f2/0x540
[ 83.235297][ T32] ? __pfx___lock_acquire+0x10/0x10
[ 83.240715][ T32] lock_acquire+0x1b1/0x540
[ 83.245345][ T32] ? inet_csk_listen_stop+0x35a/0x11e0
[ 83.250913][ T32] ? __pfx_lock_acquire+0x10/0x10
[ 83.256121][ T32] ? trace_inet_sock_set_state+0x19d/0x1f0
[ 83.261934][ T32] ? inet_sk_state_store+0x49/0x90
[ 83.267138][ T32] ? tcp_set_state+0x249/0x800
[ 83.271909][ T32] _raw_spin_lock_bh+0x33/0x40
[ 83.276771][ T32] ? inet_csk_listen_stop+0x35a/0x11e0
[ 83.282338][ T32] inet_csk_listen_stop+0x35a/0x11e0
[ 83.287886][ T32] ? tcp_close+0x1d/0xc0
[ 83.292142][ T32] __tcp_close+0xc6f/0xfe0
[ 83.296606][ T32] tcp_close+0x2d/0xc0
[ 83.300774][ T32] inet_release+0x134/0x270
[ 83.305284][ T32] ? __pfx_sock_def_readable+0x10/0x10
[ 83.310835][ T32] inet6_release+0x4f/0x70
[ 83.315514][ T32] sock_release+0x8e/0x1d0
[ 83.319932][ T32] rds_tcp_listen_stop+0x114/0x150
[ 83.325046][ T32] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 83.330505][ T32] rds_tcp_exit_net+0xcc/0x820
[ 83.335276][ T32] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 83.340649][ T32] ? __pfx___might_resched+0x10/0x10
[ 83.346197][ T32] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 83.351581][ T32] ops_exit_list+0xb0/0x180
[ 83.356096][ T32] cleanup_net+0x508/0xb20
[ 83.360513][ T32] ? __pfx_cleanup_net+0x10/0x10
[ 83.365455][ T32] process_one_work+0x8d5/0x16e0
[ 83.370393][ T32] ? __pfx_batadv_nc_worker+0x10/0x10
[ 83.375776][ T32] ? __pfx_process_one_work+0x10/0x10
[ 83.381231][ T32] ? assign_work+0x1a0/0x250
[ 83.385915][ T32] worker_thread+0x8b6/0x1290
[ 83.390600][ T32] ? __pfx_worker_thread+0x10/0x10
[ 83.395711][ T32] kthread+0x2c1/0x3a0
[ 83.399796][ T32] ? _raw_spin_unlock_irq+0x23/0x50
[ 83.404993][ T32] ? __pfx_kthread+0x10/0x10
[ 83.409596][ T32] ret_from_fork+0x45/0x80
[ 83.414033][ T32] ? __pfx_kthread+0x10/0x10
[ 83.418712][ T32] ret_from_fork_asm+0x1a/0x30
[ 83.423491][ T32]
[ 84.003669][ T5051] UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
[ 84.160166][ T32] hsr_slave_0: left promiscuous mode
[ 84.175923][ T32] hsr_slave_1: left promiscuous mode
[ 84.185379][ T32] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 84.203299][ T32] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 84.217073][ T32] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 84.234762][ T32] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 84.245924][ T32] bridge_slave_1: left allmulticast mode
[ 84.251679][ T32] bridge_slave_1: left promiscuous mode
[ 84.257947][ T32] bridge0: port 2(bridge_slave_1) entered disabled state
[ 84.272640][ T32] bridge_slave_0: left allmulticast mode
[ 84.279162][ T32] bridge_slave_0: left promiscuous mode
[ 84.285874][ T32] bridge0: port 1(bridge_slave_0) entered disabled state
[ 84.300528][ T32] veth1_macvtap: left promiscuous mode
[ 84.307118][ T32] veth0_macvtap: left promiscuous mode
[ 84.312836][ T32] veth1_vlan: left promiscuous mode
[ 84.318917][ T32] veth0_vlan: left promiscuous mode
[ 84.643610][ T32] team0 (unregistering): Port device team_slave_1 removed
[ 84.661038][ T5051] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
[ 84.682208][ T32] team0 (unregistering): Port device team_slave_0 removed
[ 84.700410][ T32] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 84.709922][ T5051] base_sock_release(ffff88807919e000) sk=ffff88801df0c000
[ 84.726460][ T32] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 84.841192][ T32] bond0 (unregistering): Released all slaves
syzkaller build log:
go env (err=)
GO111MODULE='auto'
GOARCH='amd64'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.4'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1885486796=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at a8529b82f
nothing to commit, working tree clean
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=a8529b82fb3bb45832b08a099e7eb51707da9b37 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20210326-100720'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=a8529b82fb3bb45832b08a099e7eb51707da9b37 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20210326-100720'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=a8529b82fb3bb45832b08a099e7eb51707da9b37 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20210326-100720'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
mkdir -p ./bin/linux_amd64
gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \
-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"a8529b82fb3bb45832b08a099e7eb51707da9b37\"