Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp198406lqr; Wed, 5 Jun 2024 03:27:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4VzLE3PjukqAjUUPeDx4a62L5cuCvhwVmf9+hWXRPxK274wX8WkldhsxeyJz11QnV2v3Cgw391upko8tsiX968L9rEFmzwouTrDTnLg== X-Google-Smtp-Source: AGHT+IEAik/NxM1YCy/hFwmavNNiUdAzBsP6FAkV0j/RYbHcg1n4f4JgYFunJs0MQmeMhcAhaT2F X-Received: by 2002:a05:6e02:174e:b0:374:b1d5:ed67 with SMTP id e9e14a558f8ab-374b1f3b8damr20596855ab.24.1717583269005; Wed, 05 Jun 2024 03:27:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717583268; cv=pass; d=google.com; s=arc-20160816; b=nChDPKBFDPnXp07qdxYtPsJnjX8qv8ExL84USHv2s40edH0noT5QcguqblXfUaisOM 9FaK9NcKVPXDmL3+aRaazELa58NtE3K8tHM/23ma8UA25SyCOUUNYp+VkgbkXJ9/rm/9 MaCjpf1guPpZoZrtR8gdrDxsJx/4jzKBV1I74KNLrnx0HDwrSM7ir3jLrb7pnhtngmS9 4WOpAX5a+kIKIjCaRg405MBhdNeHrwgvT8gthHeZUuc0SvKsFhhchXEQ9HcDCguA92Xh bK2w2q0Y08WdlhoP+xy9A3gBlV5gNy0W2imO81rYCsBXwtgzK/ycUHzBODV8n9a7xUw9 +TZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=RC/506BWmc7624PtRqbAt5cVppuSSEouvVma2BHil3g=; fh=qNBa15II5lKeBu6Jy+C2spc1HN2xmEAZGobqNwmCBOI=; b=uX1rdRXQl4lvRz6QxutPc8ZvTKcm8zVVCCISHlhkW/wQnwSvfiZxQheQU556x1Y3ie cDE609X2DSmgtTTh4//VZ2GXCoXSVGaGcxzRAhjy72mJJWmhk1eNU+3bakbPf9UoY4t6 FKEwB1d5YtDOIXUyPjZQbrWp2QVS1HUVtaNXmd8lIkDH7qnzWDX5bhy39uLLrRG2zpcS +5EmPdXR43EVSn999NYuRSKaULY29r8kNnJzYuIRXEQsi+vxt38uo9YlEuiyp+Rbq+HW yUm11H14/sH725m8B43By8f2ULngcw/m6YeKuAoCCa2UyZtMXDmvV6lcbYd1aH22TJJc 710A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eN9dr2dI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202161-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c495b86970si3103206a12.26.2024.06.05.03.27.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 03:27:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eN9dr2dI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202161-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C2B9DB21881 for ; Wed, 5 Jun 2024 10:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E1E6190493; Wed, 5 Jun 2024 10:00:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eN9dr2dI" 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 C528618FDCB; Wed, 5 Jun 2024 10:00:30 +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=1717581630; cv=none; b=LeJLxfxKhGtRzIHlMDKvELH8kZ2kJynnnxNrQDwmuVwpDchvNM+YZIClaFuNqknAm58J3+FeG95KC1IA7hn4+P5kr8N/pTLxTOPmk72z6SrCI8juRwMbr4tYFKogEyWfAlhbk9QuvFsUxffStUacQGlL1BNFW+EAedsQ2N+lBcU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717581630; c=relaxed/simple; bh=ah5lFcGcUNfO3Al87vNORNPuk9qkbXVFZHSNOODN1L8=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=flHkni1vy4z1kutgWJPxX5ocOoC8aa9yjcvOyYtLPxkV5JgDHt74FgmYH9lSixbobgtOubfOZrvTztbwX2lmfdT9ZJ4fyvYrFdRgFn6f4w+Vu6kKvKYyW/SuqmU6BQOJ5BmCPE26GX4XgBdLnBHkHx7Y9NyWeH+LQ1eSQK9MRFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eN9dr2dI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 7F7A7C4AF07; Wed, 5 Jun 2024 10:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717581630; bh=ah5lFcGcUNfO3Al87vNORNPuk9qkbXVFZHSNOODN1L8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=eN9dr2dImjRgewatrIX84FtUyLBi+fGq6EemypavzJkdIFm9bNqu2JgRFmnzPDIWC 4Piw4d6b2qmSoj8Z0PT6jPwQDOjRWcAZgpRhpewDmqn+OHuWdSIiVP6P2PcMPUYjt8 sFB2Vk5yypPizDw6/qnZE5ZqwRKVSb1WC/0XwTgmPOG5VEQdzB1Ep5aXVFYel74Jqe zJT12sfAz96k8K0WX4Ek88Rqhz3lYyO6A+UEeZN1ltrOyOM3FLwZb6OX73FurobD0D sDivVS95uN8VjlnSpNUkasV3kFm3UwrcZWUQgzhezVSWAjG41zmDET0l8Yefyp1+1r sA4anLq5XdIbw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 6D57ED3E997; Wed, 5 Jun 2024 10:00:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: sched: sch_multiq: fix possible OOB write in multiq_tune() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171758163044.24633.5703861256787494559.git-patchwork-notify@kernel.org> Date: Wed, 05 Jun 2024 10:00:30 +0000 References: <20240603071303.17986-1-hbh25y@gmail.com> In-Reply-To: <20240603071303.17986-1-hbh25y@gmail.com> To: Hangyu Hua Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, vladbu@mellanox.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Mon, 3 Jun 2024 15:13:03 +0800 you wrote: > q->bands will be assigned to qopt->bands to execute subsequent code logic > after kmalloc. So the old q->bands should not be used in kmalloc. > Otherwise, an out-of-bounds write will occur. > > Fixes: c2999f7fb05b ("net: sched: multiq: don't call qdisc_put() while holding tree lock") > Signed-off-by: Hangyu Hua > > [...] Here is the summary with links: - net: sched: sch_multiq: fix possible OOB write in multiq_tune() https://git.kernel.org/netdev/net/c/affc18fdc694 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html