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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43 Patch
- https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad Patch
- https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599 Patch
- https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 5
- CwesCWE-131NVD modified 2026-10-21 13:18
- Cpes+8 CPE criteria (now 8)NVD modified 2026-10-21 13:18
- StatusPublished → ModifiedNVD modified 2026-10-21 13:18
- CVSS5.5 (v3.1, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)NVD modified 2026-10-21 13:18
- First seenunscored · linuxNVD modified 2026-10-21 12:40
Affected (CPE criteria) 8
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*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:*:*:*:*:*:*
References 5
- https://git.kernel.org/stable/c/2c41283d94af943a05f7f2cc1a01f0c872f3cf43 Patch
- https://git.kernel.org/stable/c/58e5735d1a5373652f405a0c16e54ac04aaab0ad Patch
- https://git.kernel.org/stable/c/7081d46d32312f1a31f0e0e99c6835a394037599 Patch
- https://git.kernel.org/stable/c/e62e322ea20be78e346e4b49f9a6b9f03313af4c Patch
- https://git.kernel.org/stable/c/f8f3bb89ab677db15f9f5250c77af728f9afe995