[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <691fcaeb.a70a0220.2ea503.0040.GAE@google.com>
Date: Thu, 20 Nov 2025 18:14:03 -0800
From: syzbot <syzbot+f098d64cc684b8dbaf65@...kaller.appspotmail.com>
To: eadavis@...com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bluetooth?] [usb?] memory leak in __hci_cmd_sync_sk
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
T963] bridge0: port 1(bridge_slave_0) entered blocking state
[ 54.863787][ T963] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 54.879703][ T5857] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network
[ 54.890172][ T5857] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
[ 54.902050][ T963] bridge0: port 2(bridge_slave_1) entered blocking state
[ 54.909213][ T963] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 54.946146][ T5857] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 54.961658][ T5857] veth0_vlan: entered promiscuous mode
[ 54.969001][ T5857] veth1_vlan: entered promiscuous mode
[ 54.980257][ T5857] veth0_macvtap: entered promiscuous mode
[ 54.987071][ T5857] veth1_macvtap: entered promiscuous mode
[ 54.996621][ T5857] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 55.005891][ T5857] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 55.014967][ T58] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.023937][ T58] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.033652][ T963] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.042495][ T963] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.073892][ T963] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 55.079530][ T5133] status: 1, result: 0, skb: ffff8881096d8d00, hci_req_sync_run
[ 55.092713][ T5881] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 55.099745][ T5133] err: 0, status: 0, result: 0, skb: ffff8881096d8400, __hci_cmd_sync_sk
[ 55.108270][ T5133] status: 1, result: 0, skb: ffff8881096d8400, hci_req_sync_run
[ 55.116623][ T5881] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 55.123986][ T5133] err: 0, status: 0, result: 0, skb: ffff88810b665b00, __hci_cmd_sync_sk
[ 55.132666][ T5133] status: 1, result: 0, skb: ffff8881096d8400, hci_req_sync_run
[ 55.140570][ T5881] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 55.147706][ T5133] err: 0, status: 0, result: 0, skb: ffff8881096d8c00, __hci_cmd_sync_sk
[ 55.148040][ T963] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 55.156450][ T5133] status: 1, result: 0, skb: ffff88810b665600, hci_req_sync_run
[ 55.174919][ T5133] err: 0, status: 0, result: 0, skb: ffff8881096d8300, __hci_cmd_sync_sk
[ 55.183427][ T5133] status: 1, result: 0, skb: ffff88810b665f00, hci_req_sync_run
[ 55.191574][ T5133] err: 0, status: 0, result: 0, skb: ffff8881096d8600, __hci_cmd_sync_sk
[ 55.200321][ T5133] status: 1, result: 0, skb: ffff8881096d8600, hci_req_sync_run
[ 55.208489][ T5881] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 55.215495][ T5133] err: 0, status: 0, result: 0, skb: ffff8881096d8c00, __hci_cmd_sync_sk
[ 55.224042][ T5133] status: 1, result: 0, skb: ffff8881096d8c00, hci_req_sync_run
[ 55.224309][ T963] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 55.242574][ T5133] err: 0, status: 0, result: 0, skb: ffff88810b665b00, __hci_cmd_sync_sk
[ 55.251372][ T5133] status: 1, result: 0, skb: ffff88810b665b00, hci_req_sync_run
[ 55.259297][ T5881] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 55.266291][ T5133] err: 0, status: 0, result: 0, skb: ffff88810b665600, __hci_cmd_sync_sk
[ 55.274851][ T5133] status: 1, result: 0, skb: ffff8881096d8900, hci_req_sync_run
[ 55.282869][ T5133] err: 0, status: 0, result: 0, skb: ffff88810b665800, __hci_cmd_sync_sk
[ 55.291445][ T5133] status: 1, result: 0, skb: ffff8881096d8400, hci_req_sync_run
[ 55.299616][ T5133] err: 0, status: 0, result: 0, skb: ffff88810b665e00, __hci_cmd_sync_sk
[ 55.308388][ T5879] status: 1, result: 0, skb: ffff88810b665e00, hci_req_sync_run
[ 55.308680][ T963] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 55.316426][ T5879] err: 0, status: 0, result: 0, skb: ffff88810b665c00, __hci_cmd_sync_sk
[ 55.471749][ T31] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 55.482577][ T31] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 55.492949][ T31] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 55.500995][ T31] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
2025/11/21 02:13:12 executed programs: 0
[ 58.484071][ T963] bridge_slave_1: left allmulticast mode
[ 58.490260][ T963] bridge_slave_1: left promiscuous mode
[ 58.495913][ T963] bridge0: port 2(bridge_slave_1) entered disabled state
[ 58.503645][ T963] bridge_slave_0: left allmulticast mode
[ 58.509735][ T963] bridge_slave_0: left promiscuous mode
[ 58.515477][ T963] bridge0: port 1(bridge_slave_0) entered disabled state
[ 58.570565][ T963] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 58.580440][ T963] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 58.589654][ T963] bond0 (unregistering): Released all slaves
[ 58.679635][ T963] hsr_slave_0: left promiscuous mode
[ 58.685086][ T963] hsr_slave_1: left promiscuous mode
[ 58.690722][ T963] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 58.698155][ T963] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 58.705568][ T963] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 58.713414][ T963] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 58.722265][ T963] veth1_macvtap: left promiscuous mode
[ 58.727853][ T963] veth0_macvtap: left promiscuous mode
[ 58.733590][ T963] veth1_vlan: left promiscuous mode
[ 58.738984][ T963] veth0_vlan: left promiscuous mode
[ 58.766479][ T963] team0 (unregistering): Port device team_slave_1 removed
[ 58.775081][ T963] team0 (unregistering): Port device team_slave_0 removed
[ 61.612519][ T5881] status: 1, result: 0, skb: ffff88810b665300, hci_req_sync_run
[ 61.620398][ T5133] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 61.627387][ T5881] err: 0, status: 0, result: 0, skb: ffff88810c2cc400, __hci_cmd_sync_sk
[ 61.635853][ T5881] status: 1, result: 0, skb: ffff88810b665100, hci_req_sync_run
[ 61.643705][ T5133] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 61.650762][ T5881] err: 0, status: 0, result: 0, skb: ffff88810c2cc400, __hci_cmd_sync_sk
[ 61.659428][ T5881] status: 1, result: 0, skb: ffff88810b665000, hci_req_sync_run
[ 61.667360][ T5133] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 61.674379][ T5881] err: 0, status: 0, result: 0, skb: ffff88810c2cc600, __hci_cmd_sync_sk
[ 61.682854][ T5881] status: 1, result: 0, skb: ffff88810b665900, hci_req_sync_run
[ 61.690701][ T5881] err: 0, status: 0, result: 0, skb: ffff88810b665000, __hci_cmd_sync_sk
[ 61.699176][ T5881] status: 1, result: 0, skb: ffff88810c2cc300, hci_req_sync_run
[ 61.707050][ T5881] err: 0, status: 0, result: 0, skb: ffff88810b665100, __hci_cmd_sync_sk
[ 61.715684][ T5881] status: 1, result: 0, skb: ffff88810c2ccf00, hci_req_sync_run
[ 61.723809][ T5133] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 61.730976][ T5881] err: 0, status: 0, result: 0, skb: ffff88810b665700, __hci_cmd_sync_sk
[ 61.739518][ T5881] status: 1, result: 0, skb: ffff88810b665700, hci_req_sync_run
[ 61.747387][ T5881] err: 0, status: 0, result: 0, skb: ffff88810b665c00, __hci_cmd_sync_sk
[ 61.756040][ T5881] status: 1, result: 0, skb: ffff88810b665c00, hci_req_sync_run
[ 61.763760][ T5133] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 61.770775][ T5881] err: 0, status: 0, result: 0, skb: ffff88810b665300, __hci_cmd_sync_sk
[ 61.779318][ T5881] status: 1, result: 0, skb: ffff88810c2cc500, hci_req_sync_run
[ 61.787324][ T5881] err: 0, status: 0, result: 0, skb: ffff88810b665500, __hci_cmd_sync_sk
[ 61.795790][ T5881] status: 1, result: 0, skb: ffff88810b665500, hci_req_sync_run
[ 61.803688][ T5881] err: 0, status: 0, result: 0, skb: ffff88810b665700, __hci_cmd_sync_sk
[ 61.812416][ T5984] status: 1, result: 0, skb: ffff88810c2cca00, hci_req_sync_run
[ 61.820325][ T5984] err: 0, status: 0, result: 0, skb: ffff88810b665c00, __hci_cmd_sync_sk
[ 61.859290][ T5984] chnl_net:caif_netlink_parms(): no params data found
[ 61.878670][ T5984] bridge0: port 1(bridge_slave_0) entered blocking state
[ 61.885774][ T5984] bridge0: port 1(bridge_slave_0) entered disabled state
[ 61.892945][ T5984] bridge_slave_0: entered allmulticast mode
[ 61.899197][ T5984] bridge_slave_0: entered promiscuous mode
[ 61.905544][ T5984] bridge0: port 2(bridge_slave_1) entered blocking state
[ 61.912766][ T5984] bridge0: port 2(bridge_slave_1) entered disabled state
[ 61.919996][ T5984] bridge_slave_1: entered allmulticast mode
[ 61.926246][ T5984] bridge_slave_1: entered promiscuous mode
[ 61.937375][ T5984] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 61.947329][ T5984] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 61.960948][ T5984] team0: Port device team_slave_0 added
[ 61.967027][ T5984] team0: Port device team_slave_1 added
[ 61.976764][ T5984] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 61.983799][ T5984] 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 1532 would solve the problem.
[ 62.009932][ T5984] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 62.021051][ T5984] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 62.028128][ T5984] 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 1532 would solve the problem.
[ 62.054130][ T5984] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 62.071263][ T5984] hsr_slave_0: entered promiscuous mode
[ 62.077016][ T5984] hsr_slave_1: entered promiscuous mode
[ 62.271932][ T5984] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 62.280361][ T5984] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 62.288477][ T5984] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 62.296339][ T5984] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 62.311184][ T5984] bridge0: port 2(bridge_slave_1) entered blocking state
[ 62.318287][ T5984] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 62.325560][ T5984] bridge0: port 1(bridge_slave_0) entered blocking state
[ 62.332651][ T5984] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 62.355503][ T5984] 8021q: adding VLAN 0 to HW filter on device bond0
[ 62.366090][ T31] bridge0: port 1(bridge_slave_0) entered disabled state
[ 62.374243][ T31] bridge0: port 2(bridge_slave_1) entered disabled state
[ 62.384604][ T5984] 8021q: adding VLAN 0 to HW filter on device team0
[ 62.393780][ T31] bridge0: port 1(bridge_slave_0) entered blocking state
[ 62.400982][ T31] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 62.418689][ T31] bridge0: port 2(bridge_slave_1) entered blocking state
[ 62.425883][ T31] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 62.480242][ T5984] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 62.500226][ T5984] veth0_vlan: entered promiscuous mode
[ 62.508283][ T5984] veth1_vlan: entered promiscuous mode
[ 62.522303][ T5984] veth0_macvtap: entered promiscuous mode
[ 62.529936][ T5984] veth1_macvtap: entered promiscuous mode
[ 62.540982][ T5984] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 62.551573][ T5984] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 62.561530][ T58] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.570414][ T58] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.579387][ T58] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.588536][ T963] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.615632][ T58] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
SYZFAIL: failed to recv rpc
fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor)
[ 62.628006][ T58] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 62.640413][ T963] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 62.649321][ T963] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3389552490=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.4'
GOWORK=''
PKG_CONFIG='pkg-config'
git status (err=<nil>)
HEAD detached at 07e030dea
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:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923" ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923" ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=07e030dea6e6d9ca88b75bb3be2810f47083b328 -X github.com/google/syzkaller/prog.gitRevisionDate=20251112-115923" -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -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 -std=c++17 -I. -Iexecutor/_include -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"07e030dea6e6d9ca88b75bb3be2810f47083b328\"
/usr/bin/ld: /tmp/ccx4Jar1.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null
Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=10758c2a580000
Tested on:
commit: fd95357f Merge tag 'sched_ext-for-6.18-rc6-fixes-2' of..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=f30cc590c4f6da44
dashboard link: https://syzkaller.appspot.com/bug?extid=f098d64cc684b8dbaf65
compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=1623f692580000
Powered by blists - more mailing lists