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: 5003 at net/sysctl_net.c:155 ensure_safe_net_sysctl net/sysctl_net.c:155 [inline]
WARNING: CPU: 1 PID: 5003 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0 net/sysctl_net.c:167
Modules linked in:
CPU: 1 PID: 5003 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:ffffc90003e8fbf8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88802c3d2854 RCX: 0000000000000000
RDX: ffff888024fb8000 RSI: ffffffff814bd247 RDI: 0000000000000001
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802c3d2848
R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
FS: 000055555635f400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f494b2d4620 CR3: 0000000071715000 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:0x7f494a68d6b7
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:00007ffd5ce16f18 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffd5ce17558 RCX: 00007f494a68d6b7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
R13: 00007ffd5ce16ff0 R14: 00007f494a7ac9d8 R15: 000000000000000c
Warning: Permanently added '10.128.10.43' (ECDSA) to the list of known hosts.
2023/05/16 22:53:02 fuzzer started
2023/05/16 22:53:02 connecting to host at 10.128.0.169:35875
2023/05/16 22:53:02 checking machine...
2023/05/16 22:53:02 checking revisions...
2023/05/16 22:53:02 testing simple program...
syzkaller login: [ 55.076854][ T5001] cgroup: Unknown subsys name 'net'
[ 55.197217][ T5001] cgroup: Unknown subsys name 'rlimit'
[ 55.358886][ T4999] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4999 'syz-fuzzer'
[ 55.480825][ T5004] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 55.489140][ T5004] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 55.497500][ T5004] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 55.505699][ T5004] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 55.515878][ T5004] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 55.523559][ T5004] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 55.549994][ T5003] ------------[ cut here ]------------
[ 55.555619][ T5003] sysctl net/ipv4/ipfrag_low_thresh: data points to kernel global data: ipfrag_low_thresh_unused
[ 55.567101][ T5003] WARNING: CPU: 1 PID: 5003 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0
[ 55.576657][ T5003] Modules linked in:
[ 55.580540][ T5003] CPU: 1 PID: 5003 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0
[ 55.592231][ T5003] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
[ 55.602310][ T5003] RIP: 0010:register_net_sysctl+0x207/0x3c0
[ 55.608215][ T5003] 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.628612][ T5003] RSP: 0018:ffffc90003e8fbf8 EFLAGS: 00010286
[ 55.634827][ T5003] RAX: 0000000000000000 RBX: ffff88802c3d2854 RCX: 0000000000000000
[ 55.642883][ T5003] RDX: ffff888024fb8000 RSI: ffffffff814bd247 RDI: 0000000000000001
[ 55.651352][ T5003] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[ 55.660187][ T5003] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802c3d2848
[ 55.668210][ T5003] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
[ 55.676420][ T5003] FS: 000055555635f400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
[ 55.685511][ T5003] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 55.692146][ T5003] CR2: 00007f494b2d4620 CR3: 0000000071715000 CR4: 00000000003506e0
[ 55.700318][ T5003] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 55.708399][ T5003] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 55.716876][ T5003] Call Trace:
[ 55.720249][ T5003]
[ 55.723278][ T5003] ? ip4_frag_init+0x380/0x380
[ 55.728100][ T5003] ipv4_frags_init_net+0x269/0x430
[ 55.733479][ T5003] ops_init+0xb9/0x6b0
[ 55.737772][ T5003] setup_net+0x5d1/0xc50
[ 55.742114][ T5003] ? down_read_killable+0x14a/0x4f0
[ 55.747483][ T5003] ? ops_init+0x6b0/0x6b0
[ 55.751929][ T5003] copy_net_ns+0x4ee/0x8e0
[ 55.756740][ T5003] create_new_namespaces+0x3f6/0xb20
[ 55.762411][ T5003] unshare_nsproxy_namespaces+0xc1/0x1f0
[ 55.768173][ T5003] ksys_unshare+0x449/0x920
[ 55.772863][ T5003] ? unshare_fd+0x1c0/0x1c0
[ 55.777391][ T5003] ? unlock_page_memcg+0x3b0/0x3b0
[ 55.782673][ T5003] ? syscall_enter_from_user_mode+0x26/0x80
[ 55.788741][ T5003] __x64_sys_unshare+0x31/0x40
[ 55.793567][ T5003] do_syscall_64+0x39/0xb0
[ 55.798093][ T5003] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 55.804474][ T5003] RIP: 0033:0x7f494a68d6b7
[ 55.808904][ T5003] 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
[ 55.829125][ T5003] RSP: 002b:00007ffd5ce16f18 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
[ 55.837631][ T5003] RAX: ffffffffffffffda RBX: 00007ffd5ce17558 RCX: 00007f494a68d6b7
[ 55.845809][ T5003] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
[ 55.853878][ T5003] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 55.862544][ T5003] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
[ 55.870642][ T5003] R13: 00007ffd5ce16ff0 R14: 00007f494a7ac9d8 R15: 000000000000000c
[ 55.878746][ T5003]
[ 55.881841][ T5003] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 55.889213][ T5003] CPU: 1 PID: 5003 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0
[ 55.901006][ T5003] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
[ 55.911311][ T5003] Call Trace:
[ 55.914578][ T5003]
[ 55.917564][ T5003] dump_stack_lvl+0xd9/0x150
[ 55.922149][ T5003] panic+0x686/0x730
[ 55.926140][ T5003] ? panic_smp_self_stop+0xa0/0xa0
[ 55.931258][ T5003] ? show_trace_log_lvl+0x285/0x390
[ 55.936472][ T5003] ? register_net_sysctl+0x207/0x3c0
[ 55.941792][ T5003] check_panic_on_warn+0xb1/0xc0
[ 55.946751][ T5003] __warn+0xf2/0x390
[ 55.950686][ T5003] ? preempt_schedule_notrace+0x5f/0xd0
[ 55.956263][ T5003] ? register_net_sysctl+0x207/0x3c0
[ 55.961568][ T5003] report_bug+0x2da/0x500
[ 55.965902][ T5003] handle_bug+0x3c/0x70
[ 55.970054][ T5003] exc_invalid_op+0x18/0x50
[ 55.974574][ T5003] asm_exc_invalid_op+0x1a/0x20
[ 55.979550][ T5003] RIP: 0010:register_net_sysctl+0x207/0x3c0
[ 55.985462][ T5003] 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.005178][ T5003] RSP: 0018:ffffc90003e8fbf8 EFLAGS: 00010286
[ 56.011241][ T5003] RAX: 0000000000000000 RBX: ffff88802c3d2854 RCX: 0000000000000000
[ 56.019446][ T5003] RDX: ffff888024fb8000 RSI: ffffffff814bd247 RDI: 0000000000000001
[ 56.027528][ T5003] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[ 56.035622][ T5003] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802c3d2848
[ 56.043686][ T5003] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220
[ 56.051674][ T5003] ? __warn_printk+0x187/0x310
[ 56.056464][ T5003] ? register_net_sysctl+0x207/0x3c0
[ 56.061843][ T5003] ? ip4_frag_init+0x380/0x380
[ 56.066694][ T5003] ipv4_frags_init_net+0x269/0x430
[ 56.071889][ T5003] ops_init+0xb9/0x6b0
[ 56.075964][ T5003] setup_net+0x5d1/0xc50
[ 56.080197][ T5003] ? down_read_killable+0x14a/0x4f0
[ 56.085391][ T5003] ? ops_init+0x6b0/0x6b0
[ 56.089721][ T5003] copy_net_ns+0x4ee/0x8e0
[ 56.094158][ T5003] create_new_namespaces+0x3f6/0xb20
[ 56.099446][ T5003] unshare_nsproxy_namespaces+0xc1/0x1f0
[ 56.105076][ T5003] ksys_unshare+0x449/0x920
[ 56.109768][ T5003] ? unshare_fd+0x1c0/0x1c0
[ 56.114272][ T5003] ? unlock_page_memcg+0x3b0/0x3b0
[ 56.119392][ T5003] ? syscall_enter_from_user_mode+0x26/0x80
[ 56.125294][ T5003] __x64_sys_unshare+0x31/0x40
[ 56.130081][ T5003] do_syscall_64+0x39/0xb0
[ 56.134514][ T5003] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 56.140626][ T5003] RIP: 0033:0x7f494a68d6b7
[ 56.145051][ T5003] 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.165023][ T5003] RSP: 002b:00007ffd5ce16f18 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
[ 56.173431][ T5003] RAX: ffffffffffffffda RBX: 00007ffd5ce17558 RCX: 00007f494a68d6b7
[ 56.181392][ T5003] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
[ 56.189350][ T5003] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 56.197326][ T5003] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003
[ 56.205288][ T5003] R13: 00007ffd5ce16ff0 R14: 00007f494a7ac9d8 R15: 000000000000000c
[ 56.213528][ T5003]
[ 56.216936][ T5003] Kernel Offset: disabled
[ 56.221956][ T5003] 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=""
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/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-build1946574524=/tmp/go-build -gno-record-gcc-switches"
git status (err=)
HEAD detached at 9e2ebb3c1
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=9e2ebb3c174f1e168bc1fbadd5f02f2e25e314fc -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230222-211134'" "-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=9e2ebb3c174f1e168bc1fbadd5f02f2e25e314fc -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230222-211134'" "-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=9e2ebb3c174f1e168bc1fbadd5f02f2e25e314fc -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230222-211134'" "-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=\"9e2ebb3c174f1e168bc1fbadd5f02f2e25e314fc\"