WARNING in register_net_sysctl
------------[ cut here ]------------
sysctl net/ipv4/ipfrag_low_thresh: data points to kernel global data: ipfrag_low_thresh_unused
WARNING: CPU: 1 PID: 5009 at net/sysctl_net.c:155 ensure_safe_net_sysctl net/sysctl_net.c:155 [inline]
WARNING: CPU: 1 PID: 5009 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0 net/sysctl_net.c:167
Modules linked in:
CPU: 1 PID: 5009 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:ensure_safe_net_sysctl net/sysctl_net.c:155 [inline]
RIP: 0010:register_net_sysctl+0x207/0x3c0 net/sysctl_net.c:167
Code: 8b 43 f4 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 a9 01 00 00 48 8b 53 ec 4c 89 e9 4c 89 fe 48 c7 c7 c0 98 85 8b e8 69 13 7f f7 <0f> 0b 48 89 d8 48 c1 e8 03 0f b6 14 28 48 89 d8 83 e0 07 83 c0 01
RSP: 0018:ffffc90003d6fbf8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88802b7fb454 RCX: 0000000000000000
RDX: ffff88807c511dc0 RSI: ffffffff814bd247 RDI: 0000000000000001
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802b7fb448
R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
FS: 000055555722e400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f85476d4620 CR3: 000000007012b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ip4_frags_ns_ctl_register net/ipv4/ip_fragment.c:618 [inline]
ipv4_frags_init_net net/ipv4/ip_fragment.c:689 [inline]
ipv4_frags_init_net+0x269/0x430 net/ipv4/ip_fragment.c:660
ops_init+0xb9/0x6b0 net/core/net_namespace.c:136
setup_net+0x5d1/0xc50 net/core/net_namespace.c:339
copy_net_ns+0x4ee/0x8e0 net/core/net_namespace.c:491
create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
ksys_unshare+0x449/0x920 kernel/fork.c:3440
__do_sys_unshare kernel/fork.c:3511 [inline]
__se_sys_unshare kernel/fork.c:3509 [inline]
__x64_sys_unshare+0x31/0x40 kernel/fork.c:3509
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8546a8d687
Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0f665888 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffc0f665ec8 RCX: 00007f8546a8d687
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
R13: 00007ffc0f665960 R14: 00007f8546bac9d8 R15: 000000000000000c
Warning: Permanently added '10.128.10.39' (ECDSA) to the list of known hosts.
2023/05/16 06:50:51 fuzzer started
2023/05/16 06:50:51 connecting to host at 10.128.0.169:35415
2023/05/16 06:50:51 checking machine...
2023/05/16 06:50:51 checking revisions...
2023/05/16 06:50:51 testing simple program...
[ 74.738996][ T5007] cgroup: Unknown subsys name 'net'
[ 74.890695][ T5007] cgroup: Unknown subsys name 'rlimit'
[ 75.071133][ T4997] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4997 'syz-fuzzer'
[ 75.254643][ T5011] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 75.262989][ T5011] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 75.271574][ T5011] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 75.279762][ T5011] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 75.288594][ T5011] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 75.296581][ T5011] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 75.328298][ T5009] ------------[ cut here ]------------
[ 75.334150][ T5009] sysctl net/ipv4/ipfrag_low_thresh: data points to kernel global data: ipfrag_low_thresh_unused
[ 75.346202][ T5009] WARNING: CPU: 1 PID: 5009 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0
[ 75.355894][ T5009] Modules linked in:
[ 75.359801][ T5009] CPU: 1 PID: 5009 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0
[ 75.371719][ T5009] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
[ 75.381842][ T5009] RIP: 0010:register_net_sysctl+0x207/0x3c0
[ 75.387770][ T5009] Code: 8b 43 f4 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 a9 01 00 00 48 8b 53 ec 4c 89 e9 4c 89 fe 48 c7 c7 c0 98 85 8b e8 69 13 7f f7 <0f> 0b 48 89 d8 48 c1 e8 03 0f b6 14 28 48 89 d8 83 e0 07 83 c0 01
[ 75.407786][ T5009] RSP: 0018:ffffc90003d6fbf8 EFLAGS: 00010286
[ 75.414116][ T5009] RAX: 0000000000000000 RBX: ffff88802b7fb454 RCX: 0000000000000000
[ 75.422184][ T5009] RDX: ffff88807c511dc0 RSI: ffffffff814bd247 RDI: 0000000000000001
[ 75.430526][ T5009] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[ 75.438700][ T5009] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802b7fb448
[ 75.446768][ T5009] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
[ 75.454835][ T5009] FS: 000055555722e400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
[ 75.464057][ T5009] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 75.470998][ T5009] CR2: 00007f85476d4620 CR3: 000000007012b000 CR4: 00000000003506e0
[ 75.479186][ T5009] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 75.487261][ T5009] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 75.495860][ T5009] Call Trace:
[ 75.499171][ T5009]
[ 75.502212][ T5009] ? ip4_frag_init+0x380/0x380
[ 75.507034][ T5009] ipv4_frags_init_net+0x269/0x430
[ 75.512324][ T5009] ops_init+0xb9/0x6b0
[ 75.516458][ T5009] setup_net+0x5d1/0xc50
[ 75.520920][ T5009] ? down_read_killable+0x14a/0x4f0
[ 75.526305][ T5009] ? ops_init+0x6b0/0x6b0
[ 75.530855][ T5009] copy_net_ns+0x4ee/0x8e0
[ 75.535717][ T5009] create_new_namespaces+0x3f6/0xb20
[ 75.541189][ T5009] unshare_nsproxy_namespaces+0xc1/0x1f0
[ 75.547013][ T5009] ksys_unshare+0x449/0x920
[ 75.551644][ T5009] ? unshare_fd+0x1c0/0x1c0
[ 75.556301][ T5009] ? unlock_page_memcg+0x3b0/0x3b0
[ 75.561573][ T5009] ? syscall_enter_from_user_mode+0x26/0x80
[ 75.567882][ T5009] __x64_sys_unshare+0x31/0x40
[ 75.572771][ T5009] do_syscall_64+0x39/0xb0
[ 75.577321][ T5009] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 75.583348][ T5009] RIP: 0033:0x7f8546a8d687
[ 75.588243][ T5009] Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 75.608485][ T5009] RSP: 002b:00007ffc0f665888 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
[ 75.617120][ T5009] RAX: ffffffffffffffda RBX: 00007ffc0f665ec8 RCX: 00007f8546a8d687
[ 75.625539][ T5009] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
[ 75.633602][ T5009] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 75.641755][ T5009] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
[ 75.650457][ T5009] R13: 00007ffc0f665960 R14: 00007f8546bac9d8 R15: 000000000000000c
[ 75.658573][ T5009]
[ 75.661972][ T5009] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 75.669288][ T5009] CPU: 1 PID: 5009 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0
[ 75.680881][ T5009] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
[ 75.691390][ T5009] Call Trace:
[ 75.694685][ T5009]
[ 75.697641][ T5009] dump_stack_lvl+0xd9/0x150
[ 75.702274][ T5009] panic+0x686/0x730
[ 75.706213][ T5009] ? panic_smp_self_stop+0xa0/0xa0
[ 75.711542][ T5009] ? show_trace_log_lvl+0x285/0x390
[ 75.716801][ T5009] ? register_net_sysctl+0x207/0x3c0
[ 75.722126][ T5009] check_panic_on_warn+0xb1/0xc0
[ 75.727378][ T5009] __warn+0xf2/0x390
[ 75.731398][ T5009] ? preempt_schedule_notrace+0x5f/0xd0
[ 75.736992][ T5009] ? register_net_sysctl+0x207/0x3c0
[ 75.742506][ T5009] report_bug+0x2da/0x500
[ 75.746967][ T5009] handle_bug+0x3c/0x70
[ 75.751165][ T5009] exc_invalid_op+0x18/0x50
[ 75.755792][ T5009] asm_exc_invalid_op+0x1a/0x20
[ 75.760710][ T5009] RIP: 0010:register_net_sysctl+0x207/0x3c0
[ 75.766670][ T5009] Code: 8b 43 f4 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 a9 01 00 00 48 8b 53 ec 4c 89 e9 4c 89 fe 48 c7 c7 c0 98 85 8b e8 69 13 7f f7 <0f> 0b 48 89 d8 48 c1 e8 03 0f b6 14 28 48 89 d8 83 e0 07 83 c0 01
[ 75.786937][ T5009] RSP: 0018:ffffc90003d6fbf8 EFLAGS: 00010286
[ 75.793127][ T5009] RAX: 0000000000000000 RBX: ffff88802b7fb454 RCX: 0000000000000000
[ 75.801210][ T5009] RDX: ffff88807c511dc0 RSI: ffffffff814bd247 RDI: 0000000000000001
[ 75.809223][ T5009] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[ 75.817220][ T5009] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802b7fb448
[ 75.825304][ T5009] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
[ 75.833323][ T5009] ? __warn_printk+0x187/0x310
[ 75.838140][ T5009] ? register_net_sysctl+0x207/0x3c0
[ 75.843466][ T5009] ? ip4_frag_init+0x380/0x380
[ 75.848526][ T5009] ipv4_frags_init_net+0x269/0x430
[ 75.853681][ T5009] ops_init+0xb9/0x6b0
[ 75.857797][ T5009] setup_net+0x5d1/0xc50
[ 75.862361][ T5009] ? down_read_killable+0x14a/0x4f0
[ 75.867598][ T5009] ? ops_init+0x6b0/0x6b0
[ 75.871978][ T5009] copy_net_ns+0x4ee/0x8e0
[ 75.876468][ T5009] create_new_namespaces+0x3f6/0xb20
[ 75.881844][ T5009] unshare_nsproxy_namespaces+0xc1/0x1f0
[ 75.887612][ T5009] ksys_unshare+0x449/0x920
[ 75.892242][ T5009] ? unshare_fd+0x1c0/0x1c0
[ 75.896798][ T5009] ? unlock_page_memcg+0x3b0/0x3b0
[ 75.901957][ T5009] ? syscall_enter_from_user_mode+0x26/0x80
[ 75.907986][ T5009] __x64_sys_unshare+0x31/0x40
[ 75.912806][ T5009] do_syscall_64+0x39/0xb0
[ 75.917259][ T5009] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 75.923184][ T5009] RIP: 0033:0x7f8546a8d687
[ 75.927712][ T5009] Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 75.947606][ T5009] RSP: 002b:00007ffc0f665888 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
[ 75.956133][ T5009] RAX: ffffffffffffffda RBX: 00007ffc0f665ec8 RCX: 00007f8546a8d687
[ 75.964124][ T5009] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
[ 75.972118][ T5009] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 75.980198][ T5009] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
[ 75.988267][ T5009] R13: 00007ffc0f665960 R14: 00007f8546bac9d8 R15: 000000000000000c
[ 75.996278][ T5009]
[ 75.999738][ T5009] Kernel Offset: disabled
[ 76.004233][ T5009] 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=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.1"
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 -fdebug-prefix-map=/tmp/go-build1980934898=/tmp/go-build -gno-record-gcc-switches"
git status (err=)
HEAD detached at 1b2f701aa
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:32: run command via tools/syz-env for best compatibility, see:
Makefile:33: 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
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=1b2f701aa9a17abb7e27c7c1170d26398febf247 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230203-112454'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=1b2f701aa9a17abb7e27c7c1170d26398febf247 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230203-112454'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=1b2f701aa9a17abb7e27c7c1170d26398febf247 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230203-112454'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
mkdir -p ./bin/linux_amd64
gcc -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 -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"1b2f701aa9a17abb7e27c7c1170d26398febf247\"