WARNING in __debugfs_file_get
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5832 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0 fs/debugfs/file.c:90
Modules linked in:
CPU: 0 UID: 0 PID: 5832 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:ffffc90003fbf720 EFLAGS: 00010293
RAX: ffffffff83a5b0b2 RBX: 1ffff11029187aa8 RCX: ffff88807cfb9e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003fbf7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
R13: ffff888148c3d540 R14: dffffc0000000000 R15: ffffffff8c47e761
FS: 00005555711fb500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa5699e34c8 CR3: 000000007aa1e000 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:0x7fa569984611
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:00007ffe5fe9d000 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fa569984611
RDX: 0000000000080001 RSI: 00007fa5699e34c8 RDI: 00000000ffffff9c
RBP: 00007fa5699e34c8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
R13: 00007ffe5fe9d0a0 R14: 00007fa569a01a6d R15: 0000555571215010
Warning: Permanently added '10.128.0.187' (ED25519) to the list of known hosts.
2025/01/11 12:55:34 ignoring optional flag "sandboxArg"="0"
2025/01/11 12:55:34 parsed 1 programs
[ 65.322538][ T5832] ------------[ cut here ]------------
[ 65.328053][ T5832] WARNING: CPU: 0 PID: 5832 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0
[ 65.337421][ T5832] Modules linked in:
[ 65.341426][ T5832] CPU: 0 UID: 0 PID: 5832 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-g2b88851f583d #0
[ 65.353061][ T5832] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 65.363177][ T5832] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 65.369073][ T5832] 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.388787][ T5832] RSP: 0018:ffffc90003fbf720 EFLAGS: 00010293
[ 65.394931][ T5832] RAX: ffffffff83a5b0b2 RBX: 1ffff11029187aa8 RCX: ffff88807cfb9e00
[ 65.402958][ T5832] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 65.411031][ T5832] RBP: ffffc90003fbf7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 65.419052][ T5832] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 65.427013][ T5832] R13: ffff888148c3d540 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 65.435048][ T5832] FS: 00005555711fb500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
[ 65.444017][ T5832] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 65.450662][ T5832] CR2: 00007fa5699e34c8 CR3: 000000007aa1e000 CR4: 00000000003526f0
[ 65.458667][ T5832] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 65.466693][ T5832] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 65.474720][ T5832] Call Trace:
[ 65.478078][ T5832]
[ 65.481038][ T5832] ? __warn+0x165/0x4d0
[ 65.485209][ T5832] ? __debugfs_file_get+0x5e3/0x6f0
[ 65.490505][ T5832] ? report_bug+0x2b3/0x500
[ 65.495111][ T5832] ? __debugfs_file_get+0x5e3/0x6f0
[ 65.500366][ T5832] ? handle_bug+0x60/0x90
[ 65.504705][ T5832] ? exc_invalid_op+0x1a/0x50
[ 65.509448][ T5832] ? asm_exc_invalid_op+0x1a/0x20
[ 65.514480][ T5832] ? __pfx_open_proxy_open+0x10/0x10
[ 65.519865][ T5832] ? do_dentry_open+0x65d/0x1960
[ 65.524908][ T5832] ? __debugfs_file_get+0xf7/0x6f0
[ 65.530072][ T5832] ? __debugfs_file_get+0x5e2/0x6f0
[ 65.535282][ T5832] ? __debugfs_file_get+0x5e3/0x6f0
[ 65.540521][ T5832] ? __pfx___debugfs_file_get+0x10/0x10
[ 65.546160][ T5832] ? __pfx_apparmor_file_open+0x10/0x10
[ 65.551763][ T5832] ? mnt_get_write_access+0x68/0x2b0
[ 65.557056][ T5832] ? mnt_get_write_access+0x68/0x2b0
[ 65.562387][ T5832] open_proxy_open+0x4f/0x4c0
[ 65.567070][ T5832] ? do_dentry_open+0xde0/0x1960
[ 65.572065][ T5832] ? __pfx_open_proxy_open+0x10/0x10
[ 65.577361][ T5832] do_dentry_open+0xdec/0x1960
[ 65.582172][ T5832] ? vfs_open+0x31/0x370
[ 65.586428][ T5832] vfs_open+0x3b/0x370
[ 65.590643][ T5832] path_openat+0x2c74/0x3580
[ 65.595245][ T5832] ? count_memcg_event_mm+0x94/0x420
[ 65.600566][ T5832] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 65.606570][ T5832] ? __pfx_path_openat+0x10/0x10
[ 65.611582][ T5832] do_filp_open+0x27f/0x4e0
[ 65.616152][ T5832] ? __pfx_do_filp_open+0x10/0x10
[ 65.621809][ T5832] ? do_raw_spin_lock+0x14f/0x370
[ 65.626887][ T5832] do_sys_openat2+0x13e/0x1d0
[ 65.631649][ T5832] ? __pfx_do_sys_openat2+0x10/0x10
[ 65.636873][ T5832] ? __pfx_lock_acquire+0x10/0x10
[ 65.641969][ T5832] __x64_sys_openat+0x247/0x2a0
[ 65.646829][ T5832] ? __pfx___x64_sys_openat+0x10/0x10
[ 65.652280][ T5832] ? exc_page_fault+0x590/0x8b0
[ 65.657146][ T5832] ? do_syscall_64+0xb6/0x230
[ 65.661861][ T5832] do_syscall_64+0xf3/0x230
[ 65.666370][ T5832] ? clear_bhb_loop+0x35/0x90
[ 65.671107][ T5832] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 65.677014][ T5832] RIP: 0033:0x7fa569984611
[ 65.681471][ T5832] 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.701137][ T5832] RSP: 002b:00007ffe5fe9d000 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 65.709586][ T5832] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fa569984611
[ 65.717571][ T5832] RDX: 0000000000080001 RSI: 00007fa5699e34c8 RDI: 00000000ffffff9c
[ 65.725630][ T5832] RBP: 00007fa5699e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 65.733656][ T5832] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 65.741705][ T5832] R13: 00007ffe5fe9d0a0 R14: 00007fa569a01a6d R15: 0000555571215010
[ 65.749746][ T5832]
[ 65.752790][ T5832] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 65.760058][ T5832] CPU: 0 UID: 0 PID: 5832 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-g2b88851f583d #0
[ 65.771574][ T5832] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 65.781614][ T5832] Call Trace:
[ 65.784874][ T5832]
[ 65.787809][ T5832] dump_stack_lvl+0x241/0x360
[ 65.792472][ T5832] ? __pfx_dump_stack_lvl+0x10/0x10
[ 65.797649][ T5832] ? __pfx__printk+0x10/0x10
[ 65.802222][ T5832] ? _printk+0xd5/0x120
[ 65.806455][ T5832] ? __init_begin+0x41000/0x41000
[ 65.811468][ T5832] ? vscnprintf+0x5d/0x90
[ 65.815785][ T5832] panic+0x349/0x880
[ 65.819669][ T5832] ? __warn+0x174/0x4d0
[ 65.823829][ T5832] ? __pfx_panic+0x10/0x10
[ 65.828241][ T5832] __warn+0x344/0x4d0
[ 65.832218][ T5832] ? __debugfs_file_get+0x5e3/0x6f0
[ 65.837402][ T5832] report_bug+0x2b3/0x500
[ 65.841724][ T5832] ? __debugfs_file_get+0x5e3/0x6f0
[ 65.846913][ T5832] handle_bug+0x60/0x90
[ 65.851054][ T5832] exc_invalid_op+0x1a/0x50
[ 65.855562][ T5832] asm_exc_invalid_op+0x1a/0x20
[ 65.860399][ T5832] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 65.866189][ T5832] 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.885801][ T5832] RSP: 0018:ffffc90003fbf720 EFLAGS: 00010293
[ 65.891853][ T5832] RAX: ffffffff83a5b0b2 RBX: 1ffff11029187aa8 RCX: ffff88807cfb9e00
[ 65.899827][ T5832] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 65.907779][ T5832] RBP: ffffc90003fbf7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 65.915736][ T5832] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 65.923695][ T5832] R13: ffff888148c3d540 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 65.931656][ T5832] ? __pfx_open_proxy_open+0x10/0x10
[ 65.936945][ T5832] ? do_dentry_open+0x65d/0x1960
[ 65.941876][ T5832] ? __debugfs_file_get+0xf7/0x6f0
[ 65.946976][ T5832] ? __debugfs_file_get+0x5e2/0x6f0
[ 65.952169][ T5832] ? __pfx___debugfs_file_get+0x10/0x10
[ 65.957702][ T5832] ? __pfx_apparmor_file_open+0x10/0x10
[ 65.963242][ T5832] ? mnt_get_write_access+0x68/0x2b0
[ 65.968515][ T5832] ? mnt_get_write_access+0x68/0x2b0
[ 65.973966][ T5832] open_proxy_open+0x4f/0x4c0
[ 65.978633][ T5832] ? do_dentry_open+0xde0/0x1960
[ 65.983560][ T5832] ? __pfx_open_proxy_open+0x10/0x10
[ 65.988842][ T5832] do_dentry_open+0xdec/0x1960
[ 65.993694][ T5832] ? vfs_open+0x31/0x370
[ 65.997939][ T5832] vfs_open+0x3b/0x370
[ 66.002004][ T5832] path_openat+0x2c74/0x3580
[ 66.006621][ T5832] ? count_memcg_event_mm+0x94/0x420
[ 66.011897][ T5832] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 66.017881][ T5832] ? __pfx_path_openat+0x10/0x10
[ 66.022823][ T5832] do_filp_open+0x27f/0x4e0
[ 66.027323][ T5832] ? __pfx_do_filp_open+0x10/0x10
[ 66.032338][ T5832] ? do_raw_spin_lock+0x14f/0x370
[ 66.037379][ T5832] do_sys_openat2+0x13e/0x1d0
[ 66.042048][ T5832] ? __pfx_do_sys_openat2+0x10/0x10
[ 66.047239][ T5832] ? __pfx_lock_acquire+0x10/0x10
[ 66.052262][ T5832] __x64_sys_openat+0x247/0x2a0
[ 66.057104][ T5832] ? __pfx___x64_sys_openat+0x10/0x10
[ 66.062482][ T5832] ? exc_page_fault+0x590/0x8b0
[ 66.067329][ T5832] ? do_syscall_64+0xb6/0x230
[ 66.072000][ T5832] do_syscall_64+0xf3/0x230
[ 66.076495][ T5832] ? clear_bhb_loop+0x35/0x90
[ 66.081173][ T5832] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 66.087061][ T5832] RIP: 0033:0x7fa569984611
[ 66.091476][ T5832] 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
[ 66.111162][ T5832] RSP: 002b:00007ffe5fe9d000 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 66.119636][ T5832] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fa569984611
[ 66.127597][ T5832] RDX: 0000000000080001 RSI: 00007fa5699e34c8 RDI: 00000000ffffff9c
[ 66.135556][ T5832] RBP: 00007fa5699e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 66.143519][ T5832] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 66.151478][ T5832] R13: 00007ffe5fe9d0a0 R14: 00007fa569a01a6d R15: 0000555571215010
[ 66.159456][ T5832]
[ 66.162786][ T5832] Kernel Offset: disabled
[ 66.167125][ T5832] 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-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-build4126575994=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
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/ccrCNF2S.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