Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp249462lqp; Thu, 4 Apr 2024 12:00:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDscaohQr622OEtf2U0rBbmJ8n5StUxtZtFzf9EHbDwz4JSup7sK3i9/7xIxVcTRZVd75xiVth7ZcMPBmWKq5/P2BJomkr+zebomfXWg== X-Google-Smtp-Source: AGHT+IH6m1JgR+zMhtu0eZWdW0iXykQXcCXrMs0M8JGfJJtC0cMK7hF/PchECdz0aAljCltWpTDN X-Received: by 2002:a17:902:cac1:b0:1dd:63a4:68cf with SMTP id y1-20020a170902cac100b001dd63a468cfmr2867747pld.69.1712257250535; Thu, 04 Apr 2024 12:00:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712257250; cv=pass; d=google.com; s=arc-20160816; b=A593Hsu854RkjxiBB+oER0ZbpTXIrxurnHoJj4Vk+cRJqk6+t+8+xUcviKdby9OevR HiN4cHA0AVhvrODnjgulshtXmiBcrhaqwkEtiqAb8Og46Y9vSoRQCnxa5U6hc2Q/lyLV SxI8fa3B5OfaYoWjKQJMSRaOExqamr12QCLWeik1PJAAWPCHPJTtsd88rgtGzPXDCzJv uMx4/fJ8llND6b3/WDVuXw98NKn8lUOGlD472iH/PoKTxaX0J6QZO6QZR+DU3S+Kkm1c u4IGz7NibTo35tyNQgKy/yFozo6ZLidg5j6t6SoOXJB5Jr2kmvX9srAivIk1/92vJwMB zWaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=sbbwP4m8hODhTvUlJxQ9gw6z8fPxCf3pdA3GY9BOP58=; fh=knzBpjj0SgP9bsw0h6fR6RGcnxwcSvUi6jXa1OaDgSw=; b=A2uDKM+/G+tXwQ/PaVZWZR/ynNe4jeDduNBsKccxzC8e7XjFP8RUl+0a+CE8mwFAKH YuU3VuO8Bi1LxxH9jI5+xuWVFMuRkw4T/bz7xRACRsS9QwFdKxsrXF8oAhQeIU/MSzqq NHs+fiMDvgO60CfJKax/59FHCuEWuBC/xFFYSv0JFWoeRlqAMbYyqXJl+GqNu0LDyEbf dUm/q7Q3FPrlJeThGnfPCMIU6l+L1hlgT+XshUCHamOCdppHIZ7dO7FRUEfkrhgAMsCo JBuYcJMzI7zp077VqrCUac6H/DNjbsqycw/T5N4FqQqoc9047Zj3R+omP6V1p8UlmJst MzcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=w7WrLvK8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-132002-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132002-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mb3-20020a170903098300b001e0cdce92ffsi11003552plb.327.2024.04.04.12.00.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 12:00:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132002-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=w7WrLvK8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-132002-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132002-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E5B9028C1AD for ; Thu, 4 Apr 2024 19:00:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C4D613329D; Thu, 4 Apr 2024 19:00:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="w7WrLvK8" Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5916133425 for ; Thu, 4 Apr 2024 19:00:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712257239; cv=none; b=q+EoJLCc0RiGYqvXaYQTCPBp2nODgVmFIrDsB05p3tOYi4V1RjIfBqBXt4PEymlgm5f8RznlHsfftPzh/ndlGPubIyu3X25ww4zSFQtjQAjKEbo77D4Xalp2Vx+3kt2RXWTy45gRmK2+gHqsSB4K8B6xkFQ0x8FwanqeMtvmJEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712257239; c=relaxed/simple; bh=sbbwP4m8hODhTvUlJxQ9gw6z8fPxCf3pdA3GY9BOP58=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jPrg8UgPtSr1u7UwdAR4mJDDPSS3oE+0EJp/xV2l+l5RJqEGvKJRwkFOcmdCYPgjWlL0j1SKAc5i9zOavoEOFVCeJbKur6G7dovT7IisheJHss3oV4XPjHUGNmvi2UfL7Ua2m9XcI9mpqznBS7uL5rE2AWNr+bfRiW7p23r8auA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=w7WrLvK8; arc=none smtp.client-ip=95.215.58.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: <110c4768-2294-436e-a96a-7063bae85ee7@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1712257218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sbbwP4m8hODhTvUlJxQ9gw6z8fPxCf3pdA3GY9BOP58=; b=w7WrLvK8Y1ywCKqh3erOTr6gfYJoIk760WqMipeqVSAQ1CyewsmG8DR5lDQbwTBS1plgfR +XkvQdIbyOEFEruYKN2ex9LrBq+n2iQ51we3hAZ6I2uSvRxyHE6EYpjVVj4xRfXWVcHftQ FD0PpekVP4AhkWiKv6vFlFgwpRwt4Gc= Date: Thu, 4 Apr 2024 12:00:11 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [syzbot] [bpf?] KMSAN: uninit-value in trie_delete_elem Content-Language: en-GB To: Aleksandr Nogikh Cc: Alexander Potapenko , syzbot , andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, eddyz87@gmail.com, haoluo@google.com, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, linux-kernel@vger.kernel.org, martin.lau@linux.dev, sdf@google.com, song@kernel.org, syzkaller-bugs@googlegroups.com References: <000000000000f9ce6d061494e694@google.com> <2ee098ec-a46f-44fa-8719-049331c4c206@linux.dev> <02d29315-13ee-45c1-984e-13c98e88247b@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 4/3/24 1:47 AM, Aleksandr Nogikh wrote: > On Wed, Apr 3, 2024 at 5:59 AM Yonghong Song wrote: >> >> On 4/1/24 11:36 PM, Aleksandr Nogikh wrote: >>> Hi, >>> >>> On Mon, Apr 1, 2024 at 8:55 PM Yonghong Song wrote: >>>> On 3/26/24 12:00 PM, syzbot wrote: >>>>> Hello, >>>>> >>>>> syzbot found the following issue on: >>>>> >>>>> ===================================================== >>>>> BUG: KMSAN: uninit-value in trie_delete_elem+0xc0/0xbe0 kernel/bpf/lpm_trie.c:448 >>>> Unrelated to the bug itself, with KMSAN is enabled, qemu cannot boot my vm >>>> any more. Anything special I need to do in order to boot a KMSAN kernel? >>>> >>> Does the kernel print any specific errors to the serial console while >>> booting? Or nothing at all? >> In my case, nothing at all. >> > If you're using qemu, please try adding "-machine pc-q35-7.1" to its > arguments. Otherwise it's known to have problems with very large > kernel images. I still do not help. My qemu does not support pc-q35-7.1. The most q35 machine is pc-q35-5.2 and it does not work.