[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6794b533.050a0220.2eae65.0026.GAE@google.com>
Date: Sat, 25 Jan 2025 01:56:03 -0800
From: syzbot <syzbot+2875f6362e0214a32381@...kaller.appspotmail.com>
To: aha310510@...il.com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bcachefs?] general protection fault in bch2_subvolume_delete
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
86.173663][ T30] ? mark_lock+0x9a/0x360
[ 86.173676][ T30] __lock_acquire+0x1397/0x2100
[ 86.173699][ T30] lock_acquire+0x1ed/0x550
[ 86.173711][ T30] ? unregister_netdevice_many_notify+0xac2/0x2030
[ 86.173729][ T30] ? __pfx_lock_acquire+0x10/0x10
[ 86.173742][ T30] ? __pfx___might_resched+0x10/0x10
[ 86.173755][ T30] ? finish_wait+0xd4/0x1e0
[ 86.173769][ T30] __mutex_lock+0x19c/0x1010
[ 86.173782][ T30] ? unregister_netdevice_many_notify+0xac2/0x2030
[ 86.173799][ T30] ? unregister_netdevice_many_notify+0xac2/0x2030
[ 86.173813][ T30] ? __pfx___mutex_lock+0x10/0x10
[ 86.173824][ T30] ? __pfx___might_resched+0x10/0x10
[ 86.173835][ T30] ? unregister_netdevice_many_notify+0x9fa/0x2030
[ 86.173850][ T30] ? unregister_netdevice_many_notify+0x9fa/0x2030
[ 86.173867][ T30] unregister_netdevice_many_notify+0xac2/0x2030
[ 86.173882][ T30] ? mark_lock+0x9a/0x360
[ 86.173898][ T30] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 86.173912][ T30] ? kernfs_remove_by_name_ns+0x11b/0x160
[ 86.173919][ T30] ? __pfx_lock_release+0x10/0x10
[ 86.173930][ T30] unregister_netdevice_queue+0x303/0x370
[ 86.173939][ T30] ? __pfx_up_write+0x10/0x10
[ 86.173946][ T30] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 86.173960][ T30] ? kernfs_remove_by_name_ns+0x11b/0x160
[ 86.173970][ T30] _cfg80211_unregister_wdev+0x163/0x590
[ 86.173983][ T30] ieee80211_remove_interfaces+0x4ef/0x700
[ 86.173999][ T30] ? __pfx_ieee80211_remove_interfaces+0x10/0x10
[ 86.174014][ T30] ? rcu_is_watching+0x15/0xb0
[ 86.174025][ T30] ieee80211_unregister_hw+0x5d/0x2c0
[ 86.174039][ T30] mac80211_hwsim_del_radio+0x2c4/0x4c0
[ 86.174056][ T30] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10
[ 86.174068][ T30] hwsim_exit_net+0x5c1/0x670
[ 86.174075][ T30] ? __pfx_hwsim_exit_net+0x10/0x10
[ 86.174084][ T30] ? __ip_vs_dev_cleanup_batch+0x239/0x260
[ 86.174097][ T30] cleanup_net+0x812/0xd60
[ 86.174110][ T30] ? __pfx_cleanup_net+0x10/0x10
[ 86.174123][ T30] ? process_scheduled_works+0x976/0x1840
[ 86.174135][ T30] process_scheduled_works+0xa66/0x1840
[ 86.174152][ T30] ? __pfx_process_scheduled_works+0x10/0x10
[ 86.174166][ T30] ? assign_work+0x364/0x3d0
[ 86.174177][ T30] worker_thread+0x870/0xd30
[ 86.174192][ T30] ? _raw_spin_unlock_irqrestore+0xdd/0x140
[ 86.174203][ T30] ? __kthread_parkme+0x169/0x1d0
[ 86.174217][ T30] ? __pfx_worker_thread+0x10/0x10
[ 86.174228][ T30] kthread+0x7a9/0x920
[ 86.174241][ T30] ? __pfx_kthread+0x10/0x10
[ 86.174255][ T30] ? __pfx_worker_thread+0x10/0x10
[ 86.174266][ T30] ? __pfx_kthread+0x10/0x10
[ 86.174279][ T30] ? __pfx_kthread+0x10/0x10
[ 86.174292][ T30] ? __pfx_kthread+0x10/0x10
[ 86.174305][ T30] ? _raw_spin_unlock_irq+0x23/0x50
[ 86.174314][ T30] ? lockdep_hardirqs_on+0x99/0x150
[ 86.174325][ T30] ? __pfx_kthread+0x10/0x10
[ 86.174338][ T30] ret_from_fork+0x4b/0x80
[ 86.174351][ T30] ? __pfx_kthread+0x10/0x10
[ 86.174364][ T30] ret_from_fork_asm+0x1a/0x30
[ 86.174379][ T30] </TASK>
[ 86.326052][ T5403] 8021q: adding VLAN 0 to HW filter on device team0
[ 86.344710][ T5403] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network
[ 86.348674][ T5403] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
[ 86.356759][ T1094] bridge0: port 1(bridge_slave_0) entered blocking state
[ 86.359179][ T1094] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 86.362292][ T1094] bridge0: port 2(bridge_slave_1) entered blocking state
[ 86.365046][ T1094] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 86.502482][ T5403] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 86.529234][ T5403] veth0_vlan: entered promiscuous mode
[ 86.547503][ T5403] veth1_vlan: entered promiscuous mode
[ 86.561423][ T5403] veth0_macvtap: entered promiscuous mode
[ 86.581382][ T5403] veth1_macvtap: entered promiscuous mode
[ 86.590531][ T5403] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 86.598005][ T5403] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 86.602999][ T5403] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.610307][ T9] cfg80211: failed to load regulatory.db
[ 86.612903][ T5403] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.616325][ T5403] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.619556][ T5403] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.658341][ T5403] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 86.690732][ T11] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 86.697289][ T11] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 86.703108][ T5403] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 86.736086][ T1091] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 86.738855][ T1091] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 88.141021][ T30] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 89.436714][ T30] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 89.846349][ T30] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 89.877734][ T30] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 89.940689][ T30] bridge_slave_1: left allmulticast mode
[ 89.942726][ T30] bridge_slave_1: left promiscuous mode
[ 89.945910][ T30] bridge0: port 2(bridge_slave_1) entered disabled state
[ 89.949410][ T30] bridge_slave_0: left allmulticast mode
[ 89.951543][ T30] bridge_slave_0: left promiscuous mode
[ 89.953892][ T30] bridge0: port 1(bridge_slave_0) entered disabled state
[ 90.074471][ T30] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 90.078732][ T30] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 90.082590][ T30] bond0 (unregistering): Released all slaves
[ 90.204319][ T30] hsr_slave_0: left promiscuous mode
[ 90.207269][ T30] hsr_slave_1: left promiscuous mode
[ 90.215565][ T30] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 90.218556][ T30] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 90.234126][ T30] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 90.237099][ T30] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 90.241437][ T30] veth1_macvtap: left promiscuous mode
[ 90.243584][ T30] veth0_macvtap: left promiscuous mode
[ 90.246002][ T30] veth1_vlan: left promiscuous mode
[ 90.248034][ T30] veth0_vlan: left promiscuous mode
[ 90.400194][ T30] team0 (unregistering): Port device team_slave_1 removed
[ 90.412669][ T30] team0 (unregistering): Port device team_slave_0 removed
VM DIAGNOSIS:
09:55:22 Registers:
info registers vcpu 0
CPU#0
RAX=0000000000000034 RBX=ffffffff9a743940 RCX=0000000000000000 RDX=00000000000003f8
RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc900005164b0
R8 =ffffffff8576147b R9 =1ffff11003e09046 R10=dffffc0000000000 R11=ffffffff85761430
R12=dffffc0000000000 R13=ffffffff9a43df4b R14=0000000000000034 R15=00000000000003f8
RIP=ffffffff857614ae RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 ffffffff 00c00000
CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
DS =0000 0000000000000000 ffffffff 00c00000
FS =0000 0000000000000000 ffffffff 00c00000
GS =0000 ffff88801fc00000 ffffffff 00c00000
LDT=0000 0000000000000000 ffffffff 00c00000
TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy
GDT= fffffe0000001000 0000007f
IDT= fffffe0000000000 00000fff
CR0=80050033 CR2=000055cf5c5e0131 CR3=0000000059c88000 CR4=00352ef0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000fffe0ff0 DR7=0000000000000400
EFER=0000000000000d01
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
Opmask00=0000000000200020 Opmask01=0000000000000fff Opmask02=00000000ffffffef Opmask03=0000000000000000
Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000
ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd0a6c0bd0 0000003000000010
ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402a6f
ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402a67
ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402a9a
ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402aa7
ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402aa1
ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402ab5
ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402b3b
ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fb809402c19
ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2525252525252525 2525252525252525 2525252525252525 2525252525252525
ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6e6f625f6f745f31 6874657600646e6f 625f6f745f306874 6576006567646972
ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 625f6f745f316874 6576006567646972 625f6f745f306874 6576003168746576
ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
syzkaller build log:
go env (err=<nil>)
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/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'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.7'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/syzkaller/jobs/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-build1787408358=/tmp/go-build -gno-record-gcc-switches'
git status (err=<nil>)
HEAD detached at da72ac06e38
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}}' ./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
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
go fmt ./sys/... >/dev/null
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=da72ac06e38cf1dd2ecbddd5502225ff7589542d -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250121-154645'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -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=\"da72ac06e38cf1dd2ecbddd5502225ff7589542d\"
/usr/bin/ld: /tmp/ccYhmzh2.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
Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=128e9e18580000
Tested on:
commit: b46c89c0 Merge tag 'spi-fix-v6.14-merge-window' of git..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=ba866aed9d46ef97
dashboard link: https://syzkaller.appspot.com/bug?extid=2875f6362e0214a32381
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
Note: no patches were applied.
Powered by blists - more mailing lists