WARNING in __debugfs_file_get
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5831 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0 fs/debugfs/file.c:90
Modules linked in:
CPU: 0 UID: 0 PID: 5831 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-07860-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:ffffc90003eff720 EFLAGS: 00010293
RAX: ffffffff83a5b0b2 RBX: 1ffff1102919618e RCX: ffff88807ecc0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003eff7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
R13: ffff888148cb0c70 R14: dffffc0000000000 R15: ffffffff8c47e761
FS: 00005555658e5500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdebe5e34c8 CR3: 0000000075b12000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
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:0x7fdebe584611
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:00007fff2b54bf80 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fdebe584611
RDX: 0000000000080001 RSI: 00007fdebe5e34c8 RDI: 00000000ffffff9c
RBP: 00007fdebe5e34c8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
R13: 00007fff2b54c020 R14: 00007fdebe601a6d R15: 00005555658ff010
Warning: Permanently added '10.128.0.165' (ED25519) to the list of known hosts.
2025/01/11 13:08:00 ignoring optional flag "sandboxArg"="0"
2025/01/11 13:08:01 parsed 1 programs
[ 64.664514][ T5831] ------------[ cut here ]------------
[ 64.670076][ T5831] WARNING: CPU: 0 PID: 5831 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0
[ 64.679837][ T5831] Modules linked in:
[ 64.683773][ T5831] CPU: 0 UID: 0 PID: 5831 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-07860-g2b88851f583d #0
[ 64.696017][ T5831] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 64.706197][ T5831] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 64.712079][ T5831] 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
[ 64.731786][ T5831] RSP: 0018:ffffc90003eff720 EFLAGS: 00010293
[ 64.737872][ T5831] RAX: ffffffff83a5b0b2 RBX: 1ffff1102919618e RCX: ffff88807ecc0000
[ 64.745932][ T5831] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 64.753990][ T5831] RBP: ffffc90003eff7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 64.762029][ T5831] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 64.770066][ T5831] R13: ffff888148cb0c70 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 64.778091][ T5831] FS: 00005555658e5500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
[ 64.787131][ T5831] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 64.793875][ T5831] CR2: 00007fdebe5e34c8 CR3: 0000000075b12000 CR4: 00000000003526f0
[ 64.801891][ T5831] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 64.809921][ T5831] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 64.817887][ T5831] Call Trace:
[ 64.821248][ T5831]
[ 64.824213][ T5831] ? __warn+0x165/0x4d0
[ 64.828449][ T5831] ? __debugfs_file_get+0x5e3/0x6f0
[ 64.833722][ T5831] ? report_bug+0x2b3/0x500
[ 64.838370][ T5831] ? __debugfs_file_get+0x5e3/0x6f0
[ 64.843598][ T5831] ? handle_bug+0x60/0x90
[ 64.847931][ T5831] ? exc_invalid_op+0x1a/0x50
[ 64.852675][ T5831] ? asm_exc_invalid_op+0x1a/0x20
[ 64.857723][ T5831] ? __pfx_open_proxy_open+0x10/0x10
[ 64.863098][ T5831] ? do_dentry_open+0x65d/0x1960
[ 64.868062][ T5831] ? __debugfs_file_get+0xf7/0x6f0
[ 64.873251][ T5831] ? __debugfs_file_get+0x5e2/0x6f0
[ 64.878569][ T5831] ? __debugfs_file_get+0x5e3/0x6f0
[ 64.883787][ T5831] ? __pfx___debugfs_file_get+0x10/0x10
[ 64.889400][ T5831] ? __pfx_apparmor_file_open+0x10/0x10
[ 64.894986][ T5831] ? mnt_get_write_access+0x68/0x2b0
[ 64.900382][ T5831] ? mnt_get_write_access+0x68/0x2b0
[ 64.905686][ T5831] open_proxy_open+0x4f/0x4c0
[ 64.910534][ T5831] ? do_dentry_open+0xde0/0x1960
[ 64.915509][ T5831] ? __pfx_open_proxy_open+0x10/0x10
[ 64.920850][ T5831] do_dentry_open+0xdec/0x1960
[ 64.925642][ T5831] ? vfs_open+0x31/0x370
[ 64.930128][ T5831] vfs_open+0x3b/0x370
[ 64.934229][ T5831] path_openat+0x2c74/0x3580
[ 64.938925][ T5831] ? count_memcg_event_mm+0x94/0x420
[ 64.944466][ T5831] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 64.950543][ T5831] ? __pfx_path_openat+0x10/0x10
[ 64.955512][ T5831] do_filp_open+0x27f/0x4e0
[ 64.960067][ T5831] ? __pfx_do_filp_open+0x10/0x10
[ 64.965122][ T5831] ? do_raw_spin_lock+0x14f/0x370
[ 64.970242][ T5831] do_sys_openat2+0x13e/0x1d0
[ 64.974934][ T5831] ? __pfx_do_sys_openat2+0x10/0x10
[ 64.980189][ T5831] ? __pfx_lock_acquire+0x10/0x10
[ 64.985244][ T5831] __x64_sys_openat+0x247/0x2a0
[ 64.990147][ T5831] ? __pfx___x64_sys_openat+0x10/0x10
[ 64.995538][ T5831] ? exc_page_fault+0x590/0x8b0
[ 65.000466][ T5831] ? do_syscall_64+0xb6/0x230
[ 65.005256][ T5831] do_syscall_64+0xf3/0x230
[ 65.009842][ T5831] ? clear_bhb_loop+0x35/0x90
[ 65.014543][ T5831] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 65.020529][ T5831] RIP: 0033:0x7fdebe584611
[ 65.024977][ T5831] 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
[ 65.044662][ T5831] RSP: 002b:00007fff2b54bf80 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 65.053138][ T5831] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fdebe584611
[ 65.061168][ T5831] RDX: 0000000000080001 RSI: 00007fdebe5e34c8 RDI: 00000000ffffff9c
[ 65.069185][ T5831] RBP: 00007fdebe5e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 65.077163][ T5831] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 65.085204][ T5831] R13: 00007fff2b54c020 R14: 00007fdebe601a6d R15: 00005555658ff010
[ 65.093270][ T5831]
[ 65.096295][ T5831] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 65.103577][ T5831] CPU: 0 UID: 0 PID: 5831 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-07860-g2b88851f583d #0
[ 65.115625][ T5831] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 65.125890][ T5831] Call Trace:
[ 65.129192][ T5831]
[ 65.132275][ T5831] dump_stack_lvl+0x241/0x360
[ 65.137002][ T5831] ? __pfx_dump_stack_lvl+0x10/0x10
[ 65.142202][ T5831] ? __pfx__printk+0x10/0x10
[ 65.146813][ T5831] ? _printk+0xd5/0x120
[ 65.150983][ T5831] ? __init_begin+0x41000/0x41000
[ 65.156032][ T5831] ? vscnprintf+0x5d/0x90
[ 65.160368][ T5831] panic+0x349/0x880
[ 65.164268][ T5831] ? __warn+0x174/0x4d0
[ 65.168445][ T5831] ? __pfx_panic+0x10/0x10
[ 65.172860][ T5831] __warn+0x344/0x4d0
[ 65.176829][ T5831] ? __debugfs_file_get+0x5e3/0x6f0
[ 65.182042][ T5831] report_bug+0x2b3/0x500
[ 65.186474][ T5831] ? __debugfs_file_get+0x5e3/0x6f0
[ 65.191698][ T5831] handle_bug+0x60/0x90
[ 65.195892][ T5831] exc_invalid_op+0x1a/0x50
[ 65.200404][ T5831] asm_exc_invalid_op+0x1a/0x20
[ 65.205261][ T5831] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 65.211066][ T5831] 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
[ 65.230761][ T5831] RSP: 0018:ffffc90003eff720 EFLAGS: 00010293
[ 65.236830][ T5831] RAX: ffffffff83a5b0b2 RBX: 1ffff1102919618e RCX: ffff88807ecc0000
[ 65.244884][ T5831] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 65.252852][ T5831] RBP: ffffc90003eff7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 65.260843][ T5831] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 65.268911][ T5831] R13: ffff888148cb0c70 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 65.276886][ T5831] ? __pfx_open_proxy_open+0x10/0x10
[ 65.282171][ T5831] ? do_dentry_open+0x65d/0x1960
[ 65.287236][ T5831] ? __debugfs_file_get+0xf7/0x6f0
[ 65.292444][ T5831] ? __debugfs_file_get+0x5e2/0x6f0
[ 65.297662][ T5831] ? __pfx___debugfs_file_get+0x10/0x10
[ 65.303219][ T5831] ? __pfx_apparmor_file_open+0x10/0x10
[ 65.308861][ T5831] ? mnt_get_write_access+0x68/0x2b0
[ 65.314142][ T5831] ? mnt_get_write_access+0x68/0x2b0
[ 65.319424][ T5831] open_proxy_open+0x4f/0x4c0
[ 65.324095][ T5831] ? do_dentry_open+0xde0/0x1960
[ 65.329024][ T5831] ? __pfx_open_proxy_open+0x10/0x10
[ 65.334309][ T5831] do_dentry_open+0xdec/0x1960
[ 65.339077][ T5831] ? vfs_open+0x31/0x370
[ 65.343312][ T5831] vfs_open+0x3b/0x370
[ 65.347387][ T5831] path_openat+0x2c74/0x3580
[ 65.352027][ T5831] ? count_memcg_event_mm+0x94/0x420
[ 65.357314][ T5831] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 65.363306][ T5831] ? __pfx_path_openat+0x10/0x10
[ 65.368604][ T5831] do_filp_open+0x27f/0x4e0
[ 65.373105][ T5831] ? __pfx_do_filp_open+0x10/0x10
[ 65.378142][ T5831] ? do_raw_spin_lock+0x14f/0x370
[ 65.383195][ T5831] do_sys_openat2+0x13e/0x1d0
[ 65.387895][ T5831] ? __pfx_do_sys_openat2+0x10/0x10
[ 65.393105][ T5831] ? __pfx_lock_acquire+0x10/0x10
[ 65.398141][ T5831] __x64_sys_openat+0x247/0x2a0
[ 65.402997][ T5831] ? __pfx___x64_sys_openat+0x10/0x10
[ 65.408368][ T5831] ? exc_page_fault+0x590/0x8b0
[ 65.413320][ T5831] ? do_syscall_64+0xb6/0x230
[ 65.418006][ T5831] do_syscall_64+0xf3/0x230
[ 65.422505][ T5831] ? clear_bhb_loop+0x35/0x90
[ 65.427272][ T5831] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 65.433348][ T5831] RIP: 0033:0x7fdebe584611
[ 65.437763][ T5831] 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
[ 65.457371][ T5831] RSP: 002b:00007fff2b54bf80 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 65.465793][ T5831] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fdebe584611
[ 65.473763][ T5831] RDX: 0000000000080001 RSI: 00007fdebe5e34c8 RDI: 00000000ffffff9c
[ 65.481726][ T5831] RBP: 00007fdebe5e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 65.489689][ T5831] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 65.497651][ T5831] R13: 00007fff2b54c020 R14: 00007fdebe601a6d R15: 00005555658ff010
[ 65.505719][ T5831]
[ 65.508999][ T5831] Kernel Offset: disabled
[ 65.513376][ T5831] Rebooting in 86400 seconds..
syzkaller build log:
go env (err=)
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-build227993403=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at d3ccff6372
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/cc9AsQ66.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