CVE-2026-43107

xfrm: account XFRMA_IF_ID in aevent size calculation

MEDIUM
5.5
CVSS Score
Published: May 6, 2026 at 07:40 AM UTC
Updated: October 30, 2026 at 01:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.19 ≤ v < 6.12.836.13 ≤ v < 6.18.246.19 ≤ v < 6.19.144.197.07.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc67.0 rc77e6526404adedf079279aa7aa11722deaca8fe2e
Vendor states this is fixed in 2c41283d94af943a05f7f2cc1a01f0c872f3cf43 (fixed)
Vendor states this is fixed in 58e5735d1a5373652f405a0c16e54ac04aaab0ad (fixed)
Vendor states this is fixed in 7081d46d32312f1a31f0e0e99c6835a394037599 (fixed)
Vendor states this is fixed in e62e322ea20be78e346e4b49f9a6b9f03313af4c (fixed)
Vendor states this is fixed in 4.19 (unaffected)
Vendor states this is fixed in 6.12.83 (unaffected)
Vendor states this is fixed in 6.18.24 (unaffected)
Vendor states this is fixed in 6.19.14 (unaffected)
Vendor states this is fixed in 6.6.160 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-131

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card