WARNING in __debugfs_file_get
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5830 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0 fs/debugfs/file.c:90
Modules linked in:
CPU: 1 UID: 0 PID: 5830 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:ffffc90003f4f720 EFLAGS: 00010293
RAX: ffffffff83a5b0b2 RBX: 1ffff1102918f679 RCX: ffff88807c199e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f4f7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
R13: ffff888148c7b3c8 R14: dffffc0000000000 R15: ffffffff8c47e761
FS: 000055557ba9d500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc7249e34c8 CR3: 0000000030192000 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:0x7fc724984611
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:00007ffe65c9ced0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fc724984611
RDX: 0000000000080001 RSI: 00007fc7249e34c8 RDI: 00000000ffffff9c
RBP: 00007fc7249e34c8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
R13: 00007ffe65c9cf70 R14: 00007fc724a01a6d R15: 000055557bab7010
Warning: Permanently added '10.128.0.255' (ED25519) to the list of known hosts.
2025/01/11 23:20:02 ignoring optional flag "sandboxArg"="0"
2025/01/11 23:20:02 parsed 1 programs
syzkaller login: [ 66.624243][ T5830] ------------[ cut here ]------------
[ 66.629818][ T5830] WARNING: CPU: 1 PID: 5830 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0
[ 66.639193][ T5830] Modules linked in:
[ 66.643252][ T5830] CPU: 1 UID: 0 PID: 5830 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-g2b88851f583d #0
[ 66.654883][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 66.665078][ T5830] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 66.670942][ T5830] 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
[ 66.690818][ T5830] RSP: 0018:ffffc90003f4f720 EFLAGS: 00010293
[ 66.696972][ T5830] RAX: ffffffff83a5b0b2 RBX: 1ffff1102918f679 RCX: ffff88807c199e00
[ 66.704965][ T5830] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 66.713044][ T5830] RBP: ffffc90003f4f7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 66.721081][ T5830] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 66.729138][ T5830] R13: ffff888148c7b3c8 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 66.737190][ T5830] FS: 000055557ba9d500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
[ 66.746226][ T5830] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 66.752868][ T5830] CR2: 00007fc7249e34c8 CR3: 0000000030192000 CR4: 00000000003526f0
[ 66.761109][ T5830] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 66.769370][ T5830] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 66.777402][ T5830] Call Trace:
[ 66.780692][ T5830]
[ 66.783640][ T5830] ? __warn+0x165/0x4d0
[ 66.787871][ T5830] ? __debugfs_file_get+0x5e3/0x6f0
[ 66.793176][ T5830] ? report_bug+0x2b3/0x500
[ 66.797723][ T5830] ? __debugfs_file_get+0x5e3/0x6f0
[ 66.802942][ T5830] ? handle_bug+0x60/0x90
[ 66.807337][ T5830] ? exc_invalid_op+0x1a/0x50
[ 66.812025][ T5830] ? asm_exc_invalid_op+0x1a/0x20
[ 66.817204][ T5830] ? __pfx_open_proxy_open+0x10/0x10
[ 66.822521][ T5830] ? do_dentry_open+0x65d/0x1960
[ 66.827563][ T5830] ? __debugfs_file_get+0xf7/0x6f0
[ 66.832809][ T5830] ? __debugfs_file_get+0x5e2/0x6f0
[ 66.838114][ T5830] ? __debugfs_file_get+0x5e3/0x6f0
[ 66.843432][ T5830] ? __pfx___debugfs_file_get+0x10/0x10
[ 66.849161][ T5830] ? __pfx_apparmor_file_open+0x10/0x10
[ 66.854788][ T5830] ? mnt_get_write_access+0x68/0x2b0
[ 66.860127][ T5830] ? mnt_get_write_access+0x68/0x2b0
[ 66.865672][ T5830] open_proxy_open+0x4f/0x4c0
[ 66.870351][ T5830] ? do_dentry_open+0xde0/0x1960
[ 66.875390][ T5830] ? __pfx_open_proxy_open+0x10/0x10
[ 66.880788][ T5830] do_dentry_open+0xdec/0x1960
[ 66.885633][ T5830] ? vfs_open+0x31/0x370
[ 66.889927][ T5830] vfs_open+0x3b/0x370
[ 66.894026][ T5830] path_openat+0x2c74/0x3580
[ 66.898894][ T5830] ? count_memcg_event_mm+0x94/0x420
[ 66.904208][ T5830] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 66.910310][ T5830] ? __pfx_path_openat+0x10/0x10
[ 66.915334][ T5830] do_filp_open+0x27f/0x4e0
[ 66.919903][ T5830] ? __pfx_do_filp_open+0x10/0x10
[ 66.924942][ T5830] ? do_raw_spin_lock+0x14f/0x370
[ 66.930072][ T5830] do_sys_openat2+0x13e/0x1d0
[ 66.934762][ T5830] ? __pfx_do_sys_openat2+0x10/0x10
[ 66.940257][ T5830] ? __pfx_lock_acquire+0x10/0x10
[ 66.945329][ T5830] __x64_sys_openat+0x247/0x2a0
[ 66.950372][ T5830] ? __pfx___x64_sys_openat+0x10/0x10
[ 66.955797][ T5830] ? exc_page_fault+0x590/0x8b0
[ 66.960659][ T5830] ? do_syscall_64+0xb6/0x230
[ 66.965335][ T5830] do_syscall_64+0xf3/0x230
[ 66.969945][ T5830] ? clear_bhb_loop+0x35/0x90
[ 66.974702][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 66.980687][ T5830] RIP: 0033:0x7fc724984611
[ 66.985147][ T5830] 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.004895][ T5830] RSP: 002b:00007ffe65c9ced0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 67.013405][ T5830] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fc724984611
[ 67.021475][ T5830] RDX: 0000000000080001 RSI: 00007fc7249e34c8 RDI: 00000000ffffff9c
[ 67.029509][ T5830] RBP: 00007fc7249e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 67.037745][ T5830] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 67.045786][ T5830] R13: 00007ffe65c9cf70 R14: 00007fc724a01a6d R15: 000055557bab7010
[ 67.053791][ T5830]
[ 67.056923][ T5830] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 67.064240][ T5830] CPU: 1 UID: 0 PID: 5830 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-g2b88851f583d #0
[ 67.075782][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 67.085827][ T5830] Call Trace:
[ 67.089094][ T5830]
[ 67.092010][ T5830] dump_stack_lvl+0x241/0x360
[ 67.096700][ T5830] ? __pfx_dump_stack_lvl+0x10/0x10
[ 67.101899][ T5830] ? __pfx__printk+0x10/0x10
[ 67.106487][ T5830] ? _printk+0xd5/0x120
[ 67.110640][ T5830] ? __init_begin+0x41000/0x41000
[ 67.115675][ T5830] ? vscnprintf+0x5d/0x90
[ 67.120134][ T5830] panic+0x349/0x880
[ 67.124118][ T5830] ? __warn+0x174/0x4d0
[ 67.128462][ T5830] ? __pfx_panic+0x10/0x10
[ 67.132881][ T5830] __warn+0x344/0x4d0
[ 67.136851][ T5830] ? __debugfs_file_get+0x5e3/0x6f0
[ 67.142037][ T5830] report_bug+0x2b3/0x500
[ 67.146353][ T5830] ? __debugfs_file_get+0x5e3/0x6f0
[ 67.151558][ T5830] handle_bug+0x60/0x90
[ 67.155702][ T5830] exc_invalid_op+0x1a/0x50
[ 67.160353][ T5830] asm_exc_invalid_op+0x1a/0x20
[ 67.165230][ T5830] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 67.171094][ T5830] 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.190720][ T5830] RSP: 0018:ffffc90003f4f720 EFLAGS: 00010293
[ 67.196793][ T5830] RAX: ffffffff83a5b0b2 RBX: 1ffff1102918f679 RCX: ffff88807c199e00
[ 67.204773][ T5830] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 67.212743][ T5830] RBP: ffffc90003f4f7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 67.220707][ T5830] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 67.228668][ T5830] R13: ffff888148c7b3c8 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 67.236739][ T5830] ? __pfx_open_proxy_open+0x10/0x10
[ 67.242025][ T5830] ? do_dentry_open+0x65d/0x1960
[ 67.246983][ T5830] ? __debugfs_file_get+0xf7/0x6f0
[ 67.252131][ T5830] ? __debugfs_file_get+0x5e2/0x6f0
[ 67.257346][ T5830] ? __pfx___debugfs_file_get+0x10/0x10
[ 67.262885][ T5830] ? __pfx_apparmor_file_open+0x10/0x10
[ 67.268608][ T5830] ? mnt_get_write_access+0x68/0x2b0
[ 67.273889][ T5830] ? mnt_get_write_access+0x68/0x2b0
[ 67.279185][ T5830] open_proxy_open+0x4f/0x4c0
[ 67.283891][ T5830] ? do_dentry_open+0xde0/0x1960
[ 67.288827][ T5830] ? __pfx_open_proxy_open+0x10/0x10
[ 67.294157][ T5830] do_dentry_open+0xdec/0x1960
[ 67.298926][ T5830] ? vfs_open+0x31/0x370
[ 67.303168][ T5830] vfs_open+0x3b/0x370
[ 67.307261][ T5830] path_openat+0x2c74/0x3580
[ 67.311859][ T5830] ? count_memcg_event_mm+0x94/0x420
[ 67.317238][ T5830] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 67.323241][ T5830] ? __pfx_path_openat+0x10/0x10
[ 67.328218][ T5830] do_filp_open+0x27f/0x4e0
[ 67.332741][ T5830] ? __pfx_do_filp_open+0x10/0x10
[ 67.337764][ T5830] ? do_raw_spin_lock+0x14f/0x370
[ 67.342895][ T5830] do_sys_openat2+0x13e/0x1d0
[ 67.347690][ T5830] ? __pfx_do_sys_openat2+0x10/0x10
[ 67.352887][ T5830] ? __pfx_lock_acquire+0x10/0x10
[ 67.357911][ T5830] __x64_sys_openat+0x247/0x2a0
[ 67.362850][ T5830] ? __pfx___x64_sys_openat+0x10/0x10
[ 67.368421][ T5830] ? exc_page_fault+0x590/0x8b0
[ 67.373288][ T5830] ? do_syscall_64+0xb6/0x230
[ 67.377963][ T5830] do_syscall_64+0xf3/0x230
[ 67.382547][ T5830] ? clear_bhb_loop+0x35/0x90
[ 67.387336][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 67.393255][ T5830] RIP: 0033:0x7fc724984611
[ 67.397682][ T5830] 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.417477][ T5830] RSP: 002b:00007ffe65c9ced0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 67.425901][ T5830] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007fc724984611
[ 67.433872][ T5830] RDX: 0000000000080001 RSI: 00007fc7249e34c8 RDI: 00000000ffffff9c
[ 67.441931][ T5830] RBP: 00007fc7249e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 67.449989][ T5830] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 67.457953][ T5830] R13: 00007ffe65c9cf70 R14: 00007fc724a01a6d R15: 000055557bab7010
[ 67.465930][ T5830]
[ 67.469367][ T5830] Kernel Offset: disabled
[ 67.473710][ T5830] 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-build4244399485=/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/cclR7UvL.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