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 684EA24BBEB for ; Sun, 19 Jul 2026 14:59:31 +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=1784473172; cv=none; b=QBD6IUF6OVFnRyFfkePYM9bAvtX7b5k5PAbA38MuuENlEXbJcVYNVvFWWUpsrB7shPvGBS91V9+Qq2lbQ/m2eJGuYNNMKlHgebDcCw332NSSyCW54rSP27aMQmEvLSmX4RIbkwfBhB9PnUMAvC2HERgBL2prtlBjLpxxA4C2bW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473172; c=relaxed/simple; bh=FvXKO7IaBKw5ROoQH780reB6BGtcSMflNoARUDXNTm4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AsaqYIrdoTotANFXJ47Lf/cUjrfbICAEHeJexx/KLKIOwUIM/svTxri0LVMo14emvWixtlU7QlhLeGgXP5zAp4uJHstBFQiI5XGgA92Hc42/qtz+VFwURpdQSuM9R3/4N6iYNDCEk61wpFtWBrz+BOOli1wZzsuD8iV2Myo55d0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PYkdwo1g; 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="PYkdwo1g" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA4971F000E9; Sun, 19 Jul 2026 14:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473171; bh=nhf42XAqd9arnWLARnvF/lJ9RM/Gl6VkKrGBdqInRZ8=; h=From:To:Cc:Subject:Date:Reply-To; b=PYkdwo1g1JFBGk2UhYoH0mAedbe6hjtc6WhAgAQSNpzxInJifNMJ2oQ/YvlWlWtUD 5wrp1C3EjRJ/OefF2VUx6q8u1Hthh0FOLds65yvO4wPJ70b6UnJ+rZe00RGIB2fCnq B2ZHOVVLY6zuHESn0h9ITT906bGqyPrf7Wv5Emys= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63923: octeontx2-af: validate body pcifunc in rvu_mbox_handler_rep_event_notify Date: Sun, 19 Jul 2026 16:56:23 +0200 Message-ID: <2026071948-CVE-2026-63923-8d3f@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=3327; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eZTIkwMf58nzKr0He8F5qSoYaVFrbVAQArXhnFTjdqk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT0sS3V/XHdminHd1kVLcyqPpd5YurGARL5gv2Kzc0 LPmYeWnjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIXTrD/MoFd35Kz/HqEQ+0 /Ocv6/Js5o+vLxgWnK8NW3LO8+6e8C1dbDrfmkycjd4JAwA= 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: octeontx2-af: validate body pcifunc in rvu_mbox_handler_rep_event_notify rvu_mbox_handler_rep_event_notify() in drivers/net/ethernet/marvell/ octeontx2/af/rvu_rep.c queues a sender-controlled REP_EVENT_NOTIFY request body verbatim, and rvu_rep_up_notify() then forwards event->pcifunc (the nested body field, distinct from the AF-normalised header pcifunc) into rvu_get_pfvf(), rvu_get_pf() and the AF->PF mailbox device index without any bounds check. A VF attached to a PF that has been put into switchdev representor mode reaches this path: the VF mailbox handler otx2_pfvf_mbox_handler() forwards every message id including MBOX_MSG_REP_EVENT_NOTIFY to AF without an allowlist, and the AF dispatcher rewrites only msg->pcifunc, leaving struct rep_event::pcifunc attacker-controlled. The sibling rvu_mbox_handler_esw_cfg() refuses requests whose header pcifunc is not rvu->rep_pcifunc; this handler has no equivalent gate. An out-of-range body pcifunc selects an &rvu->pf[]/&rvu->hwvf[] element past the allocated array and, for RVU_EVENT_MAC_ADDR_CHANGE, turns into a six-byte attacker-chosen OOB ether_addr_copy() target inside the queued worker; KASAN reports a slab-out-of-bounds write in rvu_rep_wq_handler. Reject malformed requests at the handler entry by gating on is_pf_func_valid(), which is already the canonical PF/VF range check in this driver; expose it via rvu.h so callers in rvu_rep.c can use it instead of open-coding the same range arithmetic. The Linux kernel CVE team has assigned CVE-2026-63923 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit b8fea84a0468404fe3b3327ad54d583950be9dec and fixed in 7.0.12 with commit 68be0260e2a02ff9b18a8678d5f8d1715fa20138 Issue introduced in 6.13 with commit b8fea84a0468404fe3b3327ad54d583950be9dec and fixed in 7.1 with commit 2156a29aecfffa2eb7c558255690084efbe9f3b0 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-63923 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/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_rep.c 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/68be0260e2a02ff9b18a8678d5f8d1715fa20138 https://git.kernel.org/stable/c/2156a29aecfffa2eb7c558255690084efbe9f3b0