Re: [syzbot] [usb?] memory leak in es58x_open

syzbot
2026-01-12T15:41:03Z

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

SYZFAIL: failed to recv rpc

SYZFAIL: failed to recv rpc
fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor)

Warning: Permanently added '10.128.1.250' (ED25519) to the list of known hosts.
2026/01/12 15:39:49 parsed 1 programs
[ 39.963494][ T5813] cgroup: Unknown subsys name 'net'
[ 40.103368][ T5813] cgroup: Unknown subsys name 'cpuset'
[ 40.109916][ T5813] cgroup: Unknown subsys name 'rlimit'
Setting up swapspace version 1, size = 127995904 bytes
[ 48.347269][ T5813] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 49.687016][ T5833] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality.
[ 49.785190][ T50] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 49.793415][ T50] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 49.801131][ T50] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 49.808915][ T50] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 49.817199][ T50] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 50.057495][ T5862] chnl_net:caif_netlink_parms(): no params data found
[ 50.132087][ T5862] bridge0: port 1(bridge_slave_0) entered blocking state
[ 50.139201][ T5862] bridge0: port 1(bridge_slave_0) entered disabled state
[ 50.146327][ T5862] bridge_slave_0: entered allmulticast mode
[ 50.152825][ T5862] bridge_slave_0: entered promiscuous mode
[ 50.160009][ T5862] bridge0: port 2(bridge_slave_1) entered blocking state
[ 50.167192][ T5862] bridge0: port 2(bridge_slave_1) entered disabled state
[ 50.174469][ T5862] bridge_slave_1: entered allmulticast mode
[ 50.180779][ T5862] bridge_slave_1: entered promiscuous mode
[ 50.198949][ T5862] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 50.210355][ T3872] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 50.242429][ T3872] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 50.256034][ T5862] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 50.305124][ T5862] team0: Port device team_slave_0 added
[ 50.311524][ T5862] team0: Port device team_slave_1 added
[ 50.353622][ T3872] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 50.372727][ T5862] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 50.379702][ T5862] 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.
[ 50.382412][ T3872] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 50.422457][ T5862] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 50.443561][ T5862] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 50.450530][ T5862] 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.
[ 50.479376][ T5862] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 50.520286][ T5862] hsr_slave_0: entered promiscuous mode
[ 50.528206][ T5862] hsr_slave_1: entered promiscuous mode
[ 50.575270][ T5862] netdevsim netdevsim1 netdevsim0: renamed from eth0
[ 50.583434][ T5862] netdevsim netdevsim1 netdevsim1: renamed from eth1
[ 50.593529][ T5862] netdevsim netdevsim1 netdevsim2: renamed from eth2
[ 50.601231][ T5862] netdevsim netdevsim1 netdevsim3: renamed from eth3
[ 50.612864][ T5862] bridge0: port 2(bridge_slave_1) entered blocking state
[ 50.620170][ T5862] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 50.627441][ T5862] bridge0: port 1(bridge_slave_0) entered blocking state
[ 50.634675][ T5862] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 50.652277][ T5862] 8021q: adding VLAN 0 to HW filter on device bond0
[ 50.662027][ T3872] bridge0: port 1(bridge_slave_0) entered disabled state
[ 50.669584][ T3872] bridge0: port 2(bridge_slave_1) entered disabled state
[ 50.678510][ T5862] 8021q: adding VLAN 0 to HW filter on device team0
[ 50.687662][ T35] bridge0: port 1(bridge_slave_0) entered blocking state
[ 50.696353][ T35] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 50.706281][ T3872] bridge0: port 2(bridge_slave_1) entered blocking state
[ 50.713530][ T3872] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 50.755069][ T5862] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 50.770311][ T5862] veth0_vlan: entered promiscuous mode
[ 50.778084][ T5862] veth1_vlan: entered promiscuous mode
[ 50.789108][ T5862] veth0_macvtap: entered promiscuous mode
[ 50.796333][ T5862] veth1_macvtap: entered promiscuous mode
[ 50.805818][ T5862] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 50.815297][ T5862] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 50.824977][ T66] netdevsim netdevsim1 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 50.834158][ T66] netdevsim netdevsim1 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 50.843049][ T66] netdevsim netdevsim1 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
2026/01/12 15:40:01 executed programs: 0
[ 50.851843][ T66] netdevsim netdevsim1 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 50.903025][ T5134] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 50.910733][ T5134] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 50.918124][ T5134] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 50.926133][ T5134] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 50.933518][ T5134] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 50.970628][ T5923] chnl_net:caif_netlink_parms(): no params data found
[ 50.989625][ T5923] bridge0: port 1(bridge_slave_0) entered blocking state
[ 50.997000][ T5923] bridge0: port 1(bridge_slave_0) entered disabled state
[ 51.004306][ T5923] bridge_slave_0: entered allmulticast mode
[ 51.010653][ T5923] bridge_slave_0: entered promiscuous mode
[ 51.017676][ T5923] bridge0: port 2(bridge_slave_1) entered blocking state
[ 51.024890][ T5923] bridge0: port 2(bridge_slave_1) entered disabled state
[ 51.032192][ T5923] bridge_slave_1: entered allmulticast mode
[ 51.038673][ T5923] bridge_slave_1: entered promiscuous mode
[ 51.050271][ T5923] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 51.060029][ T5923] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 51.074182][ T5923] team0: Port device team_slave_0 added
[ 51.080381][ T5923] team0: Port device team_slave_1 added
[ 51.090562][ T5923] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 51.097738][ T5923] 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.
[ 51.124023][ T5923] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 51.135475][ T5923] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 51.142668][ T5923] 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.
[ 51.169658][ T5923] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 51.189046][ T5923] hsr_slave_0: entered promiscuous mode
[ 51.195147][ T5923] hsr_slave_1: entered promiscuous mode
[ 51.201004][ T5923] debugfs: 'hsr0' already exists in 'hsr'
[ 51.207042][ T5923] Cannot create hsr debugfs directory
[ 51.234064][ T5923] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 51.241753][ T5923] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 51.249447][ T5923] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 51.257093][ T5923] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 51.269460][ T5923] bridge0: port 2(bridge_slave_1) entered blocking state
[ 51.276582][ T5923] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 51.283826][ T5923] bridge0: port 1(bridge_slave_0) entered blocking state
[ 51.290841][ T5923] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 51.308368][ T5923] 8021q: adding VLAN 0 to HW filter on device bond0
[ 51.316859][ T35] bridge0: port 1(bridge_slave_0) entered disabled state
[ 51.325225][ T35] bridge0: port 2(bridge_slave_1) entered disabled state
[ 51.335401][ T5923] 8021q: adding VLAN 0 to HW filter on device team0
[ 51.344297][ T66] bridge0: port 1(bridge_slave_0) entered blocking state
[ 51.351609][ T66] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 51.360918][ T35] bridge0: port 2(bridge_slave_1) entered blocking state
[ 51.368021][ T35] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 51.409057][ T5923] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 51.424572][ T5923] veth0_vlan: entered promiscuous mode
[ 51.432514][ T5923] veth1_vlan: entered promiscuous mode
[ 51.444137][ T5923] veth0_macvtap: entered promiscuous mode
[ 51.451047][ T5923] veth1_macvtap: entered promiscuous mode
[ 51.460333][ T5923] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 51.469762][ T5923] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 51.479272][ T3872] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 51.488352][ T3872] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 51.497509][ T3872] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 51.506403][ T3872] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 51.526202][ T3872] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 51.534861][ T3872] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 51.545823][ T3872] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 51.553870][ T3872] wlan1: Creating new IBSS network, 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)

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-build3306654363=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
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'
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 d6526ea3e
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=d6526ea3e6ad9081c902859bbb80f9f840377cb4 -X github.com/google/syzkaller/prog.gitRevisionDate=20251126-113115" ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=d6526ea3e6ad9081c902859bbb80f9f840377cb4 -X github.com/google/syzkaller/prog.gitRevisionDate=20251126-113115" ./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=d6526ea3e6ad9081c902859bbb80f9f840377cb4 -X github.com/google/syzkaller/prog.gitRevisionDate=20251126-113115" -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=\"d6526ea3e6ad9081c902859bbb80f9f840377cb4\"
/usr/bin/ld: /tmp/ccZk5Jco.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

Tested on:

commit: ea1013c1 Merge tag 'bpf-fixes' of git://git.kernel.org..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel config: https://syzkaller.appspot.com/x/.config?x=d60836e327fd6756
dashboard link: https://syzkaller.appspot.com/bug?extid=e8cb6691a7cf68256cb8
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=122ee5fa580000