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 CEE42399D00 for ; Sun, 19 Jul 2026 14:18:46 +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=1784470735; cv=none; b=YallG2Ztyf1w+uQfrfwembeu3GMJnn3KNb4Isx0aguwKWxWd6xIZRjlMGyoyUsjIoemM0SlHMik541bs1/YsVsPpFWSh8o3zM5VXmZd7IATcShQskpl6PE1SWDaqqjJWMcCflhxQ7H8sE1YNNi/aD5uyBqIXfqkaaKVq8Csx6wM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470735; c=relaxed/simple; bh=D+rWyaH+SgEMFuAR7pl4/YypqYW7ea2PgBRkrmNNjTE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kziBTkLQUxgGIyZUe4RnBgo6lWqw5KTqtOwst3Rds2Hgt2fhKHfAoVyp936TvJlk8wibRSDaaG96n2b+P0r53IvrngrD1BQuvqlZtHAh1v5aKnN1kGb+RUil6k0rS2zp0Or+fI9RffMh4o0pm1gKdHyB2tSRxdgOlY1zo1wah/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Pp1CKPH9; 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="Pp1CKPH9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C491F1F000E9; Sun, 19 Jul 2026 14:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784470725; bh=Evlouo31BtP3tT6Baz1UTPIMSrcXEAz41NyDmTGvFyA=; h=From:To:Cc:Subject:Date:Reply-To; b=Pp1CKPH9bv4N7TJi0UHJQ02P+/dIWDcKGLfVBJjXZI6hRX7QQX/S2foOqa0L4zDF2 YblFpjVHHp/AKAi3o/szLuaGYK1P7zo2aJ35PzaW4ScddEtLAviJTaRUxMm1lNEvyS 2JKd727/QYOY0DNmaJKTniB7Tl0lRuigakeRm3m0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63868: net: garp: fix unsigned integer underflow in garp_pdu_parse_attr Date: Sun, 19 Jul 2026 16:17:13 +0200 Message-ID: <2026071914-CVE-2026-63868-b5b7@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=3913; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JCozpp/0cmn1GxnkX9ALLhGvlxsUuMd9OB2VrT1bhko=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxd7L+/na1Lv6yKnOx8YJklUl7Ergk/07ZwClwcO3Uj tApOXESHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRsxkM8wNvqas87gv7Ye1/ 8unFdoXm1X/OXWaY78hdyXLT+qVElNp+nxsW5n7GC2e0AQA= 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: garp: fix unsigned integer underflow in garp_pdu_parse_attr The receive-side GARP attribute parser computes dlen with reversed operands: dlen = sizeof(*ga) - ga->len; ga->len is the on-wire attribute length and includes the GARP attribute header. For normal attributes with data, ga->len is larger than sizeof(*ga), so the subtraction underflows in unsigned arithmetic. The resulting value is later passed to garp_attr_lookup(), whose length argument is u8. After truncation, the parsed data length usually no longer matches the length stored for locally registered attributes, so received Join/Leave events are ignored. This breaks the GARP receive path for common attributes, such as GVRP VLAN registration attributes. Compute the data length as the attribute length minus the header length. The Linux kernel CVE team has assigned CVE-2026-63868 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 5.10.259 with commit 29f28172afb2ae7b31e9bf3e978396f20b381688 Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 5.15.210 with commit 973cf7c433d27f4d9556d0b7c332543be7ed7a6e Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 6.1.176 with commit d8dcd14aa886b8effd83022c550669f4f262854b Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 6.6.143 with commit 74e02121be1dcc0efcd56ebdf0171d6129105659 Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 6.12.94 with commit d4c86ea09ae3e63ee5aa86e941fcc38e0e39874a Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 6.18.36 with commit 04e22fefac1af3e32f245e9045382348773b5d59 Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 7.0.13 with commit a11f1a671b1361f0f1278dc0041374f2730df73f Issue introduced in 2.6.27 with commit eca9ebac651f774d8b10fce7c5d173c3c3d3394f and fixed in 7.1 with commit 16e408e607a94b646fb14a2a98422c6877ae4b3c 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-63868 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/garp.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/29f28172afb2ae7b31e9bf3e978396f20b381688 https://git.kernel.org/stable/c/973cf7c433d27f4d9556d0b7c332543be7ed7a6e https://git.kernel.org/stable/c/d8dcd14aa886b8effd83022c550669f4f262854b https://git.kernel.org/stable/c/74e02121be1dcc0efcd56ebdf0171d6129105659 https://git.kernel.org/stable/c/d4c86ea09ae3e63ee5aa86e941fcc38e0e39874a https://git.kernel.org/stable/c/04e22fefac1af3e32f245e9045382348773b5d59 https://git.kernel.org/stable/c/a11f1a671b1361f0f1278dc0041374f2730df73f https://git.kernel.org/stable/c/16e408e607a94b646fb14a2a98422c6877ae4b3c