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: 5004 at net/sysctl_net.c:155 ensure_safe_net_sysctl net/sysctl_net.c:155 [inline] WARNING: CPU: 0 PID: 5004 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0 net/sysctl_net.c:167 Modules linked in: CPU: 0 PID: 5004 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:ffffc90003a9fbf8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88802184b854 RCX: 0000000000000000 RDX: ffff88807e5c8000 RSI: ffffffff814bd247 RDI: 0000000000000001 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802184b848 R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220 FS: 00000000016bf400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014a4320 CR3: 000000006f61d000 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:0x467b97 Code: 73 01 c3 48 c7 c1 bc 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff63df06b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fff63df0cd8 RCX: 0000000000467b97 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000040000000 RBP: 00007fff63df0770 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 00000000ffffffff R13: 000000000056cb88 R14: 0000000000000000 R15: 00000000000000f8 forked to background, child pid 4669 [ 33.421252][ T4670] 8021q: adding VLAN 0 to HW filter on device bond0 [ 33.431534][ T4670] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: [ 33.775578][ T4745] sshd (4745) used greatest stack depth: 22144 bytes left OK syzkaller Warning: Permanently added '10.128.1.170' (ECDSA) to the list of known hosts. 2023/05/16 19:33:09 ignoring optional flag "raw_cover"="false" 2023/05/16 19:33:09 ignoring optional flag "sandbox_arg"="0" 2023/05/16 19:33:09 fuzzer started 2023/05/16 19:33:09 connecting to host at 10.128.0.169:33749 2023/05/16 19:33:09 checking machine... 2023/05/16 19:33:09 checking revisions... 2023/05/16 19:33:09 testing simple program... syzkaller login: [ 54.357678][ T5005] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 54.365817][ T5005] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 54.374003][ T5005] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 54.381776][ T5005] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 54.389958][ T5005] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 54.397549][ T5005] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 54.425780][ T5004] ------------[ cut here ]------------ [ 54.431633][ T5004] sysctl net/ipv4/ipfrag_low_thresh: data points to kernel global data: ipfrag_low_thresh_unused [ 54.443252][ T5004] WARNING: CPU: 0 PID: 5004 at net/sysctl_net.c:155 register_net_sysctl+0x207/0x3c0 [ 54.452814][ T5004] Modules linked in: [ 54.456702][ T5004] CPU: 0 PID: 5004 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0 [ 54.468640][ T5004] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 54.478801][ T5004] RIP: 0010:register_net_sysctl+0x207/0x3c0 [ 54.484777][ T5004] 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 [ 54.504821][ T5004] RSP: 0018:ffffc90003a9fbf8 EFLAGS: 00010286 [ 54.510891][ T5004] RAX: 0000000000000000 RBX: ffff88802184b854 RCX: 0000000000000000 [ 54.518961][ T5004] RDX: ffff88807e5c8000 RSI: ffffffff814bd247 RDI: 0000000000000001 [ 54.527139][ T5004] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 [ 54.535186][ T5004] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802184b848 [ 54.543211][ T5004] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220 [ 54.551444][ T5004] FS: 00000000016bf400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 54.560413][ T5004] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.567227][ T5004] CR2: 00000000014a4320 CR3: 000000006f61d000 CR4: 00000000003506f0 [ 54.575238][ T5004] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.583295][ T5004] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.591270][ T5004] Call Trace: [ 54.594598][ T5004] [ 54.597559][ T5004] ? ip4_frag_init+0x380/0x380 [ 54.602491][ T5004] ipv4_frags_init_net+0x269/0x430 [ 54.607725][ T5004] ops_init+0xb9/0x6b0 [ 54.611795][ T5004] setup_net+0x5d1/0xc50 [ 54.616081][ T5004] ? down_read_killable+0x14a/0x4f0 [ 54.621326][ T5004] ? ops_init+0x6b0/0x6b0 [ 54.625744][ T5004] copy_net_ns+0x4ee/0x8e0 [ 54.630189][ T5004] create_new_namespaces+0x3f6/0xb20 [ 54.635526][ T5004] unshare_nsproxy_namespaces+0xc1/0x1f0 [ 54.641327][ T5004] ksys_unshare+0x449/0x920 [ 54.645932][ T5004] ? unshare_fd+0x1c0/0x1c0 [ 54.650458][ T5004] ? unlock_page_memcg+0x3b0/0x3b0 [ 54.655795][ T5004] ? syscall_enter_from_user_mode+0x26/0x80 [ 54.661720][ T5004] __x64_sys_unshare+0x31/0x40 [ 54.666611][ T5004] do_syscall_64+0x39/0xb0 [ 54.671065][ T5004] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.677091][ T5004] RIP: 0033:0x467b97 [ 54.680996][ T5004] Code: 73 01 c3 48 c7 c1 bc 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 bc ff ff ff f7 d8 64 89 01 48 [ 54.700682][ T5004] RSP: 002b:00007fff63df06b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 [ 54.709281][ T5004] RAX: ffffffffffffffda RBX: 00007fff63df0cd8 RCX: 0000000000467b97 [ 54.717390][ T5004] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000040000000 [ 54.725946][ T5004] RBP: 00007fff63df0770 R08: 0000000000000000 R09: 0000000000000000 [ 54.734013][ T5004] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000ffffffff [ 54.742096][ T5004] R13: 000000000056cb88 R14: 0000000000000000 R15: 00000000000000f8 [ 54.750273][ T5004] [ 54.753370][ T5004] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 54.760763][ T5004] CPU: 0 PID: 5004 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230516-syzkaller-02748-g885df05bf634 #0 [ 54.772317][ T5004] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 54.782384][ T5004] Call Trace: [ 54.785703][ T5004] [ 54.788691][ T5004] dump_stack_lvl+0xd9/0x150 [ 54.793425][ T5004] panic+0x686/0x730 [ 54.797433][ T5004] ? panic_smp_self_stop+0xa0/0xa0 [ 54.802569][ T5004] ? show_trace_log_lvl+0x285/0x390 [ 54.807793][ T5004] ? register_net_sysctl+0x207/0x3c0 [ 54.813079][ T5004] check_panic_on_warn+0xb1/0xc0 [ 54.818020][ T5004] __warn+0xf2/0x390 [ 54.821913][ T5004] ? preempt_schedule_notrace+0x5f/0xd0 [ 54.827579][ T5004] ? register_net_sysctl+0x207/0x3c0 [ 54.832862][ T5004] report_bug+0x2da/0x500 [ 54.837249][ T5004] handle_bug+0x3c/0x70 [ 54.841411][ T5004] exc_invalid_op+0x18/0x50 [ 54.846091][ T5004] asm_exc_invalid_op+0x1a/0x20 [ 54.851124][ T5004] RIP: 0010:register_net_sysctl+0x207/0x3c0 [ 54.857115][ T5004] 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 [ 54.876850][ T5004] RSP: 0018:ffffc90003a9fbf8 EFLAGS: 00010286 [ 54.883108][ T5004] RAX: 0000000000000000 RBX: ffff88802184b854 RCX: 0000000000000000 [ 54.891254][ T5004] RDX: ffff88807e5c8000 RSI: ffffffff814bd247 RDI: 0000000000000001 [ 54.899590][ T5004] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 [ 54.907562][ T5004] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802184b848 [ 54.915540][ T5004] R13: ffffffff8b859740 R14: 0000000000000000 R15: ffffffff8b69e220 [ 54.923522][ T5004] ? __warn_printk+0x187/0x310 [ 54.928481][ T5004] ? register_net_sysctl+0x207/0x3c0 [ 54.933778][ T5004] ? ip4_frag_init+0x380/0x380 [ 54.938637][ T5004] ipv4_frags_init_net+0x269/0x430 [ 54.943763][ T5004] ops_init+0xb9/0x6b0 [ 54.947851][ T5004] setup_net+0x5d1/0xc50 [ 54.952103][ T5004] ? down_read_killable+0x14a/0x4f0 [ 54.957313][ T5004] ? ops_init+0x6b0/0x6b0 [ 54.961659][ T5004] copy_net_ns+0x4ee/0x8e0 [ 54.966093][ T5004] create_new_namespaces+0x3f6/0xb20 [ 54.971399][ T5004] unshare_nsproxy_namespaces+0xc1/0x1f0 [ 54.977048][ T5004] ksys_unshare+0x449/0x920 [ 54.981564][ T5004] ? unshare_fd+0x1c0/0x1c0 [ 54.986079][ T5004] ? unlock_page_memcg+0x3b0/0x3b0 [ 54.991200][ T5004] ? syscall_enter_from_user_mode+0x26/0x80 [ 54.997371][ T5004] __x64_sys_unshare+0x31/0x40 [ 55.002155][ T5004] do_syscall_64+0x39/0xb0 [ 55.006578][ T5004] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.012566][ T5004] RIP: 0033:0x467b97 [ 55.016461][ T5004] Code: 73 01 c3 48 c7 c1 bc 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 bc ff ff ff f7 d8 64 89 01 48 [ 55.036246][ T5004] RSP: 002b:00007fff63df06b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 [ 55.044669][ T5004] RAX: ffffffffffffffda RBX: 00007fff63df0cd8 RCX: 0000000000467b97 [ 55.052660][ T5004] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000040000000 [ 55.060799][ T5004] RBP: 00007fff63df0770 R08: 0000000000000000 R09: 0000000000000000 [ 55.068886][ T5004] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000ffffffff [ 55.076874][ T5004] R13: 000000000056cb88 R14: 0000000000000000 R15: 00000000000000f8 [ 55.084960][ T5004] [ 55.088309][ T5004] Kernel Offset: disabled [ 55.093075][ T5004] 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-build2249697137=/tmp/go-build -gno-record-gcc-switches" git status (err=) HEAD detached at b599f2fcc nothing to commit, working tree clean go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen make .descriptions bin/syz-sysgen touch .descriptions GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=b599f2fcc734e2183016a340d4f6fc2891d8e41f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20210819-171500'" "-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=b599f2fcc734e2183016a340d4f6fc2891d8e41f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20210819-171500'" "-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=b599f2fcc734e2183016a340d4f6fc2891d8e41f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20210819-171500'" "-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 -static -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"b599f2fcc734e2183016a340d4f6fc2891d8e41f\"