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 A87E539C621 for ; Thu, 25 Jun 2026 09:45: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=1782380708; cv=none; b=jMa8a9jhkWA6qCmpKmF0JPfbX/nrJ83IB77I16DdpDk9k5aFmPogql/G3h23uYbMx59EbYE/moeavxCcI0u50nrZPjvF3J5DpSug+qkfKK66UI9wUylcTch9JpkH8o/qydlWslj/DNlNRs8Hzho7dSK6Yg243n8yrAuqJdVHMDY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380708; c=relaxed/simple; bh=T6JwU46r1v2jIbpZrbYePsZcaU6doKXiFt9+8RvkOoM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jHh7iB94lCFXd/WGTnxTgQJAv6Vrup+ja+GeL7H5Fl5LJE81TKyJ+Y3epu797rCypn2Qt86wFoE7iDpoqunQwVPZpVDmGnrunnxLZbINcL9jdiCsbqu50muRA/uWEnDbQZbRKL6OocdXniqYnqTLdlS5QBK+BIG7OxhilvdpXNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=My9bPCn3; 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="My9bPCn3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 019CB1F00A3D; Thu, 25 Jun 2026 09:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782380707; bh=xlX2Vv4+7jrDmoEeMYpi73B9thNCF8GTXLbNM92B7ck=; h=From:To:Cc:Subject:Date:Reply-To; b=My9bPCn3GExJRC0KiVafPUGGb7vVLRwytXnkY33RoKltuuohhBjYIy72u1GZlkBV8 nrguUW2eVAuVQMtQGpkWrczks2SH1MTYR+qjLCnSaCc1SwUkG6vGsqCXsBynmUEPRY wcLQOYk00YRbzoR24VC8YPVdSvFlorD9OlHuUQrc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53245: net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr Date: Thu, 25 Jun 2026 09:41:33 +0100 Message-ID: <2026062512-CVE-2026-53245-2838@gregkh> X-Mailer: git-send-email 2.54.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=4396; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=A1Mch/GyMfFHt53IV7Aq5zxQbvmTbDDDNeFZfmRc6sc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L3O4VNLCusIWhqyezSWp0hR0VdhtHvOEqUF7jvDNu GuwwPh0RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk5gbDXIki1lX7QlzrN1tt rfiz6lTZPSUmdYZ5Ssk3+s1TzqRbMup5RZ36ESzqyeIMAA== 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: net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr In mrp_pdu_parse_vecattr(), vector attribute events are encoded three per byte and valen tracks the number of events left to process. The parser decrements valen after processing the first and second events from each event byte, but not after processing the third one. When valen is exactly a multiple of three, the loop continues after the last valid event and consumes the next byte as a new event byte, applying a spurious event to the MRP applicant state. Additionally, when valen is zero the parser unconditionally consumes attrlen bytes as FirstValue and advances the offset, even though per IEEE 802.1ak a VectorAttribute with only a LeaveAllEvent has valen of zero and no FirstValue or Vector fields. This corrupts the offset for subsequent PDU parsing. Also, when valen exceeds three the loop crosses byte boundaries but the attribute value is not incremented between the last event of one byte and the first event of the next. This causes the first event of the next byte to use the same attribute value as the third event rather than the next consecutive value. Decrement valen after processing the third event, skip FirstValue consumption when valen is zero, and increment the attribute value at the end of each loop iteration. The Linux kernel CVE team has assigned CVE-2026-53245 to this issue. Affected and fixed versions =========================== Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 5.10.259 with commit ae65714d96f68bb252eb20085320bdaacab36c00 Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 5.15.210 with commit 36d259711872e3b2f6cd76a4d270c21931c0f35f Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 6.1.176 with commit cc98717e591a963a616fdf15ecf48eefaf45d758 Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 6.6.143 with commit 6d6e42e8e17f18d61327f8653479c5b5e161ae1d Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 6.12.94 with commit fd9c3a47c670bec6b18f44454cea023f93b5adb3 Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 6.18.36 with commit 42446ca0f3570663e87183c065e0b4def52dfba2 Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 7.0.13 with commit 6eea6494e542a03cdf755a593b7d74f3f7c260fd Issue introduced in 3.9 with commit febf018d22347b5df94066bca05d0c11a84e839d and fixed in 7.1 with commit 7561c7fbc694308da73300f036719e63e42bf0b4 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-53245 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: net/802/mrp.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/ae65714d96f68bb252eb20085320bdaacab36c00 https://git.kernel.org/stable/c/36d259711872e3b2f6cd76a4d270c21931c0f35f https://git.kernel.org/stable/c/cc98717e591a963a616fdf15ecf48eefaf45d758 https://git.kernel.org/stable/c/6d6e42e8e17f18d61327f8653479c5b5e161ae1d https://git.kernel.org/stable/c/fd9c3a47c670bec6b18f44454cea023f93b5adb3 https://git.kernel.org/stable/c/42446ca0f3570663e87183c065e0b4def52dfba2 https://git.kernel.org/stable/c/6eea6494e542a03cdf755a593b7d74f3f7c260fd https://git.kernel.org/stable/c/7561c7fbc694308da73300f036719e63e42bf0b4