KMSAN: uninit-value in selinux_inet_conn_request CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 6.0.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ===================================================== ===================================================== BUG: KMSAN: uninit-value in selinux_inet_conn_request+0x361/0x570 selinux_inet_conn_request+0x361/0x570 security_inet_conn_request+0xaa/0x160 tcp_v4_route_req+0x3b8/0x4a0 tcp_conn_request+0x1763/0x37e0 tcp_v4_conn_request+0x143/0x1a0 tcp_rcv_state_process+0x1d4/0x1ec0 tcp_v4_do_rcv+0x854/0xcc0 tcp_v4_rcv+0x363f/0x3cc0 ip_protocol_deliver_rcu+0x201/0x9b0 ip_local_deliver_finish+0x22f/0x320 ip_local_deliver+0x1fb/0x430 ip_sublist_rcv+0x1299/0x1510 ip_list_rcv+0x909/0x960 __netif_receive_skb_list_core+0x13e6/0x1490 __netif_receive_skb_list+0x5bd/0x6b0 netif_receive_skb_list_internal+0x741/0xc40 napi_complete_done+0x2fa/0x810 virtnet_poll+0x1318/0x1cf0 __napi_poll+0xaf/0x770 net_rx_action+0x9cc/0x1990 __do_softirq+0x1dd/0x7f6 invoke_softirq+0x8f/0x100 irq_exit_rcu+0x50/0x100 common_interrupt+0xaf/0xd0 asm_common_interrupt+0x27/0x40 acpi_idle_enter+0x4f7/0x5c0 cpuidle_enter_state+0x682/0x1520 cpuidle_enter+0x7b/0xf0 do_idle+0x5ee/0x7f0 cpu_startup_entry+0x1d/0x20 start_secondary+0x103/0x130 secondary_startup_64_no_verify+0xcf/0xdb Local variable nlbl_type.i created at: selinux_inet_conn_request+0xfb/0x570 security_inet_conn_request+0xaa/0x160 CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 6.0.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ===================================================== ===================================================== BUG: KMSAN: uninit-value in selinux_inet_conn_established+0x2fd/0x370 selinux_inet_conn_established+0x2fd/0x370 security_inet_conn_established+0x7b/0x100 tcp_finish_connect+0xb5/0x4b0 tcp_rcv_synsent_state_process+0x181e/0x1dc0 tcp_rcv_state_process+0x2d8/0x1ec0 tcp_v4_do_rcv+0x854/0xcc0 tcp_v4_rcv+0x38e7/0x3cc0 ip_protocol_deliver_rcu+0x201/0x9b0 ip_local_deliver_finish+0x22f/0x320 ip_local_deliver+0x1fb/0x430 ip_sublist_rcv+0x1299/0x1510 ip_list_rcv+0x909/0x960 __netif_receive_skb_list_core+0x13e6/0x1490 __netif_receive_skb_list+0x5bd/0x6b0 netif_receive_skb_list_internal+0x741/0xc40 napi_complete_done+0x2fa/0x810 virtnet_poll+0x1318/0x1cf0 __napi_poll+0xaf/0x770 net_rx_action+0x9cc/0x1990 __do_softirq+0x1dd/0x7f6 invoke_softirq+0x8f/0x100 irq_exit_rcu+0x50/0x100 common_interrupt+0xaf/0xd0 asm_common_interrupt+0x27/0x40 acpi_idle_enter+0x4f7/0x5c0 cpuidle_enter_state+0x682/0x1520 cpuidle_enter+0x7b/0xf0 do_idle+0x5ee/0x7f0 cpu_startup_entry+0x1d/0x20 rest_init+0x22a/0x2b0 start_kernel+0x0/0xaeb start_kernel+0x8d8/0xaeb x86_64_start_reservations+0x2a/0x2c x86_64_start_kernel+0x115/0x11a secondary_startup_64_no_verify+0xcf/0xdb Local variable nlbl_type.i created at: selinux_inet_conn_established+0x142/0x370 security_inet_conn_established+0x7b/0x100 CPU: 0 PID: 0 Comm: swapper/0 Tainted: G B 6.0.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ===================================================== audit: type=1400 audit(1661924684.265:73): avc: denied { getattr } for pid=1045 comm="syz-fuzzer" path="user:[4026531837]" dev="nsfs" ino=4026531837 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1 [ 63.086013] start_secondary+0x103/0x130 [ 63.090207] secondary_startup_64_no_verify+0xcf/0xdb [ 63.095624] [ 63.097323] Local variable nlbl_type.i created at: [ 63.102360] selinux_inet_conn_request+0xfb/0x570 [ 63.107328] security_inet_conn_request+0xaa/0x160 [ 63.112395] [ 63.114184] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 6.0.0-rc2-syzkaller #0 [ 63.122985] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 63.132442] ===================================================== [ 68.939365] ===================================================== [ 68.945819] BUG: KMSAN: uninit-value in selinux_inet_conn_request+0x361/0x570 [ 68.953235] selinux_inet_conn_request+0x361/0x570 [ 68.958307] security_inet_conn_request+0xaa/0x160 [ 68.963457] tcp_v4_route_req+0x3b8/0x4a0 [ 68.967735] tcp_conn_request+0x1763/0x37e0 [ 68.972181] tcp_v4_conn_request+0x143/0x1a0 [ 68.976730] tcp_rcv_state_process+0x1d4/0x1ec0 [ 68.981534] tcp_v4_do_rcv+0x854/0xcc0 [ 68.985565] tcp_v4_rcv+0x363f/0x3cc0 [ 68.989472] ip_protocol_deliver_rcu+0x201/0x9b0 [ 68.994365] ip_local_deliver_finish+0x22f/0x320 [ 68.999268] ip_local_deliver+0x1fb/0x430 [ 69.003985] ip_sublist_rcv+0x1299/0x1510 [ 69.008315] ip_list_rcv+0x909/0x960 [ 69.012493] __netif_receive_skb_list_core+0x13e6/0x1490 [ 69.018190] __netif_receive_skb_list+0x5bd/0x6b0 [ 69.023175] netif_receive_skb_list_internal+0x741/0xc40 [ 69.028784] napi_complete_done+0x2fa/0x810 [ 69.033244] virtnet_poll+0x1318/0x1cf0 [ 69.037365] __napi_poll+0xaf/0x770 [ 69.041094] net_rx_action+0x9cc/0x1990 [ 69.045177] __do_softirq+0x1dd/0x7f6 [ 69.049084] invoke_softirq+0x8f/0x100 [ 69.053091] irq_exit_rcu+0x50/0x100 [ 69.056935] common_interrupt+0xaf/0xd0 [ 69.061026] asm_common_interrupt+0x27/0x40 [ 69.065457] acpi_idle_enter+0x4f7/0x5c0 [ 69.069620] cpuidle_enter_state+0x682/0x1520 [ 69.074252] cpuidle_enter+0x7b/0xf0 [ 69.078080] do_idle+0x5ee/0x7f0 [ 69.081565] cpu_startup_entry+0x1d/0x20 [ 69.085859] start_secondary+0x103/0x130 [ 69.090123] secondary_startup_64_no_verify+0xcf/0xdb [ 69.095542] [ 69.097220] Local variable nlbl_type.i created at: [ 69.102203] selinux_inet_conn_request+0xfb/0x570 [ 69.107172] security_inet_conn_request+0xaa/0x160 [ 69.112308] [ 69.113997] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 6.0.0-rc2-syzkaller #0 [ 69.122771] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 69.132217] ===================================================== Warning: Permanently added '10.128.10.3' (ECDSA) to the list of known hosts. 2022/08/31 05:44:43 fuzzer started 2022/08/31 05:44:44 connecting to host at 10.128.0.169:40633 [ 70.026774] ===================================================== [ 70.033292] BUG: KMSAN: uninit-value in selinux_inet_conn_established+0x2fd/0x370 [ 70.041088] selinux_inet_conn_established+0x2fd/0x370 [ 70.046436] security_inet_conn_established+0x7b/0x100 [ 70.051801] tcp_finish_connect+0xb5/0x4b0 [ 70.056179] tcp_rcv_synsent_state_process+0x181e/0x1dc0 [ 70.061763] tcp_rcv_state_process+0x2d8/0x1ec0 [ 70.066542] tcp_v4_do_rcv+0x854/0xcc0 [ 70.070550] tcp_v4_rcv+0x38e7/0x3cc0 [ 70.074427] ip_protocol_deliver_rcu+0x201/0x9b0 [ 70.079272] ip_local_deliver_finish+0x22f/0x320 [ 70.084116] ip_local_deliver+0x1fb/0x430 [ 70.088341] ip_sublist_rcv+0x1299/0x1510 [ 70.092569] ip_list_rcv+0x909/0x960 [ 70.096452] __netif_receive_skb_list_core+0x13e6/0x1490 [ 70.101997] __netif_receive_skb_list+0x5bd/0x6b0 [ 70.106946] netif_receive_skb_list_internal+0x741/0xc40 [ 70.112507] napi_complete_done+0x2fa/0x810 [ 70.116938] virtnet_poll+0x1318/0x1cf0 [ 70.121013] __napi_poll+0xaf/0x770 [ 70.124716] net_rx_action+0x9cc/0x1990 [ 70.128863] __do_softirq+0x1dd/0x7f6 [ 70.132779] invoke_softirq+0x8f/0x100 [ 70.136765] irq_exit_rcu+0x50/0x100 [ 70.140563] common_interrupt+0xaf/0xd0 [ 70.144700] asm_common_interrupt+0x27/0x40 [ 70.149112] acpi_idle_enter+0x4f7/0x5c0 [ 70.153241] cpuidle_enter_state+0x682/0x1520 [ 70.157839] cpuidle_enter+0x7b/0xf0 [ 70.161639] do_idle+0x5ee/0x7f0 [ 70.165113] cpu_startup_entry+0x1d/0x20 [ 70.169273] rest_init+0x22a/0x2b0 [ 70.172888] start_kernel+0x0/0xaeb [ 70.176623] start_kernel+0x8d8/0xaeb [ 70.180519] x86_64_start_reservations+0x2a/0x2c [ 70.185389] x86_64_start_kernel+0x115/0x11a [ 70.189908] secondary_startup_64_no_verify+0xcf/0xdb [ 70.195294] [ 70.196990] Local variable nlbl_type.i created at: [ 70.201972] selinux_inet_conn_established+0x142/0x370 [ 70.207361] security_inet_conn_established+0x7b/0x100 [ 70.212741] [ 70.214397] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G B 6.0.0-rc2-syzkaller #0 2022/08/31 05:44:44 checking config... [ 70.223144] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 70.232743] ===================================================== [ 70.257299] audit: type=1400 audit(1661924684.265:73): avc: denied { getattr } for pid=1045 comm="syz-fuzzer" path="user:[4026531837]" dev="nsfs" ino=4026531837 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1 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.17" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2813833829=/tmp/go-build -gno-record-gcc-switches" git status (err=) HEAD detached at 37e76fe20 nothing to commit, working tree clean GOOS=linux GOARCH=amd64 go install ./syz-fuzzer make fuzzer execprog stress executor make[1]: Entering directory '/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller' GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=37e76fe20b5128a6092d2db3a0f42e1228b3aaba" -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/sys.GitRevision=37e76fe20b5128a6092d2db3a0f42e1228b3aaba" -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/sys.GitRevision=37e76fe20b5128a6092d2db3a0f42e1228b3aaba" -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress mkdir -p ./bin/linux_amd64 "x86_64-linux-gnu-gcc" -o ./bin/linux_amd64/syz-executor executor/executor_linux.cc \ -pthread -Wall -Wframe-larger-than=8192 -Wparentheses -Werror -O2 \ -static -fpermissive -w -DGOOS=\"linux\" -DGIT_REVISION=\"37e76fe20b5128a6092d2db3a0f42e1228b3aaba\" make[1]: Leaving directory '/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller'