From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 9BF162045AD; Sun, 31 May 2026 14:15:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780236960; cv=none; b=io2FC+M+xGlKrAFstH1lAVyIRaqgj5qbsXrJN1tOz/V4gywD0IFvQEQqBLVLP41MrsEKNIrg1zR+jQ0/6ir3p6b73AGxDqmzxnUIwm9WpiKHTzlbewLFF05Ue0IvmKxvYFSg8noEXNQaWbIElAGIL1rcv4F5UnGgjghVsaaYXeE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780236960; c=relaxed/simple; bh=W726x2lCOV9JBErFR7PyjXJtXS3Z2Xqpxhsa9Cpdzjc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SY07jGLDqcTuSTZoa3uD89fL+NiK5T9FabdfiwYL/PeIeveWWA4MLb+T9GHNJIb+DZnIhFc6LAjJSNqbUpd9EbRtYLXX9gvc9FgLoA77697FCBZXd3ylBDHy0+ijARdY/9dP3PD1FMfRB1h5R5MqMHDJ1qbp9NyE+Y6Nfz6CPKg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L1qwrvt1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="L1qwrvt1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6610C1F00893; Sun, 31 May 2026 14:15:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780236959; bh=U23k70jOkOIRnx4xfbsKF3eYCpD6GuFHR3Ka4h+u5QU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=L1qwrvt1byj+XyLFyTBGlXK2Kfbd5te7XD/RAphHVLNMS0Sg9PAMJmPGGMhgfUCQm fTzG3mE15uMgHz+b0EWNueao0GIvE+hpS49rK14vsIPUENEmQ/b0fGaNmZCGvaQ+lj /Frbv4wcPTeOhqCQy6MDDurxVuNULNjv3BOrNCh0= Date: Sun, 31 May 2026 16:15:04 +0200 From: Greg KH To: Yanfei Xu Cc: harshpb@linux.ibm.com, zhaotianrui@loongson.cn, maobibo@loongson.cn, chenhuacai@kernel.org, maddy@linux.ibm.com, npiggin@gmail.com, sashiko-reviews@lists.linux.dev, seanjc@google.com, pbonzini@redhat.com, kvm@vger.kernel.org, stable@vger.kernel.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, caixiangfeng@bytedance.com, fangying.tommy@bytedance.com, isyanfei.xu@gmail.com Subject: Re: [v2 0/2] KVM: Validate irqchip index in routing entries Message-ID: <2026053158-cussed-outweigh-6f0f@gregkh> References: <20260531135326.2238555-1-yanfei.xu@bytedance.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260531135326.2238555-1-yanfei.xu@bytedance.com> On Sun, May 31, 2026 at 09:53:24PM +0800, Yanfei Xu wrote: > Validate irqchip indexes for LoongArch and PowerPC irq routing entries > to reject out-of-range values before indexing the irqchip array. > > v1->v2: > - Split the patch into two by architecture (Sean) > - Pick up Reviewed-by > > Yanfei Xu (2): > KVM: LoongArch: Validate irqchip index in irqfd routing > KVM: PPC: Validate irqchip index in MPIC routing > > arch/loongarch/kvm/irqfd.c | 3 ++- > arch/powerpc/kvm/mpic.c | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > > -- > 2.20.1 > This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.