WARNING in __debugfs_file_get

------------[ cut here ]------------
WARNING: CPU: 0 PID: 5829 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0 fs/debugfs/file.c:90
Modules linked in:
CPU: 0 UID: 0 PID: 5829 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-g2b88851f583d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__debugfs_file_get+0x5e3/0x6f0 fs/debugfs/file.c:90
Code: 3f 01 48 b8 00 00 00 00 00 fc ff df 41 0f b6 44 05 00 84 c0 0f 85 e9 00 00 00 44 8b 74 24 40 e9 4f ff ff ff e8 2e 90 19 fe 90 <0f> 0b 90 b8 ea ff ff ff 4c 8b 3c 24 e9 5c ff ff ff 44 89 e9 80 e1
RSP: 0018:ffffc90003ae7720 EFLAGS: 00010293
RAX: ffffffff83a5b0b2 RBX: 1ffff11029187dbd RCX: ffff888079d90000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003ae77d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
R13: ffff888148c3ede8 R14: dffffc0000000000 R15: ffffffff8c47e761
FS:  000055558a3fd500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f79c7de34c8 CR3: 000000007551c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debugfs_file_get fs/debugfs/file.c:152 [inline]
 open_proxy_open+0x4f/0x4c0 fs/debugfs/file.c:283
 do_dentry_open+0xdec/0x1960 fs/open.c:955
 vfs_open+0x3b/0x370 fs/open.c:1085
 do_open fs/namei.c:3828 [inline]
 path_openat+0x2c74/0x3580 fs/namei.c:3987
 do_filp_open+0x27f/0x4e0 fs/namei.c:4014
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1427
 do_sys_open fs/open.c:1442 [inline]
 __do_sys_openat fs/open.c:1458 [inline]
 __se_sys_openat fs/open.c:1453 [inline]
 __x64_sys_openat+0x247/0x2a0 fs/open.c:1453
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f79c7d84611
Code: 75 57 89 f0 25 00 00 41 00 3d 00 00 41 00 74 49 80 3d 3a 7f 1c 00 00 74 6d 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 93 00 00 00 48 8b 54 24 28 64 48 2b 14 25
RSP: 002b:00007ffd8e09b9e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f79c7d84611
RDX: 0000000000080001 RSI: 00007f79c7de34c8 RDI: 00000000ffffff9c
RBP: 00007f79c7de34c8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
R13: 00007ffd8e09ba80 R14: 00007f79c7e01a6d R15: 000055558a417010
 </TASK>


Warning: Permanently added '10.128.10.50' (ED25519) to the list of known hosts.
2025/01/11 19:38:22 ignoring optional flag "sandboxArg"="0"
2025/01/11 19:38:23 parsed 1 programs
[   67.315362][ T5829] ------------[ cut here ]------------
[   67.320966][ T5829] WARNING: CPU: 0 PID: 5829 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0
[   67.330319][ T5829] Modules linked in:
[   67.334252][ T5829] CPU: 0 UID: 0 PID: 5829 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-g2b88851f583d #0
[   67.345951][ T5829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[   67.356082][ T5829] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[   67.361968][ T5829] Code: 3f 01 48 b8 00 00 00 00 00 fc ff df 41 0f b6 44 05 00 84 c0 0f 85 e9 00 00 00 44 8b 74 24 40 e9 4f ff ff ff e8 2e 90 19 fe 90 <0f> 0b 90 b8 ea ff ff ff 4c 8b 3c 24 e9 5c ff ff ff 44 89 e9 80 e1
[   67.381712][ T5829] RSP: 0018:ffffc90003ae7720 EFLAGS: 00010293
[   67.387930][ T5829] RAX: ffffffff83a5b0b2 RBX: 1ffff11029187dbd RCX: ffff888079d90000
[   67.395930][ T5829] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   67.404050][ T5829] RBP: ffffc90003ae77d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[   67.412094][ T5829] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[   67.420153][ T5829] R13: ffff888148c3ede8 R14: dffffc0000000000 R15: ffffffff8c47e761
[   67.428356][ T5829] FS:  000055558a3fd500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
[   67.437336][ T5829] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   67.444111][ T5829] CR2: 00007f79c7de34c8 CR3: 000000007551c000 CR4: 00000000003526f0
[   67.452148][ T5829] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   67.460260][ T5829] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   67.468406][ T5829] Call Trace:
[   67.471700][ T5829]  <TASK>
[   67.474623][ T5829]  ? __warn+0x165/0x4d0
[   67.478847][ T5829]  ? __debugfs_file_get+0x5e3/0x6f0
[   67.484062][ T5829]  ? report_bug+0x2b3/0x500
[   67.488622][ T5829]  ? __debugfs_file_get+0x5e3/0x6f0
[   67.493882][ T5829]  ? handle_bug+0x60/0x90
[   67.498362][ T5829]  ? exc_invalid_op+0x1a/0x50
[   67.503061][ T5829]  ? asm_exc_invalid_op+0x1a/0x20
[   67.508171][ T5829]  ? __pfx_open_proxy_open+0x10/0x10
[   67.513692][ T5829]  ? do_dentry_open+0x65d/0x1960
[   67.518699][ T5829]  ? __debugfs_file_get+0xf7/0x6f0
[   67.523825][ T5829]  ? __debugfs_file_get+0x5e2/0x6f0
[   67.529093][ T5829]  ? __debugfs_file_get+0x5e3/0x6f0
[   67.534309][ T5829]  ? __pfx___debugfs_file_get+0x10/0x10
[   67.540015][ T5829]  ? __pfx_apparmor_file_open+0x10/0x10
[   67.545675][ T5829]  ? mnt_get_write_access+0x68/0x2b0
[   67.551119][ T5829]  ? mnt_get_write_access+0x68/0x2b0
[   67.556489][ T5829]  open_proxy_open+0x4f/0x4c0
[   67.561285][ T5829]  ? do_dentry_open+0xde0/0x1960
[   67.566227][ T5829]  ? __pfx_open_proxy_open+0x10/0x10
[   67.571649][ T5829]  do_dentry_open+0xdec/0x1960
[   67.576567][ T5829]  ? vfs_open+0x31/0x370
[   67.580829][ T5829]  vfs_open+0x3b/0x370
[   67.584928][ T5829]  path_openat+0x2c74/0x3580
[   67.589698][ T5829]  ? count_memcg_event_mm+0x94/0x420
[   67.595099][ T5829]  ? lockdep_hardirqs_on_prepare+0x43d/0x780
[   67.601184][ T5829]  ? __pfx_path_openat+0x10/0x10
[   67.606145][ T5829]  do_filp_open+0x27f/0x4e0
[   67.610799][ T5829]  ? __pfx_do_filp_open+0x10/0x10
[   67.615866][ T5829]  ? do_raw_spin_lock+0x14f/0x370
[   67.621000][ T5829]  do_sys_openat2+0x13e/0x1d0
[   67.625715][ T5829]  ? __pfx_do_sys_openat2+0x10/0x10
[   67.631007][ T5829]  ? __pfx_lock_acquire+0x10/0x10
[   67.636095][ T5829]  __x64_sys_openat+0x247/0x2a0
[   67.641001][ T5829]  ? __pfx___x64_sys_openat+0x10/0x10
[   67.646437][ T5829]  ? exc_page_fault+0x590/0x8b0
[   67.651393][ T5829]  ? do_syscall_64+0xb6/0x230
[   67.656082][ T5829]  do_syscall_64+0xf3/0x230
[   67.660645][ T5829]  ? clear_bhb_loop+0x35/0x90
[   67.665351][ T5829]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   67.671330][ T5829] RIP: 0033:0x7f79c7d84611
[   67.676195][ T5829] Code: 75 57 89 f0 25 00 00 41 00 3d 00 00 41 00 74 49 80 3d 3a 7f 1c 00 00 74 6d 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 93 00 00 00 48 8b 54 24 28 64 48 2b 14 25
[   67.695871][ T5829] RSP: 002b:00007ffd8e09b9e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[   67.704339][ T5829] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f79c7d84611
[   67.712358][ T5829] RDX: 0000000000080001 RSI: 00007f79c7de34c8 RDI: 00000000ffffff9c
[   67.720375][ T5829] RBP: 00007f79c7de34c8 R08: 0000000000000000 R09: 0000000000000000
[   67.728387][ T5829] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[   67.736544][ T5829] R13: 00007ffd8e09ba80 R14: 00007f79c7e01a6d R15: 000055558a417010
[   67.744605][ T5829]  </TASK>
[   67.747705][ T5829] Kernel panic - not syncing: kernel: panic_on_warn set ...
[   67.755020][ T5829] CPU: 0 UID: 0 PID: 5829 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-g2b88851f583d #0
[   67.766576][ T5829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[   67.776738][ T5829] Call Trace:
[   67.780010][ T5829]  <TASK>
[   67.782944][ T5829]  dump_stack_lvl+0x241/0x360
[   67.787794][ T5829]  ? __pfx_dump_stack_lvl+0x10/0x10
[   67.793068][ T5829]  ? __pfx__printk+0x10/0x10
[   67.797651][ T5829]  ? _printk+0xd5/0x120
[   67.801797][ T5829]  ? __init_begin+0x41000/0x41000
[   67.806841][ T5829]  ? vscnprintf+0x5d/0x90
[   67.811186][ T5829]  panic+0x349/0x880
[   67.815089][ T5829]  ? __warn+0x174/0x4d0
[   67.819251][ T5829]  ? __pfx_panic+0x10/0x10
[   67.823679][ T5829]  __warn+0x344/0x4d0
[   67.827665][ T5829]  ? __debugfs_file_get+0x5e3/0x6f0
[   67.832884][ T5829]  report_bug+0x2b3/0x500
[   67.837203][ T5829]  ? __debugfs_file_get+0x5e3/0x6f0
[   67.842398][ T5829]  handle_bug+0x60/0x90
[   67.846553][ T5829]  exc_invalid_op+0x1a/0x50
[   67.851138][ T5829]  asm_exc_invalid_op+0x1a/0x20
[   67.856009][ T5829] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[   67.861926][ T5829] Code: 3f 01 48 b8 00 00 00 00 00 fc ff df 41 0f b6 44 05 00 84 c0 0f 85 e9 00 00 00 44 8b 74 24 40 e9 4f ff ff ff e8 2e 90 19 fe 90 <0f> 0b 90 b8 ea ff ff ff 4c 8b 3c 24 e9 5c ff ff ff 44 89 e9 80 e1
[   67.881722][ T5829] RSP: 0018:ffffc90003ae7720 EFLAGS: 00010293
[   67.887824][ T5829] RAX: ffffffff83a5b0b2 RBX: 1ffff11029187dbd RCX: ffff888079d90000
[   67.895789][ T5829] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   67.903750][ T5829] RBP: ffffc90003ae77d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[   67.911887][ T5829] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[   67.919855][ T5829] R13: ffff888148c3ede8 R14: dffffc0000000000 R15: ffffffff8c47e761
[   67.927848][ T5829]  ? __pfx_open_proxy_open+0x10/0x10
[   67.933127][ T5829]  ? do_dentry_open+0x65d/0x1960
[   67.938055][ T5829]  ? __debugfs_file_get+0xf7/0x6f0
[   67.943155][ T5829]  ? __debugfs_file_get+0x5e2/0x6f0
[   67.948361][ T5829]  ? __pfx___debugfs_file_get+0x10/0x10
[   67.953904][ T5829]  ? __pfx_apparmor_file_open+0x10/0x10
[   67.959448][ T5829]  ? mnt_get_write_access+0x68/0x2b0
[   67.964750][ T5829]  ? mnt_get_write_access+0x68/0x2b0
[   67.970034][ T5829]  open_proxy_open+0x4f/0x4c0
[   67.974748][ T5829]  ? do_dentry_open+0xde0/0x1960
[   67.979677][ T5829]  ? __pfx_open_proxy_open+0x10/0x10
[   67.984959][ T5829]  do_dentry_open+0xdec/0x1960
[   67.989720][ T5829]  ? vfs_open+0x31/0x370
[   67.993956][ T5829]  vfs_open+0x3b/0x370
[   67.998201][ T5829]  path_openat+0x2c74/0x3580
[   68.002787][ T5829]  ? count_memcg_event_mm+0x94/0x420
[   68.008065][ T5829]  ? lockdep_hardirqs_on_prepare+0x43d/0x780
[   68.014053][ T5829]  ? __pfx_path_openat+0x10/0x10
[   68.018996][ T5829]  do_filp_open+0x27f/0x4e0
[   68.023496][ T5829]  ? __pfx_do_filp_open+0x10/0x10
[   68.028538][ T5829]  ? do_raw_spin_lock+0x14f/0x370
[   68.033573][ T5829]  do_sys_openat2+0x13e/0x1d0
[   68.038266][ T5829]  ? __pfx_do_sys_openat2+0x10/0x10
[   68.043482][ T5829]  ? __pfx_lock_acquire+0x10/0x10
[   68.048533][ T5829]  __x64_sys_openat+0x247/0x2a0
[   68.053396][ T5829]  ? __pfx___x64_sys_openat+0x10/0x10
[   68.058765][ T5829]  ? exc_page_fault+0x590/0x8b0
[   68.063705][ T5829]  ? do_syscall_64+0xb6/0x230
[   68.068378][ T5829]  do_syscall_64+0xf3/0x230
[   68.072873][ T5829]  ? clear_bhb_loop+0x35/0x90
[   68.077565][ T5829]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   68.083450][ T5829] RIP: 0033:0x7f79c7d84611
[   68.087930][ T5829] Code: 75 57 89 f0 25 00 00 41 00 3d 00 00 41 00 74 49 80 3d 3a 7f 1c 00 00 74 6d 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 93 00 00 00 48 8b 54 24 28 64 48 2b 14 25
[   68.107531][ T5829] RSP: 002b:00007ffd8e09b9e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[   68.116026][ T5829] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f79c7d84611
[   68.123989][ T5829] RDX: 0000000000080001 RSI: 00007f79c7de34c8 RDI: 00000000ffffff9c
[   68.131976][ T5829] RBP: 00007f79c7de34c8 R08: 0000000000000000 R09: 0000000000000000
[   68.140028][ T5829] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[   68.148002][ T5829] R13: 00007ffd8e09ba80 R14: 00007f79c7e01a6d R15: 000055558a417010
[   68.155972][ T5829]  </TASK>
[   68.159293][ T5829] Kernel Offset: disabled
[   68.163653][ T5829] Rebooting in 86400 seconds..


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-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'
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-2/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-build2125914570=/tmp/go-build -gno-record-gcc-switches'

git status (err=<nil>)
HEAD detached at d3ccff637
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=d3ccff6372e07c6aabd02b5da419aa6492b5f0ad -X 'github.com/google/syzkaller/prog.gitRevisionDate=20241226-091248'" "-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 -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
	-DHOSTGOOS_linux=1 -DGIT_REVISION=\"d3ccff6372e07c6aabd02b5da419aa6492b5f0ad\"
/usr/bin/ld: /tmp/ccJ2JKt3.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