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 5FB4137E5EA for ; Sun, 18 Oct 2026 15:30:08 +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=1792337413; cv=none; b=Vo3KavaxAd/sWHK1QKezT4BOg4Z1hnuHeTLHQ9Gki0NgDor+9M6li9/rKSa6tYcnUFXSzrLeW829UWu44xmtukrMkwNqH4tFlX2bUF14iCXMAhOHVbKSKLgMkGiEN1GgqNADnD70z3SfcKwxPqQV/jaEXkKhVjlEt8wz3RjMUdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337413; c=relaxed/simple; bh=KDFSEmaXtAKWQa7F2sA97BhfE8bIM2qcWwN46hT+8VQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UUBO0g6fEFTvIVHs1WUXRJyahkmDI2jU3WN27bYEyuxE+LykHq9WdXRHrwYfDB9/wm2B1Cw2+BRjecsfSZMDKIiBE1q+iYK13v9Kmt48b7dprXQC81ixZk1ZVKx+tmw82eRoN5IUayGeQ7XkO/cr+/bsg4WAmvjzCUo06pRx8j0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rq5ROYMv; 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="rq5ROYMv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 721571F000C8; Sun, 18 Oct 2026 15:30:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337408; bh=IHvhFK6yhqYpc0yCT7NriR2LX010sQ3ta62ninwYhkQ=; h=From:To:Cc:Subject:Date:Reply-To; b=rq5ROYMv0/QHXtegKOI+l+rMqxiqQDV3hkRPHvb+zIyT/xppqU2d0Sxl+jLUC+eLs VnOwRnv4Qaf+drtkvGCukHlKwBA4BW2Ndpt0oAVvyilucV6AXxGH5UjiVqjK2TTpof 4c5h6WdeCUBBUmNkH7bfHxd+vsTPmxqD7cRvrXqw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98568: vxlan: use one headroom snapshot for neighbour replies Date: Sun, 18 Oct 2026 17:17:12 +0200 Message-ID: <2026101831-CVE-2026-98568-885e@gregkh> X-Mailer: git-send-email 2.56.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=3288; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=drMH6h5ATgRn9VVLk5EbJz5SEmxaszHFNqilrMuShOM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk2uUK7L8Vv08pFOqaID+/v4W8bthwXcTH3PHjJdf fzO967dHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRu18Y5nuVTj3EL2XZeeU9 x2QOH5e+9+1/bBjmh6T/VLmwedq3ByohTHyK/2pm/MmfBAA= 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: use one headroom snapshot for neighbour replies vxlan_na_create() samples LL_RESERVED_SPACE() to size the reply skb and then samples it again to reserve headroom. A concurrent vxlan_changelink() can update needed_headroom between the two reads, creating a TOCTOU race. The second value can exceed the allocation and make the Ethernet header write out of bounds. The race is reproducible on the unpatched kernel. It occurred when vxlan_na_create() generated a neighbour reply while vxlan_changelink() changed the link headroom. KASAN caught a four-byte write two bytes beyond a 704-byte skbuff_small_head allocation. Snapshot the headroom once and use that value for both allocation and reservation. The Linux kernel CVE team has assigned CVE-2026-98568 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.6.158 with commit 45a67662bf8ce3aa5643accf98d328dfbb47eaf6 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.12.112 with commit 315d42ca39f69846662961c25dcf2bb07c350d14 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 6.18.55 with commit a3c5eb6e382dd426a5e7eb08608897ed57167ff7 Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 7.2.9 with commit ff022fd9d0f0282c575e11778b96bd1b637503eb Issue introduced in 3.14 with commit 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa and fixed in 7.3-rc5 with commit 481506a756dcd828ef42391cb08f38d8d96d38fc 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-98568 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/45a67662bf8ce3aa5643accf98d328dfbb47eaf6 https://git.kernel.org/stable/c/315d42ca39f69846662961c25dcf2bb07c350d14 https://git.kernel.org/stable/c/a3c5eb6e382dd426a5e7eb08608897ed57167ff7 https://git.kernel.org/stable/c/ff022fd9d0f0282c575e11778b96bd1b637503eb https://git.kernel.org/stable/c/481506a756dcd828ef42391cb08f38d8d96d38fc