Re: [syzbot] [hfs?] memory leak in hfsplus_init_fs_context

syzbot
2025-12-05T07:44:06Z

Warning: Permanently added '10.128.1.150' (ED25519) to the list of known hosts.
2025/12/05 07:43:31 parsed 1 programs
[ 44.042808][ T5812] cgroup: Unknown subsys name 'net'
[ 44.127074][ T5812] cgroup: Unknown subsys name 'cpuset'
[ 44.133650][ T5812] cgroup: Unknown subsys name 'rlimit'
Setting up swapspace version 1, size = 127995904 bytes
[ 52.645880][ T5812] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 54.143312][ T5821] 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.
[ 54.299791][ T133] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 54.309905][ T133] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 54.320511][ T62] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 54.328915][ T62] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 54.497265][ T50] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 54.504519][ T50] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 54.511943][ T50] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 54.525287][ T50] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 54.532574][ T50] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 54.725582][ T5877] chnl_net:caif_netlink_parms(): no params data found
[ 54.747201][ T5877] bridge0: port 1(bridge_slave_0) entered blocking state
[ 54.754361][ T5877] bridge0: port 1(bridge_slave_0) entered disabled state
[ 54.762220][ T5877] bridge_slave_0: entered allmulticast mode
[ 54.768738][ T5877] bridge_slave_0: entered promiscuous mode
[ 54.775347][ T5877] bridge0: port 2(bridge_slave_1) entered blocking state
[ 54.782475][ T5877] bridge0: port 2(bridge_slave_1) entered disabled state
[ 54.789704][ T5877] bridge_slave_1: entered allmulticast mode
[ 54.796084][ T5877] bridge_slave_1: entered promiscuous mode
[ 54.818263][ T5877] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 54.828255][ T5877] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 54.841814][ T5877] team0: Port device team_slave_0 added
[ 54.848131][ T5877] team0: Port device team_slave_1 added
[ 54.859765][ T5877] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 54.867269][ T5877] 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.
[ 54.895194][ T5877] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 54.906753][ T5877] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 54.913711][ T5877] 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.
[ 54.940364][ T5877] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 54.959931][ T5877] hsr_slave_0: entered promiscuous mode
[ 54.966029][ T5877] hsr_slave_1: entered promiscuous mode
[ 55.003186][ T5877] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 55.011384][ T5877] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 55.019230][ T5877] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 55.027232][ T5877] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 55.039665][ T5877] bridge0: port 2(bridge_slave_1) entered blocking state
[ 55.046885][ T5877] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 55.054350][ T5877] bridge0: port 1(bridge_slave_0) entered blocking state
[ 55.061870][ T5877] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 55.080653][ T5877] 8021q: adding VLAN 0 to HW filter on device bond0
[ 55.090452][ T133] bridge0: port 1(bridge_slave_0) entered disabled state
[ 55.098390][ T133] bridge0: port 2(bridge_slave_1) entered disabled state
[ 55.108313][ T5877] 8021q: adding VLAN 0 to HW filter on device team0
[ 55.117493][ T133] bridge0: port 1(bridge_slave_0) entered blocking state
[ 55.124594][ T133] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 55.133971][ T12] bridge0: port 2(bridge_slave_1) entered blocking state
[ 55.141600][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 55.186705][ T5877] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 55.202568][ T5877] veth0_vlan: entered promiscuous mode
[ 55.209710][ T5877] veth1_vlan: entered promiscuous mode
[ 55.221357][ T5877] veth0_macvtap: entered promiscuous mode
[ 55.228585][ T5877] veth1_macvtap: entered promiscuous mode
[ 55.237919][ T5877] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 55.248299][ T5877] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 55.257538][ T58] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.266627][ T58] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.275497][ T58] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.284859][ T58] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 55.320966][ T62] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 55.369319][ T62] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 55.447100][ T62] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 55.467896][ T62] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2025/12/05 07:43:45 executed programs: 0
[ 58.410697][ T62] bridge_slave_1: left allmulticast mode
[ 58.416833][ T62] bridge_slave_1: left promiscuous mode
[ 58.422540][ T62] bridge0: port 2(bridge_slave_1) entered disabled state
[ 58.431389][ T62] bridge_slave_0: left allmulticast mode
[ 58.437607][ T62] bridge_slave_0: left promiscuous mode
[ 58.443411][ T62] bridge0: port 1(bridge_slave_0) entered disabled state
[ 58.509109][ T62] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 58.518647][ T62] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 58.528253][ T62] bond0 (unregistering): Released all slaves
[ 58.608647][ T62] hsr_slave_0: left promiscuous mode
[ 58.614815][ T62] hsr_slave_1: left promiscuous mode
[ 58.621461][ T62] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 58.629526][ T62] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 58.637346][ T62] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 58.644977][ T62] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 58.653724][ T62] veth1_macvtap: left promiscuous mode
[ 58.659468][ T62] veth0_macvtap: left promiscuous mode
[ 58.665187][ T62] veth1_vlan: left promiscuous mode
[ 58.670728][ T62] veth0_vlan: left promiscuous mode
[ 58.701020][ T62] team0 (unregistering): Port device team_slave_1 removed
[ 58.709272][ T62] team0 (unregistering): Port device team_slave_0 removed
[ 61.343108][ T5134] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 61.350405][ T5134] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 61.357820][ T5134] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 61.365394][ T5134] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 61.373014][ T5134] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 61.410932][ T5987] chnl_net:caif_netlink_parms(): no params data found
[ 61.431401][ T5987] bridge0: port 1(bridge_slave_0) entered blocking state
[ 61.438773][ T5987] bridge0: port 1(bridge_slave_0) entered disabled state
[ 61.446357][ T5987] bridge_slave_0: entered allmulticast mode
[ 61.452606][ T5987] bridge_slave_0: entered promiscuous mode
[ 61.459577][ T5987] bridge0: port 2(bridge_slave_1) entered blocking state
[ 61.466850][ T5987] bridge0: port 2(bridge_slave_1) entered disabled state
[ 61.474214][ T5987] bridge_slave_1: entered allmulticast mode
[ 61.480620][ T5987] bridge_slave_1: entered promiscuous mode
[ 61.492762][ T5987] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 61.502926][ T5987] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 61.517255][ T5987] team0: Port device team_slave_0 added
[ 61.523465][ T5987] team0: Port device team_slave_1 added
[ 61.533816][ T5987] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 61.541096][ T5987] 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.
[ 61.568438][ T5987] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 61.579932][ T5987] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 61.586999][ T5987] 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.
[ 61.613994][ T5987] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 61.631616][ T5987] hsr_slave_0: entered promiscuous mode
[ 61.637415][ T5987] hsr_slave_1: entered promiscuous mode
[ 61.807060][ T5987] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 61.815018][ T5987] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 61.823175][ T5987] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 61.831557][ T5987] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 61.852955][ T5987] bridge0: port 2(bridge_slave_1) entered blocking state
[ 61.860270][ T5987] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 61.867863][ T5987] bridge0: port 1(bridge_slave_0) entered blocking state
[ 61.875026][ T5987] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 61.898612][ T5987] 8021q: adding VLAN 0 to HW filter on device bond0
[ 61.909150][ T12] bridge0: port 1(bridge_slave_0) entered disabled state
[ 61.917188][ T12] bridge0: port 2(bridge_slave_1) entered disabled state
[ 61.927534][ T5987] 8021q: adding VLAN 0 to HW filter on device team0
[ 61.938143][ T58] bridge0: port 1(bridge_slave_0) entered blocking state
[ 61.945307][ T58] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 61.958922][ T12] bridge0: port 2(bridge_slave_1) entered blocking state
[ 61.966035][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 61.982882][ T5987] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network
[ 61.994284][ T5987] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
[ 62.053394][ T5987] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 62.072926][ T5987] veth0_vlan: entered promiscuous mode
[ 62.081131][ T5987] veth1_vlan: entered promiscuous mode
[ 62.095259][ T5987] veth0_macvtap: entered promiscuous mode
[ 62.103071][ T5987] veth1_macvtap: entered promiscuous mode
[ 62.114171][ T5987] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 62.124750][ T5987] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 62.135106][ T58] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.148659][ T58] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.160564][ T58] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.181317][ T58] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 62.191067][ T62] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
SYZFAIL: failed to recv rpc
[ 62.202944][ T62] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 62.215016][ T58] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 62.223739][ T58] 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-build282997806=/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 d6526ea3e6
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/ccoqPmtJ.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: 2061f18a Merge tag 'caps-pr-20251204' of git://git.ker..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=4ec6d85125e91f07
dashboard link: https://syzkaller.appspot.com/bug?extid=99f6ed51479b86ac4c41
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=1497b01a580000