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 73FD33A63F3 for ; Fri, 28 Aug 2026 06:54:07 +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=1787900048; cv=none; b=oa9MbLAej4taedPW3Qvjxt2EzoOXjruWiLDX8kUv4wYh8lu9fU5mijiKsDYfBBuQFgvP8ycU3MCAj5xPY1sbubQgmtAYMAnQeNKEw2AfHEhnpka1k8WFF596iyJSBs/+bN5rXAW7RefNUdN8ZDKBDwhcVTyWa5E+qZo4rG+6qD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900048; c=relaxed/simple; bh=Gl3rBxfnvBgqEfG89TLiuMdZI71vjGhdJYObqagBFQo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qkSWTx7LT4c8CVl98gdIjoRH4L0rCoWdcBuktAW0msZLAp4CGEMquDnDLRPMvZKGOPrRHsxR9hd6mIJYvJwhgRMuxeT3Z6zfC9e8Ogy+7aLmLm/UQMxF+J46o0gcNz1A714Ny8Sq+em44C6isFyHH2tDBEqRTFJyU8JMwKnYasY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M9BVV304; 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="M9BVV304" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D269A1F000E9; Fri, 28 Aug 2026 06:54:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900047; bh=5XyN7TBCgtIJpTiKi0PB8yfx7gKelgOYyJt49VypHPY=; h=From:To:Cc:Subject:Date:Reply-To; b=M9BVV304+9RPrrYtpNsTkdSA8IIj0th7N/cV0tia0URj3tyXgO+RN9/224vSNKpkc 6GxmxBrFjAic3w2zgLU4lWeq8yTSZ4RHJ5ElKWFbiuh7UrYVGNQepNHgUStn1ipE3F +nJkd7k56GZVVBeH6GHjjragaRhXvnKUVnpKo6m0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80693: idpf: bound interrupt-vector register fill to the allocated array Date: Fri, 28 Aug 2026 08:53:16 +0200 Message-ID: <2026082804-CVE-2026-80693-6886@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3045; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gj+uPrpktqBjARjY4JVmQg7bPhHJHu65WhlsHvLJc9o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDQIi7841myk57+A+KX4Xc4nVZ1c1PlD2KfPsrEzXP OuQyzyrI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZi+ZNhwcam9TNig9nCbfSX ycj39SgH/Ti7jWF+UYnP61PHZG8Wsjse7D5759DlUgYGAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: idpf: bound interrupt-vector register fill to the allocated array idpf_get_reg_intr_vecs() fills the caller-allocated reg_vals[] array from the VIRTCHNL2_OP_ALLOC_VECTORS reply in adapter->req_vec_chunks, bounding its inner loop only by the per-chunk num_vectors. The array is sized separately: idpf_intr_reg_init() allocates kzalloc_objs(struct idpf_vec_regs, total_vecs) from caps.num_allocated_vectors and only checks the returned count after the fill. The sum of per-chunk num_vectors is never reconciled against total_vecs, so a reply with a small num_allocated_vectors but chunks summing higher writes past the end of reg_vals[]. Impact: a control plane (a PF or hypervisor device model) that returns a VIRTCHNL2_OP_ALLOC_VECTORS reply whose per-chunk num_vectors sum exceeds num_allocated_vectors writes struct idpf_vec_regs entries past the end of the reg_vals kmalloc allocation (KASAN slab-out-of-bounds write). Bound the fill loop to the array capacity passed in by the callers, mirroring the sibling idpf_vport_get_q_reg(). The existing num_regs < num_vecs check then rejects an undersized reply without the out-of-bounds write happening first. The Linux kernel CVE team has assigned CVE-2026-80693 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit d4d5587182664b0c4ab6d3556ce881cb975507c2 and fixed in 7.1.8 with commit 41bb8748124d0d8ee5d8e1eace9dfbc874bc9564 Issue introduced in 6.7 with commit d4d5587182664b0c4ab6d3556ce881cb975507c2 and fixed in 7.2 with commit 9f7007ee9858c99aa43101bc8352c672fee85644 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80693 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/intel/idpf/idpf_dev.c drivers/net/ethernet/intel/idpf/idpf_vf_dev.c drivers/net/ethernet/intel/idpf/idpf_virtchnl.c drivers/net/ethernet/intel/idpf/idpf_virtchnl.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/41bb8748124d0d8ee5d8e1eace9dfbc874bc9564 https://git.kernel.org/stable/c/9f7007ee9858c99aa43101bc8352c672fee85644