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: 0 PID: 5007 at net/sysctl_net.c:155 ensure_safe_net_sysctl net/sysctl_net.c:155 [inline]
WARNING: CPU: 0 PID: 5007 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0 net/sysctl_net.c:167
Modules linked in:
CPU: 0 PID: 5007 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:ffffc9000444fbf8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88802bd80854 RCX: 0000000000000000
RDX: ffff888022105940 RSI: ffffffff814bd247 RDI: 0000000000000001
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802bd80848
R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
FS: 00005555557a8400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca084d4620 CR3: 00000000712b6000 CR4: 00000000003506f0
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:0x7fca0788d687
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:00007ffead8a2298 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffead8a28d8 RCX: 00007fca0788d687
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
R13: 00007ffead8a2370 R14: 00007fca079ac9d8 R15: 000000000000000c
Warning: Permanently added '10.128.0.64' (ECDSA) to the list of known hosts.
2023/05/16 20:06:50 fuzzer started
2023/05/16 20:06:50 connecting to host at 10.128.0.169:35863
2023/05/16 20:06:50 checking machine...
2023/05/16 20:06:50 checking revisions...
2023/05/16 20:06:50 testing simple program...
syzkaller login: [ 55.401876][ T5005] cgroup: Unknown subsys name 'net'
[ 55.551892][ T5005] cgroup: Unknown subsys name 'rlimit'
[ 55.647387][ T4999] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4999 'syz-fuzzer'
[ 55.771662][ T5009] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 55.779738][ T5009] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 55.787689][ T5009] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 55.795918][ T5009] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 55.804402][ T5009] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 55.811764][ T5009] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 55.842546][ T5007] ------------[ cut here ]------------
[ 55.848252][ T5007] sysctl net/ipv4/ipfrag_low_thresh: data points to kernel global data: ipfrag_low_thresh_unused
[ 55.860134][ T5007] WARNING: CPU: 0 PID: 5007 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0
[ 55.869618][ T5007] Modules linked in:
[ 55.873988][ T5007] CPU: 0 PID: 5007 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0
[ 55.885562][ T5007] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
[ 55.895768][ T5007] RIP: 0010:register_net_sysctl+0x207/0x3c0
[ 55.901811][ T5007] 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
[ 55.922015][ T5007] RSP: 0018:ffffc9000444fbf8 EFLAGS: 00010286
[ 55.928197][ T5007] RAX: 0000000000000000 RBX: ffff88802bd80854 RCX: 0000000000000000
[ 55.936301][ T5007] RDX: ffff888022105940 RSI: ffffffff814bd247 RDI: 0000000000000001
[ 55.944415][ T5007] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[ 55.952539][ T5007] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802bd80848
[ 55.960657][ T5007] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
[ 55.968754][ T5007] FS: 00005555557a8400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
[ 55.977857][ T5007] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 55.984521][ T5007] CR2: 00007fca084d4620 CR3: 00000000712b6000 CR4: 00000000003506f0
[ 55.992714][ T5007] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 56.000897][ T5007] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 56.008862][ T5007] Call Trace:
[ 56.012203][ T5007]
[ 56.015320][ T5007] ? ip4_frag_init+0x380/0x380
[ 56.020199][ T5007] ipv4_frags_init_net+0x269/0x430
[ 56.025350][ T5007] ops_init+0xb9/0x6b0
[ 56.029523][ T5007] setup_net+0x5d1/0xc50
[ 56.033883][ T5007] ? down_read_killable+0x14a/0x4f0
[ 56.039137][ T5007] ? ops_init+0x6b0/0x6b0
[ 56.043669][ T5007] copy_net_ns+0x4ee/0x8e0
[ 56.048298][ T5007] create_new_namespaces+0x3f6/0xb20
[ 56.053871][ T5007] unshare_nsproxy_namespaces+0xc1/0x1f0
[ 56.059630][ T5007] ksys_unshare+0x449/0x920
[ 56.064284][ T5007] ? unshare_fd+0x1c0/0x1c0
[ 56.068856][ T5007] ? unlock_page_memcg+0x3b0/0x3b0
[ 56.074218][ T5007] ? syscall_enter_from_user_mode+0x26/0x80
[ 56.080265][ T5007] __x64_sys_unshare+0x31/0x40
[ 56.085060][ T5007] do_syscall_64+0x39/0xb0
[ 56.089497][ T5007] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 56.095573][ T5007] RIP: 0033:0x7fca0788d687
[ 56.100062][ T5007] 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
[ 56.121782][ T5007] RSP: 002b:00007ffead8a2298 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
[ 56.130245][ T5007] RAX: ffffffffffffffda RBX: 00007ffead8a28d8 RCX: 00007fca0788d687
[ 56.138218][ T5007] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
[ 56.146457][ T5007] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 56.154515][ T5007] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
[ 56.162903][ T5007] R13: 00007ffead8a2370 R14: 00007fca079ac9d8 R15: 000000000000000c
[ 56.171042][ T5007]
[ 56.174053][ T5007] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 56.181405][ T5007] CPU: 0 PID: 5007 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0
[ 56.193552][ T5007] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
[ 56.203614][ T5007] Call Trace:
[ 56.206907][ T5007]
[ 56.209937][ T5007] dump_stack_lvl+0xd9/0x150
[ 56.214570][ T5007] panic+0x686/0x730
[ 56.218471][ T5007] ? panic_smp_self_stop+0xa0/0xa0
[ 56.223580][ T5007] ? show_trace_log_lvl+0x285/0x390
[ 56.228810][ T5007] ? register_net_sysctl+0x207/0x3c0
[ 56.234188][ T5007] check_panic_on_warn+0xb1/0xc0
[ 56.239240][ T5007] __warn+0xf2/0x390
[ 56.243144][ T5007] ? preempt_schedule_notrace+0x5f/0xd0
[ 56.248784][ T5007] ? register_net_sysctl+0x207/0x3c0
[ 56.254103][ T5007] report_bug+0x2da/0x500
[ 56.258455][ T5007] handle_bug+0x3c/0x70
[ 56.262669][ T5007] exc_invalid_op+0x18/0x50
[ 56.267312][ T5007] asm_exc_invalid_op+0x1a/0x20
[ 56.272195][ T5007] RIP: 0010:register_net_sysctl+0x207/0x3c0
[ 56.278132][ T5007] 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
[ 56.297752][ T5007] RSP: 0018:ffffc9000444fbf8 EFLAGS: 00010286
[ 56.303834][ T5007] RAX: 0000000000000000 RBX: ffff88802bd80854 RCX: 0000000000000000
[ 56.311965][ T5007] RDX: ffff888022105940 RSI: ffffffff814bd247 RDI: 0000000000000001
[ 56.320160][ T5007] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[ 56.328325][ T5007] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802bd80848
[ 56.336302][ T5007] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
[ 56.344284][ T5007] ? __warn_printk+0x187/0x310
[ 56.349072][ T5007] ? register_net_sysctl+0x207/0x3c0
[ 56.354370][ T5007] ? ip4_frag_init+0x380/0x380
[ 56.359251][ T5007] ipv4_frags_init_net+0x269/0x430
[ 56.364489][ T5007] ops_init+0xb9/0x6b0
[ 56.368665][ T5007] setup_net+0x5d1/0xc50
[ 56.373009][ T5007] ? down_read_killable+0x14a/0x4f0
[ 56.378224][ T5007] ? ops_init+0x6b0/0x6b0
[ 56.382581][ T5007] copy_net_ns+0x4ee/0x8e0
[ 56.387015][ T5007] create_new_namespaces+0x3f6/0xb20
[ 56.392321][ T5007] unshare_nsproxy_namespaces+0xc1/0x1f0
[ 56.397970][ T5007] ksys_unshare+0x449/0x920
[ 56.402518][ T5007] ? unshare_fd+0x1c0/0x1c0
[ 56.407036][ T5007] ? unlock_page_memcg+0x3b0/0x3b0
[ 56.412158][ T5007] ? syscall_enter_from_user_mode+0x26/0x80
[ 56.418152][ T5007] __x64_sys_unshare+0x31/0x40
[ 56.422930][ T5007] do_syscall_64+0x39/0xb0
[ 56.427352][ T5007] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 56.433365][ T5007] RIP: 0033:0x7fca0788d687
[ 56.437785][ T5007] 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
[ 56.457417][ T5007] RSP: 002b:00007ffead8a2298 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
[ 56.465846][ T5007] RAX: ffffffffffffffda RBX: 00007ffead8a28d8 RCX: 00007fca0788d687
[ 56.474170][ T5007] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
[ 56.482254][ T5007] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 56.490330][ T5007] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
[ 56.498564][ T5007] R13: 00007ffead8a2370 R14: 00007fca079ac9d8 R15: 000000000000000c
[ 56.506812][ T5007]
[ 56.510052][ T5007] Kernel Offset: disabled
[ 56.514546][ T5007] 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-build1906704914=/tmp/go-build -gno-record-gcc-switches"
git status (err=)
HEAD detached at 9dfcf09cf
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=9dfcf09cf38eb123a007af28c5ee2562718893a0 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230123-142548'" "-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=9dfcf09cf38eb123a007af28c5ee2562718893a0 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230123-142548'" "-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=9dfcf09cf38eb123a007af28c5ee2562718893a0 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230123-142548'" "-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 -static-pie -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"9dfcf09cf38eb123a007af28c5ee2562718893a0\"