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: 0 PID: 133 Comm: kworker/u4:5 Not tainted 6.8.0-rc1-next-20240122-syzkaller-g319fbd8fc6d3 #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.0.16' (ED25519) to the list of known hosts.
2024/01/22 05:43:34 fuzzer started
2024/01/22 05:43:35 connecting to host at 10.128.0.169:41259
2024/01/22 05:43:35 checking machine...
2024/01/22 05:43:35 checking revisions...
2024/01/22 05:43:35 testing simple program...
[ 74.495345][ T5061] cgroup: Unknown subsys name 'net'
[ 74.640964][ T5061] cgroup: Unknown subsys name 'rlimit'
[ 76.207083][ T5061] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 76.395486][ T5067] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 76.403610][ T5067] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 76.411698][ T5067] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 76.421194][ T5067] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 76.428848][ T5067] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 76.436428][ T5067] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 76.609316][ T5064] chnl_net:caif_netlink_parms(): no params data found
[ 76.685979][ T5064] bridge0: port 1(bridge_slave_0) entered blocking state
[ 76.694011][ T5064] bridge0: port 1(bridge_slave_0) entered disabled state
[ 76.701681][ T5064] bridge_slave_0: entered allmulticast mode
[ 76.708832][ T5064] bridge_slave_0: entered promiscuous mode
[ 76.718952][ T5064] bridge0: port 2(bridge_slave_1) entered blocking state
[ 76.726357][ T5064] bridge0: port 2(bridge_slave_1) entered disabled state
[ 76.734008][ T5064] bridge_slave_1: entered allmulticast mode
[ 76.741357][ T5064] bridge_slave_1: entered promiscuous mode
[ 76.775230][ T5064] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 76.788299][ T5064] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 76.825841][ T5064] team0: Port device team_slave_0 added
[ 76.834585][ T5064] team0: Port device team_slave_1 added
[ 76.864188][ T5064] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 76.871542][ T5064] 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.898501][ T5064] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 76.912850][ T5064] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 76.920427][ T5064] 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.947472][ T5064] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 76.994545][ T5064] hsr_slave_0: entered promiscuous mode
[ 77.002455][ T5064] hsr_slave_1: entered promiscuous mode
[ 77.150548][ T5064] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 77.164759][ T5064] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 77.175873][ T5064] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 77.188079][ T5064] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 77.220341][ T5064] bridge0: port 2(bridge_slave_1) entered blocking state
[ 77.228012][ T5064] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 77.236225][ T5064] bridge0: port 1(bridge_slave_0) entered blocking state
[ 77.243802][ T5064] bridge0: port 1(bridge_slave_0) entered forwarding state
executing program
[ 77.322626][ T5064] 8021q: adding VLAN 0 to HW filter on device bond0
[ 77.345551][ T8] bridge0: port 1(bridge_slave_0) entered disabled state
[ 77.354634][ T8] bridge0: port 2(bridge_slave_1) entered disabled state
[ 77.373074][ T5064] 8021q: adding VLAN 0 to HW filter on device team0
[ 77.393113][ T8] bridge0: port 1(bridge_slave_0) entered blocking state
[ 77.400443][ T8] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 77.409596][ T8] bridge0: port 2(bridge_slave_1) entered blocking state
[ 77.417510][ T8] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 77.602825][ T5064] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 77.647466][ T5064] veth0_vlan: entered promiscuous mode
[ 77.668979][ T5064] veth1_vlan: entered promiscuous mode
[ 77.715296][ T5064] veth0_macvtap: entered promiscuous mode
[ 77.727972][ T5064] veth1_macvtap: entered promiscuous mode
[ 77.753107][ T5064] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 77.773495][ T5064] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 77.786601][ T5064] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.796554][ T5064] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.806444][ T5064] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.815723][ T5064] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.905661][ T12] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 77.915908][ T12] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 77.965401][ T59] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 77.974044][ T59] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
2024/01/22 05:43:38 building call list...
executing program
[ 81.428120][ T133] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 82.204140][ 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.533385][ T5056] can: request_module (can-proto-0) failed.
[ 82.582958][ T5056] can: request_module (can-proto-0) failed.
[ 82.632254][ T5056] can: request_module (can-proto-0) failed.
executing program
[ 83.654464][ T133] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 83.792546][ T133] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 83.916657][ T133] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 84.046081][ T5056] UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
[ 84.188487][ T133] INFO: trying to register non-static key.
[ 84.194440][ T133] The code is fine but needs lockdep annotation, or maybe
[ 84.201919][ T133] you didn't initialize this object before use?
[ 84.208522][ T133] turning off the locking correctness validator.
[ 84.215559][ T133] CPU: 0 PID: 133 Comm: kworker/u4:5 Not tainted 6.8.0-rc1-next-20240122-syzkaller-g319fbd8fc6d3 #0
[ 84.226518][ T133] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
[ 84.237052][ T133] Workqueue: netns cleanup_net
[ 84.241850][ T133] Call Trace:
[ 84.245398][ T133]
[ 84.249031][ T133] dump_stack_lvl+0xd9/0x1b0
[ 84.254079][ T133] register_lock_class+0xc2a/0x1230
[ 84.259723][ T133] ? lockdep_unlock+0x11a/0x290
[ 84.264669][ T133] ? __lock_acquire+0x1fb0/0x3b30
[ 84.269789][ T133] ? __pfx_register_lock_class+0x10/0x10
[ 84.275527][ T133] __lock_acquire+0x111/0x3b30
[ 84.280303][ T133] ? lock_acquire+0x1b1/0x540
[ 84.286052][ T133] ? __pfx___lock_acquire+0x10/0x10
[ 84.291359][ T133] ? inet_unhash+0x464/0x6e0
[ 84.296051][ T133] lock_acquire+0x1b1/0x540
[ 84.300652][ T133] ? inet_csk_listen_stop+0x35a/0x11e0
[ 84.307552][ T133] ? __pfx_lock_acquire+0x10/0x10
[ 84.312957][ T133] ? trace_inet_sock_set_state+0x19d/0x1f0
[ 84.319130][ T133] ? inet_sk_state_store+0x49/0x90
[ 84.324355][ T133] ? tcp_set_state+0x249/0x800
[ 84.329165][ T133] _raw_spin_lock_bh+0x33/0x40
[ 84.334041][ T133] ? inet_csk_listen_stop+0x35a/0x11e0
[ 84.339611][ T133] inet_csk_listen_stop+0x35a/0x11e0
[ 84.344906][ T133] ? tcp_close+0x1d/0xc0
[ 84.349254][ T133] __tcp_close+0xc6f/0xfe0
[ 84.353943][ T133] tcp_close+0x2d/0xc0
[ 84.358011][ T133] inet_release+0x134/0x270
[ 84.362712][ T133] ? __pfx_sock_def_readable+0x10/0x10
[ 84.368284][ T133] inet6_release+0x4f/0x70
[ 84.372944][ T133] sock_release+0x8e/0x1d0
[ 84.377398][ T133] rds_tcp_listen_stop+0x114/0x150
[ 84.382534][ T133] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 84.388007][ T133] rds_tcp_exit_net+0xcc/0x820
[ 84.392869][ T133] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 84.398339][ T133] ? __pfx___might_resched+0x10/0x10
[ 84.403634][ T133] ? __pfx_rds_tcp_exit_net+0x10/0x10
[ 84.409195][ T133] ops_exit_list+0xb0/0x180
[ 84.413794][ T133] cleanup_net+0x508/0xb20
[ 84.418405][ T133] ? __pfx_cleanup_net+0x10/0x10
[ 84.423791][ T133] process_one_work+0x8d5/0x16e0
[ 84.428824][ T133] ? __pfx_lock_acquire+0x10/0x10
[ 84.434119][ T133] ? __pfx_process_one_work+0x10/0x10
[ 84.439946][ T133] ? assign_work+0x1a0/0x250
[ 84.444630][ T133] worker_thread+0x8b6/0x1290
[ 84.449309][ T133] ? __pfx_worker_thread+0x10/0x10
[ 84.454459][ T133] kthread+0x2c1/0x3a0
[ 84.458556][ T133] ? _raw_spin_unlock_irq+0x23/0x50
[ 84.463973][ T133] ? __pfx_kthread+0x10/0x10
[ 84.468841][ T133] ret_from_fork+0x45/0x80
[ 84.473616][ T133] ? __pfx_kthread+0x10/0x10
[ 84.478299][ T133] ret_from_fork_asm+0x1a/0x30
[ 84.483251][ T133]
[ 84.955481][ T5056] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
[ 84.967859][ T5056] base_sock_release(ffff88807b356c00) sk=ffff88807ca9c000
[ 85.267366][ T133] hsr_slave_0: left promiscuous mode
[ 85.280671][ T133] hsr_slave_1: left promiscuous mode
[ 85.302549][ T133] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 85.319898][ T133] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 85.328618][ T133] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 85.337051][ T133] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 85.345742][ T133] bridge_slave_1: left allmulticast mode
[ 85.352861][ T133] bridge_slave_1: left promiscuous mode
[ 85.358783][ T133] bridge0: port 2(bridge_slave_1) entered disabled state
[ 85.368979][ T133] bridge_slave_0: left allmulticast mode
[ 85.376031][ T133] bridge_slave_0: left promiscuous mode
[ 85.382537][ T133] bridge0: port 1(bridge_slave_0) entered disabled state
[ 85.396884][ T133] veth1_macvtap: left promiscuous mode
[ 85.403077][ T133] veth0_macvtap: left promiscuous mode
[ 85.408830][ T133] veth1_vlan: left promiscuous mode
[ 85.415130][ T133] 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-build1676701233=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at 2f19aa4f8
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=2f19aa4f873578acf44b3bf4d4ae98e52c2817ca -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230711-133936'" "-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=2f19aa4f873578acf44b3bf4d4ae98e52c2817ca -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230711-133936'" "-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=2f19aa4f873578acf44b3bf4d4ae98e52c2817ca -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230711-133936'" "-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=\"2f19aa4f873578acf44b3bf4d4ae98e52c2817ca\"