CVE-2026-43107
xfrm: account XFRMA_IF_ID in aevent size calculation
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: account XFRMA_IF_ID in aevent size calculation xfrm_get_ae() allocates the reply skb with xfrm_aevent_msgsize(), then build_aevent() appends attributes including XFRMA_IF_ID when x->if_id is set. xfrm_aevent_msgsize() does not include space for XFRMA_IF_ID. For states with if_id, build_aevent() can fail with -EMSGSIZE and hit BUG_ON(err < 0) in xfrm_get_ae(), turning a malformed netlink interaction into a kernel panic. Account XFRMA_IF_ID in the size calculation unconditionally and replace the BUG_ON with normal error unwinding.
INFO
Published Date :
May 6, 2026, 10:16 a.m.
Last Modified :
Nov. 11, 2026, 9: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
- Account for XFRMA_IF_ID in size calculation.
- Replace BUG_ON with error unwinding.
- Apply the provided Linux kernel patch.
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-43107.
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-43107 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-43107
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-43107 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43107 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, la siguiente vulnerabilidad ha sido resuelta: xfrm: contabilizar XFRMA_IF_ID en el cálculo del tamaño del evento xfrm_get_ae() asigna el skb de respuesta con xfrm_aevent_msgsize(), luego build_aevent() añade atributos incluyendo XFRMA_IF_ID cuando x -> if_id está establecido. xfrm_aevent_msgsize() no incluye espacio para XFRMA_IF_ID. Para estados con if_id, build_aevent() puede fallar con -EMSGSIZE y activar BUG_ON(err menor que 0) en xfrm_get_ae(), convirtiendo una interacción netlink malformada en un pánico del kernel. Contabilizar XFRMA_IF_ID en el cálculo del tamaño incondicionalmente y reemplazar el BUG_ON con un desenrollado de errores normal. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-43107', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T15:28:35.345390Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 30, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/43xxx/CVE-2026-43107.json">CVE-2026-43107</a> Added Reference https://git.kernel.org/stable/c/b7dbdc34d22f743abb2c460dfae0d69cd8a45e69 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/43xxx/CVE-2026-43107.json">CVE-2026-43107</a> Added Reference https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43 Added Reference https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad Added Reference https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599 Added Reference https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c Added Reference https://git.kernel.org/stable/c/f8f3bb89ab677db15f9f5250c77af728f9afe995 Removed Reference https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43 Removed Reference https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad Removed Reference https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599 Removed Reference https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c Removed Reference Type https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad Types: Patch Removed Reference Type https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c Types: Patch -
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': '7e6526404adedf079279aa7aa11722deaca8fe2e', 'lessThan': '2c41283d94af943a05f7f2cc1a01f0c872f3cf43', 'versionType': 'git'}, {'status': 'affected', 'version': '7e6526404adedf079279aa7aa11722deaca8fe2e', 'lessThan': 'e62e322ea20be78e346e4b49f9a6b9f03313af4c', 'versionType': 'git'}, {'status': 'affected', 'version': '7e6526404adedf079279aa7aa11722deaca8fe2e', 'lessThan': '58e5735d1a5373652f405a0c16e54ac04aaab0ad', 'versionType': 'git'}, {'status': 'affected', 'version': '7e6526404adedf079279aa7aa11722deaca8fe2e', 'lessThan': '7081d46d32312f1a31f0e0e99c6835a394037599', 'versionType': 'git'}], 'programFiles': ['net/xfrm/xfrm_user.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.19', 'versionType': 'semver'}, {'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/xfrm/xfrm_user.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 11, 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 CWE-131 Added CPE Configuration OR *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) 4.19 up to (excluding) 6.12.83 Added Reference Type kernel.org: https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 06, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: xfrm: account XFRMA_IF_ID in aevent size calculation xfrm_get_ae() allocates the reply skb with xfrm_aevent_msgsize(), then build_aevent() appends attributes including XFRMA_IF_ID when x->if_id is set. xfrm_aevent_msgsize() does not include space for XFRMA_IF_ID. For states with if_id, build_aevent() can fail with -EMSGSIZE and hit BUG_ON(err < 0) in xfrm_get_ae(), turning a malformed netlink interaction into a kernel panic. Account XFRMA_IF_ID in the size calculation unconditionally and replace the BUG_ON with normal error unwinding. Added Reference https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43 Added Reference https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad Added Reference https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599 Added Reference https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c