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: 1096 Comm: kworker/u4:7 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.0.241' (ED25519) to the list of known hosts. 2024/01/23 20:06:30 ignoring optional flag "pprof_port"="0" 2024/01/23 20:06:30 ignoring optional flag "reset_acc_state"="false" 2024/01/23 20:06:30 fuzzer started 2024/01/23 20:06:30 connecting to host at 10.128.0.169:33499 2024/01/23 20:06:30 checking machine... 2024/01/23 20:06:30 checking revisions... 2024/01/23 20:06:31 testing simple program... [ 74.261759][ T5061] cgroup: Unknown subsys name 'net' [ 74.371474][ T5061] cgroup: Unknown subsys name 'rlimit' [ 74.650490][ T5064] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 74.659533][ T5064] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 74.667555][ T5064] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 74.675833][ T5064] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 74.684273][ T5064] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 74.691949][ T5064] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 74.873573][ T5063] chnl_net:caif_netlink_parms(): no params data found [ 74.956681][ T5063] bridge0: port 1(bridge_slave_0) entered blocking state [ 74.964833][ T5063] bridge0: port 1(bridge_slave_0) entered disabled state [ 74.972471][ T5063] bridge_slave_0: entered allmulticast mode [ 74.980765][ T5063] bridge_slave_0: entered promiscuous mode [ 74.991349][ T5063] bridge0: port 2(bridge_slave_1) entered blocking state [ 74.998738][ T5063] bridge0: port 2(bridge_slave_1) entered disabled state [ 75.006204][ T5063] bridge_slave_1: entered allmulticast mode [ 75.013592][ T5063] bridge_slave_1: entered promiscuous mode [ 75.048357][ T5063] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 75.062256][ T5063] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 75.101378][ T5063] team0: Port device team_slave_0 added [ 75.110815][ T5063] team0: Port device team_slave_1 added [ 75.142000][ T5063] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 75.149404][ T5063] 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.176900][ T5063] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 75.192092][ T5063] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 75.199558][ T5063] 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.226718][ T5063] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 75.276179][ T5063] hsr_slave_0: entered promiscuous mode [ 75.283746][ T5063] hsr_slave_1: entered promiscuous mode [ 75.437922][ T5063] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 75.451431][ T5063] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 75.462233][ T5063] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 75.473249][ T5063] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 75.507956][ T5063] bridge0: port 2(bridge_slave_1) entered blocking state [ 75.515534][ T5063] bridge0: port 2(bridge_slave_1) entered forwarding state [ 75.524281][ T5063] bridge0: port 1(bridge_slave_0) entered blocking state [ 75.532085][ T5063] bridge0: port 1(bridge_slave_0) entered forwarding state [ 75.614064][ T5063] 8021q: adding VLAN 0 to HW filter on device bond0 [ 75.633978][ T27] bridge0: port 1(bridge_slave_0) entered disabled state [ 75.643403][ T27] bridge0: port 2(bridge_slave_1) entered disabled state [ 75.660758][ T5063] 8021q: adding VLAN 0 to HW filter on device team0 [ 75.682333][ T27] bridge0: port 1(bridge_slave_0) entered blocking state [ 75.689748][ T27] bridge0: port 1(bridge_slave_0) entered forwarding state [ 75.698996][ T27] bridge0: port 2(bridge_slave_1) entered blocking state [ 75.706137][ T27] bridge0: port 2(bridge_slave_1) entered forwarding state [ 75.756531][ T5063] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 75.769635][ T5063] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 75.916496][ T5063] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 75.964980][ T5063] veth0_vlan: entered promiscuous mode [ 75.977498][ T5063] veth1_vlan: entered promiscuous mode [ 76.015948][ T5063] veth0_macvtap: entered promiscuous mode [ 76.027419][ T5063] veth1_macvtap: entered promiscuous mode [ 76.047451][ T5063] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 76.065577][ T5063] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 76.081195][ T5063] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.090226][ T5063] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.099263][ T5063] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.107977][ T5063] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.207168][ T2440] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 76.219426][ T2440] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 76.275949][ T2440] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 76.285839][ T2440] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 2024/01/23 20:06:33 building call list... executing program [ 79.435827][ T1096] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 executing program [ 81.435473][ T1096] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 81.535312][ T5081] 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. [ 81.570192][ T1096] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 81.730052][ T1096] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 81.987728][ T1096] INFO: trying to register non-static key. [ 81.993732][ T1096] The code is fine but needs lockdep annotation, or maybe [ 82.001048][ T1096] you didn't initialize this object before use? [ 82.007614][ T1096] turning off the locking correctness validator. [ 82.014059][ T1096] CPU: 0 PID: 1096 Comm: kworker/u4:7 Not tainted 6.8.0-rc1-next-20240123-syzkaller-g774551425799 #0 [ 82.025295][ T1096] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 82.035564][ T1096] Workqueue: netns cleanup_net [ 82.040440][ T1096] Call Trace: [ 82.043809][ T1096] [ 82.046736][ T1096] dump_stack_lvl+0xd9/0x1b0 [ 82.051336][ T1096] register_lock_class+0xc2a/0x1230 [ 82.056545][ T1096] ? lockdep_unlock+0x11a/0x290 [ 82.061492][ T1096] ? __lock_acquire+0x1fb0/0x3b30 [ 82.066557][ T1096] ? __pfx_register_lock_class+0x10/0x10 [ 82.072285][ T1096] __lock_acquire+0x111/0x3b30 [ 82.078101][ T1096] ? lock_acquire+0x1b1/0x540 [ 82.082785][ T1096] ? __pfx___lock_acquire+0x10/0x10 [ 82.088008][ T1096] ? inet_unhash+0x464/0x6e0 [ 82.092696][ T1096] lock_acquire+0x1b1/0x540 [ 82.097306][ T1096] ? inet_csk_listen_stop+0x35a/0x11e0 [ 82.102856][ T1096] ? __pfx_lock_acquire+0x10/0x10 [ 82.108146][ T1096] ? trace_inet_sock_set_state+0x19d/0x1f0 [ 82.113977][ T1096] ? inet_sk_state_store+0x49/0x90 [ 82.119098][ T1096] ? tcp_set_state+0x249/0x800 [ 82.123965][ T1096] _raw_spin_lock_bh+0x33/0x40 [ 82.128731][ T1096] ? inet_csk_listen_stop+0x35a/0x11e0 [ 82.134279][ T1096] inet_csk_listen_stop+0x35a/0x11e0 [ 82.139568][ T1096] ? tcp_close+0x1d/0xc0 [ 82.143841][ T1096] __tcp_close+0xc6f/0xfe0 [ 82.148505][ T1096] tcp_close+0x2d/0xc0 [ 82.152756][ T1096] inet_release+0x134/0x270 [ 82.157262][ T1096] ? __pfx_sock_def_readable+0x10/0x10 [ 82.162904][ T1096] inet6_release+0x4f/0x70 [ 82.167321][ T1096] sock_release+0x8e/0x1d0 [ 82.171742][ T1096] rds_tcp_listen_stop+0x114/0x150 [ 82.176860][ T1096] ? __pfx_rds_tcp_exit_net+0x10/0x10 [ 82.182321][ T1096] rds_tcp_exit_net+0xcc/0x820 [ 82.187365][ T1096] ? __pfx_rds_tcp_exit_net+0x10/0x10 [ 82.192829][ T1096] ? __pfx___might_resched+0x10/0x10 [ 82.198298][ T1096] ? __pfx_rds_tcp_exit_net+0x10/0x10 [ 82.203932][ T1096] ops_exit_list+0xb0/0x180 [ 82.208434][ T1096] cleanup_net+0x508/0xb20 [ 82.213110][ T1096] ? __pfx_cleanup_net+0x10/0x10 [ 82.218151][ T1096] process_one_work+0x8d5/0x16e0 [ 82.223182][ T1096] ? __pfx_batadv_nc_worker+0x10/0x10 [ 82.229538][ T1096] ? __pfx_process_one_work+0x10/0x10 [ 82.235008][ T1096] ? assign_work+0x1a0/0x250 [ 82.239617][ T1096] worker_thread+0x8b6/0x1290 [ 82.244470][ T1096] ? __kthread_parkme+0x148/0x220 [ 82.249602][ T1096] ? __pfx_worker_thread+0x10/0x10 [ 82.254807][ T1096] kthread+0x2c1/0x3a0 [ 82.258887][ T1096] ? _raw_spin_unlock_irq+0x23/0x50 [ 82.264087][ T1096] ? __pfx_kthread+0x10/0x10 [ 82.268794][ T1096] ret_from_fork+0x45/0x80 [ 82.273216][ T1096] ? __pfx_kthread+0x10/0x10 [ 82.277814][ T1096] ret_from_fork_asm+0x1a/0x30 [ 82.283399][ T1096] [ 82.300443][ T5081] can: request_module (can-proto-0) failed. [ 82.370178][ T5081] can: request_module (can-proto-0) failed. [ 82.406166][ T5081] can: request_module (can-proto-0) failed. executing program [ 83.189046][ T1096] hsr_slave_0: left promiscuous mode [ 83.203761][ T1096] hsr_slave_1: left promiscuous mode [ 83.220284][ T1096] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 83.227737][ T1096] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 83.241023][ T1096] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 83.248466][ T1096] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 83.258137][ T1096] bridge_slave_1: left allmulticast mode [ 83.265294][ T1096] bridge_slave_1: left promiscuous mode [ 83.271557][ T1096] bridge0: port 2(bridge_slave_1) entered disabled state [ 83.281864][ T1096] bridge_slave_0: left allmulticast mode [ 83.287551][ T1096] bridge_slave_0: left promiscuous mode [ 83.294126][ T1096] bridge0: port 1(bridge_slave_0) entered disabled state [ 83.310439][ T1096] veth1_macvtap: left promiscuous mode [ 83.316049][ T1096] veth0_macvtap: left promiscuous mode [ 83.323817][ T1096] veth1_vlan: left promiscuous mode [ 83.330345][ T1096] veth0_vlan: left promiscuous mode [ 83.402767][ T5081] UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list [ 83.650955][ T1096] team0 (unregistering): Port device team_slave_1 removed [ 83.675898][ T1096] team0 (unregistering): Port device team_slave_0 removed [ 83.695355][ T1096] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 83.714687][ T1096] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 83.833261][ T1096] bond0 (unregistering): Released all slaves [ 83.889688][ T5081] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list [ 83.901723][ T5081] base_sock_release(ffff88807a37f200) sk=ffff88802efff000 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-build3879802184=/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\"