INFO: trying to register non-static key in inet_csk_listen_stop
netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
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: 1 PID: 2473 Comm: kworker/u4:10 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
Warning: Permanently added '10.128.1.17' (ED25519) to the list of known hosts.
2024/01/23 20:21:27 ignoring optional flag "pprof_port"="0"
2024/01/23 20:21:27 ignoring optional flag "reset_acc_state"="false"
2024/01/23 20:21:27 fuzzer started
2024/01/23 20:21:28 connecting to host at 10.128.0.169:34819
2024/01/23 20:21:28 checking machine...
2024/01/23 20:21:28 checking revisions...
2024/01/23 20:21:28 testing simple program...
[ 75.735121][ T5058] cgroup: Unknown subsys name 'net'
[ 75.880369][ T5058] cgroup: Unknown subsys name 'rlimit'
[ 76.155992][ T5064] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 76.164535][ T5064] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 76.173088][ T5064] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 76.181180][ T5064] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 76.188967][ T5064] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 76.196873][ T5064] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 76.380882][ T5062] chnl_net:caif_netlink_parms(): no params data found
[ 76.459917][ T5062] bridge0: port 1(bridge_slave_0) entered blocking state
[ 76.467772][ T5062] bridge0: port 1(bridge_slave_0) entered disabled state
[ 76.476009][ T5062] bridge_slave_0: entered allmulticast mode
[ 76.483279][ T5062] bridge_slave_0: entered promiscuous mode
[ 76.493870][ T5062] bridge0: port 2(bridge_slave_1) entered blocking state
[ 76.501315][ T5062] bridge0: port 2(bridge_slave_1) entered disabled state
[ 76.508686][ T5062] bridge_slave_1: entered allmulticast mode
[ 76.517002][ T5062] bridge_slave_1: entered promiscuous mode
[ 76.551536][ T5062] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 76.564146][ T5062] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 76.601040][ T5062] team0: Port device team_slave_0 added
[ 76.610204][ T5062] team0: Port device team_slave_1 added
[ 76.639955][ T5062] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 76.647097][ T5062] 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.
[ 76.673181][ T5062] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 76.686687][ T5062] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 76.693943][ T5062] 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.
[ 76.720908][ T5062] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 76.768974][ T5062] hsr_slave_0: entered promiscuous mode
[ 76.776026][ T5062] hsr_slave_1: entered promiscuous mode
[ 76.932293][ T5062] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 76.945650][ T5062] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 76.958841][ T5062] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 76.973054][ T5062] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 77.007189][ T5062] bridge0: port 2(bridge_slave_1) entered blocking state
[ 77.014630][ T5062] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 77.022768][ T5062] bridge0: port 1(bridge_slave_0) entered blocking state
[ 77.030077][ T5062] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 77.104870][ T5062] 8021q: adding VLAN 0 to HW filter on device bond0
[ 77.126689][ T9] bridge0: port 1(bridge_slave_0) entered disabled state
[ 77.146877][ T9] bridge0: port 2(bridge_slave_1) entered disabled state
[ 77.164292][ T5062] 8021q: adding VLAN 0 to HW filter on device team0
[ 77.193570][ T5073] bridge0: port 1(bridge_slave_0) entered blocking state
[ 77.201265][ T5073] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 77.209689][ T5073] bridge0: port 2(bridge_slave_1) entered blocking state
[ 77.217078][ T5073] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 77.406120][ T5062] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 77.464553][ T5062] veth0_vlan: entered promiscuous mode
[ 77.477805][ T5062] veth1_vlan: entered promiscuous mode
[ 77.512138][ T5062] veth0_macvtap: entered promiscuous mode
[ 77.524826][ T5062] veth1_macvtap: entered promiscuous mode
[ 77.546480][ T5062] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 77.564841][ T5062] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 77.578419][ T5062] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.588224][ T5062] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.599379][ T5062] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.609458][ T5062] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.700037][ T2473] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 77.709015][ T2473] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 77.743178][ T2473] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 77.753268][ T2473] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
2024/01/23 20:21:30 building call list...
executing program
[ 81.015259][ T2473] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
executing program
[ 82.336667][ T5056] damon-dbgfs: DAMON debugfs interface is deprecated, so users should move to DAMON_SYSFS. If you cannot, please report your usecase to damon@lists.linux.dev and linux-mm@kvack.org.
[ 82.649021][ T5056] can: request_module (can-proto-0) failed.
[ 82.699857][ T5056] can: request_module (can-proto-0) failed.
[ 82.751562][ T5056] can: request_module (can-proto-0) failed.
[ 83.550797][ T2473] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 83.660796][ T2473] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 83.766764][ T2473] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 83.868728][ T5056] UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
[ 84.051495][ T2473] INFO: trying to register non-static key.
[ 84.057528][ T2473] The code is fine but needs lockdep annotation, or maybe
[ 84.064749][ T2473] you didn't initialize this object before use?
[ 84.071010][ T2473] turning off the locking correctness validator.
[ 84.077600][ T2473] CPU: 1 PID: 2473 Comm: kworker/u4:10 Not tainted 6.8.0-rc1-next-20240123-syzkaller-g774551425799 #0
[ 84.088675][ T2473] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
[ 84.098813][ T2473] Workqueue: netns cleanup_net
[ 84.103600][ T2473] Call Trace:
[ 84.106896][ T2473]
[ 84.109841][ T2473] dump_stack_lvl+0xd9/0x1b0
[ 84.114557][ T2473] register_lock_class+0xc2a/0x1230
[ 84.120390][ T2473] ? lockdep_unlock+0x11a/0x290
[ 84.125257][ T2473] ? __lock_acquire+0x1fb0/0x3b30
[ 84.130314][ T2473] ? __pfx_register_lock_class+0x10/0x10
[ 84.136079][ T2473] __lock_acquire+0x111/0x3b30
[ 84.140869][ T2473] ? lock_acquire+0x1b1/0x540
[ 84.145553][ T2473] ? __pfx___lock_acquire+0x10/0x10
[ 84.151105][ T2473] ? inet_unhash+0x464/0x6e0
[ 84.155711][ T2473] lock_acquire+0x1b1/0x540
[ 84.160261][ T2473] ? inet_csk_listen_stop+0x35a/0x11e0
[ 84.165719][ T2473] ? __pfx_lock_acquire+0x10/0x10
[ 84.170746][ T2473] ? trace_inet_sock_set_state+0x19d/0x1f0
[ 84.176728][ T2473] ? inet_sk_state_store+0x49/0x90
[ 84.182026][ T2473] ? tcp_set_state+0x249/0x800
[ 84.186796][ T2473] _raw_spin_lock_bh+0x33/0x40
[ 84.191654][ T2473] ? inet_csk_listen_stop+0x35a/0x11e0
[ 84.197289][ T2473] inet_csk_listen_stop+0x35a/0x11e0
[ 84.202577][ T2473] ? tcp_close+0x1d/0xc0
[ 84.207014][ T2473] __tcp_close+0xc6f/0xfe0
[ 84.211706][ T2473] tcp_close+0x2d/0xc0
[ 84.215881][ T2473] inet_release+0x134/0x270
[ 84.220475][ T2473] ? __pfx_sock_def_readable+0x10/0x10
[ 84.226027][ T2473] inet6_release+0x4f/0x70
[ 84.230583][ T2473] sock_release+0x8e/0x1d0
[ 84.235005][ T2473] rds_tcp_listen_stop+0x114/0x150
[ 84.240306][ T2473] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 84.246053][ T2473] rds_tcp_exit_net+0xcc/0x820
[ 84.250826][ T2473] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 84.256403][ T2473] ? __pfx___might_resched+0x10/0x10
[ 84.261790][ T2473] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 84.267178][ T2473] ops_exit_list+0xb0/0x180
[ 84.271690][ T2473] cleanup_net+0x508/0xb20
[ 84.276117][ T2473] ? __pfx_cleanup_net+0x10/0x10
[ 84.281071][ T2473] process_one_work+0x8d5/0x16e0
[ 84.286366][ T2473] ? __pfx_batadv_nc_worker+0x10/0x10
[ 84.291829][ T2473] ? __pfx_process_one_work+0x10/0x10
[ 84.297291][ T2473] ? assign_work+0x1a0/0x250
[ 84.301891][ T2473] worker_thread+0x8b6/0x1290
[ 84.306573][ T2473] ? __kthread_parkme+0x148/0x220
[ 84.311604][ T2473] ? __pfx_worker_thread+0x10/0x10
[ 84.316940][ T2473] kthread+0x2c1/0x3a0
[ 84.321323][ T2473] ? _raw_spin_unlock_irq+0x23/0x50
[ 84.326546][ T2473] ? __pfx_kthread+0x10/0x10
[ 84.331155][ T2473] ret_from_fork+0x45/0x80
[ 84.335586][ T2473] ? __pfx_kthread+0x10/0x10
[ 84.340365][ T2473] ret_from_fork_asm+0x1a/0x30
[ 84.345241][ T2473]
executing program
[ 84.825966][ T5056] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
[ 84.839557][ T5056] base_sock_release(ffff888025324800) sk=ffff88801ced1000
[ 85.109069][ T2473] hsr_slave_0: left promiscuous mode
[ 85.124261][ T2473] hsr_slave_1: left promiscuous mode
[ 85.140539][ T2473] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 85.154691][ T2473] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 85.164427][ T2473] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 85.172217][ T2473] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 85.183158][ T2473] bridge_slave_1: left allmulticast mode
[ 85.189186][ T2473] bridge_slave_1: left promiscuous mode
[ 85.210811][ T2473] bridge0: port 2(bridge_slave_1) entered disabled state
[ 85.234961][ T2473] bridge_slave_0: left allmulticast mode
[ 85.241677][ T2473] bridge_slave_0: left promiscuous mode
[ 85.247486][ T2473] bridge0: port 1(bridge_slave_0) entered disabled state
[ 85.262273][ T2473] veth1_macvtap: left promiscuous mode
[ 85.267944][ T2473] veth0_macvtap: left promiscuous mode
[ 85.279837][ T2473] veth1_vlan: left promiscuous mode
[ 85.285477][ T2473] veth0_vlan: left promiscuous mode
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-build1808873101=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at ee50e71ca
nothing to commit, working tree clean
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:32: run command via tools/syz-env for best compatibility, see:
Makefile:33: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=ee50e71ca65deab5f014ff0481809c7b2afa5427 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230224-102940'" "-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=ee50e71ca65deab5f014ff0481809c7b2afa5427 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230224-102940'" "-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=ee50e71ca65deab5f014ff0481809c7b2afa5427 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230224-102940'" "-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 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"ee50e71ca65deab5f014ff0481809c7b2afa5427\"