[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6919896e.a70a0220.3124cb.0075.GAE@google.com>
Date: Sun, 16 Nov 2025 00:21:02 -0800
From: syzbot <syzbot+9aa47cd4633a3cf92a80@...kaller.appspotmail.com>
To: eadavis@...com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in mgmt_pending_remove
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
022][ T5851] ? kmem_cache_free+0x19b/0x690
[ 98.045044][ T5851] do_exit+0x6b5/0x2300
[ 98.045064][ T5851] ? do_raw_spin_lock+0x121/0x290
[ 98.045083][ T5851] ? __pfx_do_exit+0x10/0x10
[ 98.045105][ T5851] do_group_exit+0x21c/0x2d0
[ 98.045124][ T5851] ? lockdep_hardirqs_on+0x9c/0x150
[ 98.045138][ T5851] get_signal+0x1285/0x1340
[ 98.045158][ T5851] arch_do_signal_or_restart+0xa0/0x790
[ 98.045181][ T5851] ? __pfx_arch_do_signal_or_restart+0x10/0x10
[ 98.045206][ T5851] ? exit_to_user_mode_loop+0x40/0x130
[ 98.045220][ T5851] exit_to_user_mode_loop+0x72/0x130
[ 98.045233][ T5851] do_syscall_64+0x2bd/0xfa0
[ 98.045247][ T5851] ? lockdep_hardirqs_on+0x9c/0x150
[ 98.045260][ T5851] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 98.045274][ T5851] ? clear_bhb_loop+0x60/0xb0
[ 98.045289][ T5851] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 98.045302][ T5851] RIP: 0033:0x7f01e85915e7
[ 98.045315][ T5851] Code: Unable to access opcode bytes at 0x7f01e85915bd.
[ 98.045322][ T5851] RSP: 002b:00007ffd3b28dfa8 EFLAGS: 00000202 ORIG_RAX: 0000000000000029
[ 98.045339][ T5851] RAX: 0000000000000003 RBX: 00007f01e87b1300 RCX: 00007f01e85915e7
[ 98.045350][ T5851] RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002
[ 98.045358][ T5851] RBP: 00007ffd3b28e6cc R08: 0000000000000000 R09: 00007ffd3b28e3d7
[ 98.045367][ T5851] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001
[ 98.045375][ T5851] R13: 00007f01e87b1280 R14: 0000000000000000 R15: 00007ffd3b28e720
[ 98.045390][ T5851] </TASK>
[ 98.378540][ T12] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 98.386690][ T12] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 98.389814][ T5858] ieee80211 phy4: Selected rate control algorithm 'minstrel_ht'
[ 98.411678][ T79] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 98.419746][ T79] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 99.353370][ T5894] chnl_net:caif_netlink_parms(): no params data found
[ 99.418057][ T5894] bridge0: port 1(bridge_slave_0) entered blocking state
[ 99.425428][ T5894] bridge0: port 1(bridge_slave_0) entered disabled state
[ 99.432627][ T5894] bridge_slave_0: entered allmulticast mode
[ 99.439520][ T5894] bridge_slave_0: entered promiscuous mode
[ 99.447024][ T5894] bridge0: port 2(bridge_slave_1) entered blocking state
[ 99.454503][ T5894] bridge0: port 2(bridge_slave_1) entered disabled state
[ 99.462695][ T5894] bridge_slave_1: entered allmulticast mode
[ 99.470917][ T5894] bridge_slave_1: entered promiscuous mode
[ 99.501077][ T5894] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 99.512217][ T5894] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 99.532942][ T5894] team0: Port device team_slave_0 added
[ 99.540510][ T5894] team0: Port device team_slave_1 added
[ 99.561110][ T5894] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 99.568213][ T5894] 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.
[ 99.594552][ T5894] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 99.606103][ T5894] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 99.613063][ T5894] 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.
[ 99.639753][ T5894] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 99.674242][ T5894] hsr_slave_0: entered promiscuous mode
[ 99.680522][ T5894] hsr_slave_1: entered promiscuous mode
[ 99.748239][ T5894] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 99.757893][ T5894] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 99.767651][ T5894] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 99.776497][ T5894] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 99.794605][ T5894] bridge0: port 2(bridge_slave_1) entered blocking state
[ 99.801694][ T5894] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 99.809289][ T5894] bridge0: port 1(bridge_slave_0) entered blocking state
[ 99.816402][ T5894] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 99.849208][ T5894] 8021q: adding VLAN 0 to HW filter on device bond0
[ 99.861911][ T79] bridge0: port 1(bridge_slave_0) entered disabled state
[ 99.870963][ T79] bridge0: port 2(bridge_slave_1) entered disabled state
[ 99.882660][ T5894] 8021q: adding VLAN 0 to HW filter on device team0
[ 99.895117][ T50] bridge0: port 1(bridge_slave_0) entered blocking state
[ 99.902499][ T50] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 99.914797][ T79] bridge0: port 2(bridge_slave_1) entered blocking state
[ 99.921907][ T79] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 100.027173][ T5894] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 100.059727][ T5894] veth0_vlan: entered promiscuous mode
[ 100.069248][ T5894] veth1_vlan: entered promiscuous mode
[ 100.089179][ T5894] veth0_macvtap: entered promiscuous mode
[ 100.098172][ T5894] veth1_macvtap: entered promiscuous mode
[ 100.110792][ T5894] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 100.123421][ T5894] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 100.135149][ T50] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.144394][ T50] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.154732][ T50] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.163861][ T50] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.247849][ T79] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 100.282107][ T79] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 100.345609][ T79] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 100.431459][ T79] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2025/11/16 08:20:35 executed programs: 0
[ 100.990449][ T5146] Bluetooth: hci1: unexpected cc 0x0c03 length: 249 > 1
[ 100.998317][ T5146] Bluetooth: hci1: unexpected cc 0x1003 length: 249 > 9
[ 101.007725][ T5146] Bluetooth: hci1: unexpected cc 0x1001 length: 249 > 9
[ 101.015889][ T5146] Bluetooth: hci1: unexpected cc 0x0c23 length: 249 > 4
[ 101.024741][ T5146] Bluetooth: hci1: unexpected cc 0x0c38 length: 249 > 2
[ 101.118697][ T5934] chnl_net:caif_netlink_parms(): no params data found
[ 101.161430][ T5934] bridge0: port 1(bridge_slave_0) entered blocking state
[ 101.169408][ T5934] bridge0: port 1(bridge_slave_0) entered disabled state
[ 101.176899][ T5934] bridge_slave_0: entered allmulticast mode
[ 101.183902][ T5934] bridge_slave_0: entered promiscuous mode
[ 101.191277][ T5934] bridge0: port 2(bridge_slave_1) entered blocking state
[ 101.198558][ T5934] bridge0: port 2(bridge_slave_1) entered disabled state
[ 101.205858][ T5934] bridge_slave_1: entered allmulticast mode
[ 101.212895][ T5934] bridge_slave_1: entered promiscuous mode
[ 101.235387][ T5934] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 101.247326][ T5934] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 101.273904][ T5934] team0: Port device team_slave_0 added
[ 101.280932][ T5934] team0: Port device team_slave_1 added
[ 101.298158][ T5934] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 101.305607][ T5934] 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.
[ 101.332185][ T5934] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 101.344400][ T5934] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 101.351729][ T5934] 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.
[ 101.379297][ T5934] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 101.409545][ T5934] hsr_slave_0: entered promiscuous mode
[ 101.416136][ T5934] hsr_slave_1: entered promiscuous mode
[ 101.422075][ T5934] debugfs: 'hsr0' already exists in 'hsr'
[ 101.428232][ T5934] Cannot create hsr debugfs directory
[ 103.083403][ T5852] Bluetooth: hci1: command tx timeout
[ 103.408906][ T79] bridge_slave_1: left allmulticast mode
[ 103.416318][ T79] bridge_slave_1: left promiscuous mode
[ 103.422340][ T79] bridge0: port 2(bridge_slave_1) entered disabled state
[ 103.434700][ T79] bridge_slave_0: left allmulticast mode
[ 103.440485][ T79] bridge_slave_0: left promiscuous mode
[ 103.446862][ T79] bridge0: port 1(bridge_slave_0) entered disabled state
[ 103.557628][ T79] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 103.568674][ T79] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 103.578654][ T79] bond0 (unregistering): Released all slaves
[ 103.688535][ T79] hsr_slave_0: left promiscuous mode
[ 103.699423][ T79] hsr_slave_1: left promiscuous mode
[ 103.705766][ T79] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 103.714781][ T79] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 103.722702][ T79] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 103.730697][ T79] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 103.742099][ T79] veth1_macvtap: left promiscuous mode
[ 103.748282][ T79] veth0_macvtap: left promiscuous mode
[ 103.753965][ T79] veth1_vlan: left promiscuous mode
[ 103.759445][ T79] veth0_vlan: left promiscuous mode
[ 103.921563][ T79] team0 (unregistering): Port device team_slave_1 removed
[ 103.932559][ T79] team0 (unregistering): Port device team_slave_0 removed
[ 104.214906][ T5934] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 104.228969][ T5934] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 104.239124][ T5934] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 104.249179][ T5934] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 104.341776][ T5934] 8021q: adding VLAN 0 to HW filter on device bond0
[ 104.358525][ T5934] 8021q: adding VLAN 0 to HW filter on device team0
[ 104.375257][ T1085] bridge0: port 1(bridge_slave_0) entered blocking state
[ 104.382582][ T1085] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 104.401872][ T1085] bridge0: port 2(bridge_slave_1) entered blocking state
[ 104.409195][ T1085] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 104.738722][ T5934] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 104.765852][ T5934] veth0_vlan: entered promiscuous mode
[ 104.775508][ T5934] veth1_vlan: entered promiscuous mode
[ 104.796938][ T5934] veth0_macvtap: entered promiscuous mode
[ 104.805872][ T5934] veth1_macvtap: entered promiscuous mode
[ 104.818189][ T5934] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 104.830594][ T5934] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 104.844301][ T1144] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 104.854320][ T12] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 104.866000][ T12] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 104.874997][ T12] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 104.897274][ T5934] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 104.916565][ T1085] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 104.917918][ T5934] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 104.928653][ T1085] wlan0: 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)
[ 104.951336][ T1085] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 104.959711][ T1085] 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-build2571666063=/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 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/ccL2C3R3.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=13ac6658580000
Tested on:
commit: c9dfb92d Merge branch 'mlx5-next' of git://git.kernel...
git tree: net-next
kernel config: https://syzkaller.appspot.com/x/.config?x=4dda49799a90cd0f
dashboard link: https://syzkaller.appspot.com/bug?extid=9aa47cd4633a3cf92a80
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
patch: https://syzkaller.appspot.com/x/patch.diff?x=14445212580000
Powered by blists - more mailing lists