Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1699915lqe; Mon, 8 Apr 2024 18:27:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVU6yy3bQFolN7kts3w9eWTSq+UVRHZ1tYKrfSn5QPCBc3xBw2S3xTrB9jyFBWud0E3i80sYvI4Un4IvSVABvH+nx/u6rm+YfAN+EsAPw== X-Google-Smtp-Source: AGHT+IE+zA52etwAsgIDOOsotWNVvX0C/QcU7FA/RuieQpA8LNPc+2x9e5OHFIImgJtqqzAaJ6cN X-Received: by 2002:a05:6a20:9f0f:b0:1a7:9b76:3d02 with SMTP id mk15-20020a056a209f0f00b001a79b763d02mr1848440pzb.57.1712626062777; Mon, 08 Apr 2024 18:27:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712626062; cv=pass; d=google.com; s=arc-20160816; b=YW3BCSVvt9UDNZr2yQWw2FKXjkkIB1CFNf7Pqey33RcUOpuT5sstLW4jAGKKWT4M2G t00G+gM3IydZBMa6EmefZ7ZJZApvhfGVfX8xCWZxzP993W/mwXl88YmzeqCLiQsf3f1+ 6sDxdRmg8u7xgRsJNzfBfTkvWNK18haRFSX6rUI4jdg1/NQE5Q8z4l/7jKEHxOoRkkeo e1fxbyPPUwz2DhM5spzs3s85wxOuk4gqdLsVS7HqFoU23goV24hgKYnNkVlB9e2t3HeY XlOfvDIoebnM4yXm4PaeCtgPPEktSl7Sy8Ep5m3TTVLOF37CIOekmV1w7R0qeIKHMn3v jJSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=cOWSAqno7oO4Jt0RlFM9lWoZoYsxR+hbcfszdmWVRg4=; fh=hOr7sbpQYEkvXziuewaDE9wmYXRcbr8IRVzKIKqGLCI=; b=YIEOzFhc65BS++se7He+WO68pfEITC6IABkg/hU0+2+gbIFe8lo5LMXXom3PgLek4M J9CkinOQXj1c9aep/MdMfCJZs99GrZQ5JjnFGICb3ktqve5ebjuq/HV7KafGcywoWmeS 1Q3kiWNaCfNVfX9UgygeiOScAbyd/WmNtruFnqPFyUpwEAKqfRohhmzfDmb4MZU14V1P bil9IZS1PFoEqn1RxDxcfdKRQRys9tBPtSN2U2FWAAllVBFs25R4D2VoU6muvdtqsQD8 rwKD4hio1KhDe9GDhnLrpintB3Xra14to3Fcfq4ZCq4+W/ZniA79YwWuZRqtFJ8uwKYJ navg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qxce2qzZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-136073-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v24-20020a631518000000b005cee039f233si7386946pgl.425.2024.04.08.18.27.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 18:27:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136073-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=@kernel.org header.s=k20201202 header.b=qxce2qzZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-136073-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 73A2928494C for ; Tue, 9 Apr 2024 01:27:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF9A18C15; Tue, 9 Apr 2024 01:27:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qxce2qzZ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 147DF4C85; Tue, 9 Apr 2024 01:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712626052; cv=none; b=JwnrQiyXhARqNHIsgf0Eg4HlcpmtQc+SjZpAXK5EchxYvwkuYH6XPQyR1KfajZQsrZvGELCZyoCJs7eE75y8lxzvdLyN7M3rpVGSeEFQYSrfHwwQw4JhKZtL8LcS96hKfX3v32/XfcnYYvG7vKwieHH1A37Zh0q1hEL6SAmBgoA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712626052; c=relaxed/simple; bh=TpKVqjJdJt2Rx3+aFUTkbwQqEDMryLywvwDEX0tYaqc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PI7rKR4WN//+aSPOd5hqfq0e/njmyeTh7IjEuF5S/bIuzMP0cFJNkX1rNTBRi4NubXaWLpaP59carcroY4ykf0KLaXU3Zg9JJsc5VUcUqW9daooM++TCDhJl3HBmrhKVC18yGt9ffLEsVHMSEze53XsJHE6ARsfaoU4q4ZKqctY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qxce2qzZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D415C433C7; Tue, 9 Apr 2024 01:27:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712626051; bh=TpKVqjJdJt2Rx3+aFUTkbwQqEDMryLywvwDEX0tYaqc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qxce2qzZdFF6c27j22tWogDJUbx2Kzh9vADyXs/0ydLCwdJQyUgT4Mxvf4wTyW3D8 uj43hEG/xi+UxE/3U0PIrsWnmwyMNes/s/mVa+U9R+E8fEjoX1J99adguTf2c4p8HS oE0sK50sUJXu80/vLUOucXmg2X++jHZwXET39+LWGik0z769yujNdT4U/XXawC0BlV 76AZcI6qlsu8cVbD+cS1vV3meRJpTDRLYkskesRNkkvV2+ODDmVyGtXucuI3D0sHUU NVKQy/49eDF0rSXCXSz+DuebJTYut16jLvtbzOiuwe9EYJqfF2kaM0jS7Fs7suZEag rW2GVAOD5cSxQ== Date: Mon, 8 Apr 2024 18:27:30 -0700 From: Jakub Kicinski To: Hangbin Liu Cc: Eric Dumazet , syzbot , davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [net?] KASAN: global-out-of-bounds Read in __nla_validate_parse Message-ID: <20240408182730.5f8dc617@kernel.org> In-Reply-To: References: <000000000000c30be606158f33db@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 8 Apr 2024 17:15:07 +0800 Hangbin Liu wrote: > Thanks for the report, I will check what I missed. .maxattr = ARRAY_SIZE(team_nl_policy), needs "- 1"