CVEvulnerability

CVE-2026-43107

5.5 MEDIUM Published 2026-05-06 Modified 2026-10-21 Official page ↗
Status
Modified
Published
2026-05-06
Last modified
2026-10-21
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-131

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 configurations

• linux linux kernel (>= 4.19 < 6.12.83) • linux linux kernel (>= 6.13 < 6.18.24) • linux linux kernel (>= 6.19 < 6.19.14) • linux linux kernel 7.0

Related

Weakness · CWE (1)

  • CWE-131 Incorrect Calculation of Buffer Size weakness

References