Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A61D53C278A for ; Fri, 1 May 2026 14:17:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645052; cv=none; b=px/8Nkqscq7/znsnEGbzPZCQURGiqA0RSQln0O12uKJSfmtMZfLMM8oZ5pcc50zQglEG3rqUZj1ZwgoZ/ZaDfokfcAKTpiX0M8vI7iFY28VGUU1TN4m7YFLoDPSfeRSI+ll8SNcopZIpf0OaS6Y1AK0C1KN12OhrkmSN19M+Alc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645052; c=relaxed/simple; bh=PYKE1S9TIqesZq8KXaUhmBba6a33darGlnjqoHLhWe0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=copiTFqOZ/MixZsiNxLdclIpXr+pbOMrMyG/EBpPHcxFDMJ/+OmouT1zy8fvC9M5dKwalfXDKMRhW1KhQFV1V3CNj9S0bTsJfjC8C7zw2h9F5XBDzcrKwpgGU+QbjXUvrX1ZmYMHgUlr64L2AnCVTUWnzMQa9BHaL3jG2j55rDs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=D3+xUbUS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="D3+xUbUS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42B35C2BCB4; Fri, 1 May 2026 14:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645052; bh=PYKE1S9TIqesZq8KXaUhmBba6a33darGlnjqoHLhWe0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=D3+xUbUSjsAaiS2GcqNf3Ni5dGqMMrctwqcajg0q6ugatAqpMouPfuFp8mkFg5uHI WBqsrbFtPL18IGcjqzVOv9VS6Yv5sp3R4iPdE2ddcMjzBoYNmFjCDf6monXYANzlHN x9SaDRCGU8xX6HBubSPKFMFqYV8167yaC+DR+VEk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31738: vxlan: validate ND option lengths in vxlan_na_create Date: Fri, 1 May 2026 16:14:49 +0200 Message-ID: <2026050138-CVE-2026-31738-7d4e@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=3679; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xAIrN3POmOTJ7S/2oX1xNTLoGVSnWlgQyPOuA/3jYa4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftvo7n3t8/F/XtA6bfu6rLIeZLqe5cpn92it17qZkS Etd732rjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIdQ7DXPlmGU7/9xmPw3Un bFvy3mzyAW9DVoYFk41eBe/pD+ifGSDAVNY8dfJjzx0rAA== 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: vxlan: validate ND option lengths in vxlan_na_create vxlan_na_create() walks ND options according to option-provided lengths. A malformed option can make the parser advance beyond the computed option span or use a too-short source LLADDR option payload. Validate option lengths against the remaining NS option area before advancing, and only read source LLADDR when the option is large enough for an Ethernet address. The Linux kernel CVE team has assigned CVE-2026-31738 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 5.10.253 with commit 901c1dd3bab2955d7e664f914c374c8c3ac2b958 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 5.15.203 with commit e476745917a1e288eb15e7ff49d286a86a4861d3 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.1.168 with commit 2029712fb2c87e9a8c75094906f2ee29bf08c500 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.6.134 with commit 602596c69a70e50d9ab8c6ae0290a01f88229dd7 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.12.81 with commit de20d2e3b9179d132f5f5b44e490d7c916c6321b Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.18.22 with commit eddfce70a6f3107d1679b0c2fcbeb96b593bd679 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.19.12 with commit b69c4236255bd8de16cd876e58c6f0867d1d78b1 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 7.0 with commit afa9a05e6c4971bd5586f1b304e14d61fb3d9385 Issue introduced in 3.12.18 with commit d8be18c52dbc94989f6d74637b731af39cd3d902 Issue introduced in 3.13.10 with commit 3927dace523706cc00f808520eaf2125dd7c07b5 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-31738 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/vxlan/vxlan_core.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/901c1dd3bab2955d7e664f914c374c8c3ac2b958 https://git.kernel.org/stable/c/e476745917a1e288eb15e7ff49d286a86a4861d3 https://git.kernel.org/stable/c/2029712fb2c87e9a8c75094906f2ee29bf08c500 https://git.kernel.org/stable/c/602596c69a70e50d9ab8c6ae0290a01f88229dd7 https://git.kernel.org/stable/c/de20d2e3b9179d132f5f5b44e490d7c916c6321b https://git.kernel.org/stable/c/eddfce70a6f3107d1679b0c2fcbeb96b593bd679 https://git.kernel.org/stable/c/b69c4236255bd8de16cd876e58c6f0867d1d78b1 https://git.kernel.org/stable/c/afa9a05e6c4971bd5586f1b304e14d61fb3d9385