CVE-2026-31684
net: sched: act_csum: validate nested VLAN headers
Description
In the Linux kernel, the following vulnerability has been resolved: net: sched: act_csum: validate nested VLAN headers tcf_csum_act() walks nested VLAN headers directly from skb->data when an skb still carries in-payload VLAN tags. The current code reads vlan->h_vlan_encapsulated_proto and then pulls VLAN_HLEN bytes without first ensuring that the full VLAN header is present in the linear area. If only part of an inner VLAN header is linearized, accessing h_vlan_encapsulated_proto reads past the linear area, and the following skb_pull(VLAN_HLEN) may violate skb invariants. Fix this by requiring pskb_may_pull(skb, VLAN_HLEN) before accessing and pulling each nested VLAN header. If the header still is not fully available, drop the packet through the existing error path.
INFO
Published Date :
April 25, 2026, 9:16 a.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Validate nested VLAN headers are fully present before access.
- Use pskb_may_pull to ensure header availability.
- Drop packets if headers are not available.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31684.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31684 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31684
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31684 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31684 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: sched: act_csum: validar cabeceras VLAN anidadas tcf_csum_act() recorre las cabeceras VLAN anidadas directamente desde skb -> data cuando un skb aún lleva etiquetas VLAN en la carga útil. El código actual lee vlan -> h_vlan_encapsulated_proto y luego extrae VLAN_HLEN bytes sin asegurar primero que la cabecera VLAN completa esté presente en el área lineal. Si solo parte de una cabecera VLAN interna se linealiza, acceder a h_vlan_encapsulated_proto lee más allá del área lineal, y la siguiente llamada a skb_pull(VLAN_HLEN) puede violar las invariantes de skb. Solucione esto requiriendo pskb_may_pull(skb, VLAN_HLEN) antes de acceder y extraer cada cabecera VLAN anidada. Si la cabecera aún no está completamente disponible, descarte el paquete a través de la ruta de error existente. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 06, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0410c619e86551677fb79887a38eccad3f5a0725 Added Reference https://git.kernel.org/stable/c/3d165d975305cf76ff0b10a3c798fb31e5f5f9a5 Added Reference https://git.kernel.org/stable/c/46c07ad50fa2f4ba7663ee1b72b75ad7ad45cf09 Added Reference https://git.kernel.org/stable/c/886469b6455611a511aa6013e957e15e50577513 Added Reference https://git.kernel.org/stable/c/a69738efea0996d05a3c7d2178551b891744df1b Added Reference https://git.kernel.org/stable/c/c842743d073bdd683606cb414eb0ca84465dd834 Added Reference https://git.kernel.org/stable/c/eb3765b90eb8f2a3d6310a80c14a9e57ec4267a2 Added Reference https://git.kernel.org/stable/c/ec4930979b3f7bbeb7af5744599fc6603a4dba62 Removed Reference https://git.kernel.org/stable/c/0410c619e86551677fb79887a38eccad3f5a0725 Removed Reference https://git.kernel.org/stable/c/3d165d975305cf76ff0b10a3c798fb31e5f5f9a5 Removed Reference https://git.kernel.org/stable/c/46c07ad50fa2f4ba7663ee1b72b75ad7ad45cf09 Removed Reference https://git.kernel.org/stable/c/886469b6455611a511aa6013e957e15e50577513 Removed Reference https://git.kernel.org/stable/c/a69738efea0996d05a3c7d2178551b891744df1b Removed Reference https://git.kernel.org/stable/c/c842743d073bdd683606cb414eb0ca84465dd834 Removed Reference https://git.kernel.org/stable/c/eb3765b90eb8f2a3d6310a80c14a9e57ec4267a2 Removed Reference https://git.kernel.org/stable/c/ec4930979b3f7bbeb7af5744599fc6603a4dba62 Removed Reference Type https://git.kernel.org/stable/c/3d165d975305cf76ff0b10a3c798fb31e5f5f9a5 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/a69738efea0996d05a3c7d2178551b891744df1b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c842743d073bdd683606cb414eb0ca84465dd834 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/eb3765b90eb8f2a3d6310a80c14a9e57ec4267a2 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ec4930979b3f7bbeb7af5744599fc6603a4dba62 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-31684', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T15:24:14.457468Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': '0410c619e86551677fb79887a38eccad3f5a0725', 'versionType': 'git'}, {'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': '886469b6455611a511aa6013e957e15e50577513', 'versionType': 'git'}, {'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': '46c07ad50fa2f4ba7663ee1b72b75ad7ad45cf09', 'versionType': 'git'}, {'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': 'eb3765b90eb8f2a3d6310a80c14a9e57ec4267a2', 'versionType': 'git'}, {'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': 'a69738efea0996d05a3c7d2178551b891744df1b', 'versionType': 'git'}, {'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': 'ec4930979b3f7bbeb7af5744599fc6603a4dba62', 'versionType': 'git'}, {'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': '3d165d975305cf76ff0b10a3c798fb31e5f5f9a5', 'versionType': 'git'}, {'status': 'affected', 'version': '2ecba2d1e45b24620a7c3df9531895cf68d5dec6', 'lessThan': 'c842743d073bdd683606cb414eb0ca84465dd834', 'versionType': 'git'}, {'status': 'affected', 'version': '3764bfae5056e95617b6ee074129297e11710886', 'versionType': 'git'}, {'status': 'affected', 'version': '4.19.99', 'lessThan': '4.20', 'versionType': 'semver'}], 'programFiles': ['net/sched/act_csum.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.136', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.83', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.24', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.14', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/sched/act_csum.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 01, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0410c619e86551677fb79887a38eccad3f5a0725 Added Reference https://git.kernel.org/stable/c/46c07ad50fa2f4ba7663ee1b72b75ad7ad45cf09 Added Reference https://git.kernel.org/stable/c/886469b6455611a511aa6013e957e15e50577513 -
Initial Analysis by [email protected]
May. 06, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19.99 up to (excluding) 4.20 *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.83 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 6.6.136 Added Reference Type kernel.org: https://git.kernel.org/stable/c/3d165d975305cf76ff0b10a3c798fb31e5f5f9a5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a69738efea0996d05a3c7d2178551b891744df1b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c842743d073bdd683606cb414eb0ca84465dd834 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/eb3765b90eb8f2a3d6310a80c14a9e57ec4267a2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ec4930979b3f7bbeb7af5744599fc6603a4dba62 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/eb3765b90eb8f2a3d6310a80c14a9e57ec4267a2 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 25, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: sched: act_csum: validate nested VLAN headers tcf_csum_act() walks nested VLAN headers directly from skb->data when an skb still carries in-payload VLAN tags. The current code reads vlan->h_vlan_encapsulated_proto and then pulls VLAN_HLEN bytes without first ensuring that the full VLAN header is present in the linear area. If only part of an inner VLAN header is linearized, accessing h_vlan_encapsulated_proto reads past the linear area, and the following skb_pull(VLAN_HLEN) may violate skb invariants. Fix this by requiring pskb_may_pull(skb, VLAN_HLEN) before accessing and pulling each nested VLAN header. If the header still is not fully available, drop the packet through the existing error path. Added Reference https://git.kernel.org/stable/c/3d165d975305cf76ff0b10a3c798fb31e5f5f9a5 Added Reference https://git.kernel.org/stable/c/a69738efea0996d05a3c7d2178551b891744df1b Added Reference https://git.kernel.org/stable/c/c842743d073bdd683606cb414eb0ca84465dd834 Added Reference https://git.kernel.org/stable/c/ec4930979b3f7bbeb7af5744599fc6603a4dba62