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 9449A33A6E2 for ; Sun, 18 Oct 2026 15:28:03 +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=1792337286; cv=none; b=rDxI9dAOKbZvG8s/Ql52M5zsjZFYzlB4rRi8/eMhUSXKBBuWMzMKNMkDEk8MZbqR6YjKeqPhiBZql+H9uN8nSNdx8yiQc/3cFFsaRCRS28uHHFbOdW5tpt32MCuoQE+2w9FCcPiBmPX5Ux0pO/LVgHDM5+ij7DC88ExX/6s8jNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337286; c=relaxed/simple; bh=wfgevJ0C9r8vGkCiBXGuU3/u9j7KtajFO9c4tpghR8E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bB2eNmbVKxhvMT5qV0xvkdmYmBleZFinMWved9aVjzK5UtOMyT6iTZhTDq9bSNUOq6eFbKtmpG0t4HAWPKOhbMPDaPLPtwB4qOfqs2aN06l6gy9Ro6wQe4mUUkjZH/KHFqPhGBlnUibxVLz6yNiqr1dqnykNW7WR6dvZC/Sae+0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CVCBd1tJ; 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="CVCBd1tJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8D521F000C4; Sun, 18 Oct 2026 15:28:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337283; bh=JAUkMLQU+rKv18AusTHatlvWHMEI28kjaM/X9dKLZnE=; h=From:To:Cc:Subject:Date:Reply-To; b=CVCBd1tJ2SBvUmQONPK7zW7krl5U/Y0RzbxkP2NVKhQ9neXrEAsEBovKwW3OpOO0N SxBJ9C4cQmUj36SU+AMhtL6Vzs+Akof8JUAjqnIGWi8jGCUzO49moqP2LUH0D/FUa8 yv5LHszaqtzmqgQYUw9J5zMJroT3AnKFy++pxBkA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98554: vlan: ensure sufficient headroom in vlan_dev_hard_header() Date: Sun, 18 Oct 2026 17:16:58 +0200 Message-ID: <2026101829-CVE-2026-98554-a664@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=4084; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=46YI+2btXOgV/2rwi+Uqv/6F96b4y2T0Ho8rwigXvQk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk3s5ODfYbWol0tgp3/xmk1WbZs+//uyNifrncPFh PXxe583dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEFnUyLLiRKhDwo4792Zu3 rfdasjl9Yl9EmDLMr3TkVt8uFh0q+6hkWuxsXpsTy3dOAAA= 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: vlan: ensure sufficient headroom in vlan_dev_hard_header() Callers that only reserve ETH_HLEN or less (such as llc_alloc_frame()), or skbs allocated before dynamic device/headroom changes (e.g. toggling VLAN_FLAG_REORDER_HDR or bonding/team switching slaves), can reach vlan_dev_hard_header() with insufficient headroom and trigger skb_under_panic(). Use skb_cow_head() in vlan_dev_hard_header() when VLAN_FLAG_REORDER_HDR is not set to ensure sufficient headroom for the VLAN header(s) and the underlying device hard header. Use READ_ONCE() to read dev->hard_header_len and dev->needed_headroom as they can be updated concurrently under RTNL (e.g. in vlan_transfer_features()) while vlan_dev_hard_header() runs locklessly on the transmit path. Also avoid LL_RESERVED_SPACE(dev) here so that the extra HH_DATA_MOD alignment padding does not trigger unnecessary pskb_expand_head() reallocations on inner stacked VLAN devices after the outer VLAN header has been pushed. The Linux kernel CVE team has assigned CVE-2026-98554 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.271 with commit 55e007fc3b4d76fa4d6b4660f6904fe6ab045a1b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.222 with commit 5aca8e6a8ff6aeae358c1d9b65447aac416ace95 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.189 with commit 4ba1f57313f36a3ce6f77d593548f0c511f34aa1 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.158 with commit ca797491f0ae4bfde9039f79f6f1ed7781c9110f Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.112 with commit cfba0f45553de2b803059e3d539a1e418df24da8 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.55 with commit c7ee4bea64f559ea8e03260014775b64c720cb5b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2.9 with commit 90d51095371d96747f45bbd8504edf6513e039ef Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3-rc5 with commit cd5dd68267c4238795fadaf02b3575ca3f8a6500 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-98554 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/8021q/vlan_dev.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/55e007fc3b4d76fa4d6b4660f6904fe6ab045a1b https://git.kernel.org/stable/c/5aca8e6a8ff6aeae358c1d9b65447aac416ace95 https://git.kernel.org/stable/c/4ba1f57313f36a3ce6f77d593548f0c511f34aa1 https://git.kernel.org/stable/c/ca797491f0ae4bfde9039f79f6f1ed7781c9110f https://git.kernel.org/stable/c/cfba0f45553de2b803059e3d539a1e418df24da8 https://git.kernel.org/stable/c/c7ee4bea64f559ea8e03260014775b64c720cb5b https://git.kernel.org/stable/c/90d51095371d96747f45bbd8504edf6513e039ef https://git.kernel.org/stable/c/cd5dd68267c4238795fadaf02b3575ca3f8a6500