WARNING in __debugfs_file_get
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5826 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0 fs/debugfs/file.c:90
Modules linked in:
CPU: 1 UID: 0 PID: 5826 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:ffffc90003f6f720 EFLAGS: 00010293
RAX: ffffffff83a5b0b2 RBX: 1ffff11004688445 RCX: ffff88803082da00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f6f7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
R13: ffff888023442228 R14: dffffc0000000000 R15: ffffffff8c47e761
FS: 0000555581cef500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f26895e34c8 CR3: 0000000079ef8000 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:0x7f2689584611
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:00007fff83709020 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f2689584611
RDX: 0000000000080001 RSI: 00007f26895e34c8 RDI: 00000000ffffff9c
RBP: 00007f26895e34c8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
R13: 00007fff837090c0 R14: 00007f2689601a6d R15: 0000555581d09010
Warning: Permanently added '10.128.1.156' (ED25519) to the list of known hosts.
2025/01/11 12:05:42 ignoring optional flag "sandboxArg"="0"
2025/01/11 12:05:43 parsed 1 programs
[ 68.221058][ T5826] ------------[ cut here ]------------
[ 68.226838][ T5826] WARNING: CPU: 1 PID: 5826 at fs/debugfs/file.c:90 __debugfs_file_get+0x5e3/0x6f0
[ 68.236138][ T5826] Modules linked in:
[ 68.240123][ T5826] CPU: 1 UID: 0 PID: 5826 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-07860-g2b88851f583d #0
[ 68.252610][ T5826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 68.262852][ T5826] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 68.268917][ T5826] 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
[ 68.289142][ T5826] RSP: 0018:ffffc90003f6f720 EFLAGS: 00010293
[ 68.295344][ T5826] RAX: ffffffff83a5b0b2 RBX: 1ffff11004688445 RCX: ffff88803082da00
[ 68.303839][ T5826] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 68.312046][ T5826] RBP: ffffc90003f6f7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 68.320481][ T5826] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 68.328602][ T5826] R13: ffff888023442228 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 68.336909][ T5826] FS: 0000555581cef500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
[ 68.345866][ T5826] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 68.352612][ T5826] CR2: 00007f26895e34c8 CR3: 0000000079ef8000 CR4: 00000000003526f0
[ 68.360742][ T5826] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 68.368990][ T5826] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 68.377133][ T5826] Call Trace:
[ 68.380506][ T5826]
[ 68.383431][ T5826] ? __warn+0x165/0x4d0
[ 68.387641][ T5826] ? __debugfs_file_get+0x5e3/0x6f0
[ 68.392957][ T5826] ? report_bug+0x2b3/0x500
[ 68.397741][ T5826] ? __debugfs_file_get+0x5e3/0x6f0
[ 68.403089][ T5826] ? handle_bug+0x60/0x90
[ 68.407568][ T5826] ? exc_invalid_op+0x1a/0x50
[ 68.412292][ T5826] ? asm_exc_invalid_op+0x1a/0x20
[ 68.417477][ T5826] ? __pfx_open_proxy_open+0x10/0x10
[ 68.422868][ T5826] ? do_dentry_open+0x65d/0x1960
[ 68.427904][ T5826] ? __debugfs_file_get+0xf7/0x6f0
[ 68.433038][ T5826] ? __debugfs_file_get+0x5e2/0x6f0
[ 68.438291][ T5826] ? __debugfs_file_get+0x5e3/0x6f0
[ 68.443612][ T5826] ? __pfx___debugfs_file_get+0x10/0x10
[ 68.449311][ T5826] ? __pfx_apparmor_file_open+0x10/0x10
[ 68.454906][ T5826] ? mnt_get_write_access+0x68/0x2b0
[ 68.460285][ T5826] ? mnt_get_write_access+0x68/0x2b0
[ 68.465612][ T5826] open_proxy_open+0x4f/0x4c0
[ 68.470365][ T5826] ? do_dentry_open+0xde0/0x1960
[ 68.475406][ T5826] ? __pfx_open_proxy_open+0x10/0x10
[ 68.480742][ T5826] do_dentry_open+0xdec/0x1960
[ 68.485529][ T5826] ? vfs_open+0x31/0x370
[ 68.489829][ T5826] vfs_open+0x3b/0x370
[ 68.493915][ T5826] path_openat+0x2c74/0x3580
[ 68.498558][ T5826] ? count_memcg_event_mm+0x94/0x420
[ 68.503866][ T5826] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 68.509951][ T5826] ? __pfx_path_openat+0x10/0x10
[ 68.514915][ T5826] do_filp_open+0x27f/0x4e0
[ 68.519577][ T5826] ? __pfx_do_filp_open+0x10/0x10
[ 68.524735][ T5826] ? do_raw_spin_lock+0x14f/0x370
[ 68.529916][ T5826] do_sys_openat2+0x13e/0x1d0
[ 68.534619][ T5826] ? __pfx_do_sys_openat2+0x10/0x10
[ 68.539912][ T5826] ? __pfx_lock_acquire+0x10/0x10
[ 68.545132][ T5826] __x64_sys_openat+0x247/0x2a0
[ 68.550040][ T5826] ? __pfx___x64_sys_openat+0x10/0x10
[ 68.555652][ T5826] ? exc_page_fault+0x590/0x8b0
[ 68.560803][ T5826] ? do_syscall_64+0xb6/0x230
[ 68.565747][ T5826] do_syscall_64+0xf3/0x230
[ 68.570409][ T5826] ? clear_bhb_loop+0x35/0x90
[ 68.575129][ T5826] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 68.581254][ T5826] RIP: 0033:0x7f2689584611
[ 68.585741][ T5826] 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.605521][ T5826] RSP: 002b:00007fff83709020 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 68.614017][ T5826] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f2689584611
[ 68.622081][ T5826] RDX: 0000000000080001 RSI: 00007f26895e34c8 RDI: 00000000ffffff9c
[ 68.630119][ T5826] RBP: 00007f26895e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 68.638283][ T5826] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 68.646371][ T5826] R13: 00007fff837090c0 R14: 00007f2689601a6d R15: 0000555581d09010
[ 68.654471][ T5826]
[ 68.657828][ T5826] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 68.665329][ T5826] CPU: 1 UID: 0 PID: 5826 Comm: syz-executor Not tainted 6.13.0-rc6-next-20250110-syzkaller-07860-g2b88851f583d #0
[ 68.677910][ T5826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
[ 68.688232][ T5826] Call Trace:
[ 68.691742][ T5826]
[ 68.694688][ T5826] dump_stack_lvl+0x241/0x360
[ 68.699384][ T5826] ? __pfx_dump_stack_lvl+0x10/0x10
[ 68.704583][ T5826] ? __pfx__printk+0x10/0x10
[ 68.709188][ T5826] ? _printk+0xd5/0x120
[ 68.713390][ T5826] ? __init_begin+0x41000/0x41000
[ 68.718421][ T5826] ? vscnprintf+0x5d/0x90
[ 68.722867][ T5826] panic+0x349/0x880
[ 68.726857][ T5826] ? __warn+0x174/0x4d0
[ 68.731133][ T5826] ? __pfx_panic+0x10/0x10
[ 68.735586][ T5826] __warn+0x344/0x4d0
[ 68.739683][ T5826] ? __debugfs_file_get+0x5e3/0x6f0
[ 68.744888][ T5826] report_bug+0x2b3/0x500
[ 68.749214][ T5826] ? __debugfs_file_get+0x5e3/0x6f0
[ 68.754409][ T5826] handle_bug+0x60/0x90
[ 68.758562][ T5826] exc_invalid_op+0x1a/0x50
[ 68.763229][ T5826] asm_exc_invalid_op+0x1a/0x20
[ 68.768106][ T5826] RIP: 0010:__debugfs_file_get+0x5e3/0x6f0
[ 68.773931][ T5826] 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
[ 68.793831][ T5826] RSP: 0018:ffffc90003f6f720 EFLAGS: 00010293
[ 68.799907][ T5826] RAX: ffffffff83a5b0b2 RBX: 1ffff11004688445 RCX: ffff88803082da00
[ 68.807981][ T5826] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 68.815948][ T5826] RBP: ffffc90003f6f7d0 R08: ffffffff83a5abc7 R09: ffffffff8235b45d
[ 68.824006][ T5826] R10: 0000000000000002 R11: ffffffff83a5b7b0 R12: 0000000000000000
[ 68.832057][ T5826] R13: ffff888023442228 R14: dffffc0000000000 R15: ffffffff8c47e761
[ 68.840203][ T5826] ? __pfx_open_proxy_open+0x10/0x10
[ 68.845574][ T5826] ? do_dentry_open+0x65d/0x1960
[ 68.850503][ T5826] ? __debugfs_file_get+0xf7/0x6f0
[ 68.855644][ T5826] ? __debugfs_file_get+0x5e2/0x6f0
[ 68.860851][ T5826] ? __pfx___debugfs_file_get+0x10/0x10
[ 68.866478][ T5826] ? __pfx_apparmor_file_open+0x10/0x10
[ 68.872327][ T5826] ? mnt_get_write_access+0x68/0x2b0
[ 68.877874][ T5826] ? mnt_get_write_access+0x68/0x2b0
[ 68.883267][ T5826] open_proxy_open+0x4f/0x4c0
[ 68.888336][ T5826] ? do_dentry_open+0xde0/0x1960
[ 68.893322][ T5826] ? __pfx_open_proxy_open+0x10/0x10
[ 68.898661][ T5826] do_dentry_open+0xdec/0x1960
[ 68.903428][ T5826] ? vfs_open+0x31/0x370
[ 68.907756][ T5826] vfs_open+0x3b/0x370
[ 68.911819][ T5826] path_openat+0x2c74/0x3580
[ 68.916426][ T5826] ? count_memcg_event_mm+0x94/0x420
[ 68.921879][ T5826] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 68.927864][ T5826] ? __pfx_path_openat+0x10/0x10
[ 68.932826][ T5826] do_filp_open+0x27f/0x4e0
[ 68.937325][ T5826] ? __pfx_do_filp_open+0x10/0x10
[ 68.942429][ T5826] ? do_raw_spin_lock+0x14f/0x370
[ 68.947685][ T5826] do_sys_openat2+0x13e/0x1d0
[ 68.952395][ T5826] ? __pfx_do_sys_openat2+0x10/0x10
[ 68.957639][ T5826] ? __pfx_lock_acquire+0x10/0x10
[ 68.962671][ T5826] __x64_sys_openat+0x247/0x2a0
[ 68.967603][ T5826] ? __pfx___x64_sys_openat+0x10/0x10
[ 68.972966][ T5826] ? exc_page_fault+0x590/0x8b0
[ 68.977846][ T5826] ? do_syscall_64+0xb6/0x230
[ 68.982536][ T5826] do_syscall_64+0xf3/0x230
[ 68.987036][ T5826] ? clear_bhb_loop+0x35/0x90
[ 68.991798][ T5826] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 68.997793][ T5826] RIP: 0033:0x7f2689584611
[ 69.002200][ T5826] 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
[ 69.022237][ T5826] RSP: 002b:00007fff83709020 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 69.030908][ T5826] RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f2689584611
[ 69.038961][ T5826] RDX: 0000000000080001 RSI: 00007f26895e34c8 RDI: 00000000ffffff9c
[ 69.046928][ T5826] RBP: 00007f26895e34c8 R08: 0000000000000000 R09: 0000000000000000
[ 69.055069][ T5826] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000b
[ 69.063300][ T5826] R13: 00007fff837090c0 R14: 00007f2689601a6d R15: 0000555581d09010
[ 69.071448][ T5826]
[ 69.074953][ T5826] Kernel Offset: disabled
[ 69.079497][ T5826] 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-build348424853=/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/ccTqXxIs.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