Thread (2 messages) 2 messages, 2 authors, 4d ago

[PATCH] xfrm: account XFRMA_IF_ID and XFRMA_OFFLOAD_DEV in msgsize helpers

flat view
COOLING4d

From: Adrian Martinez Garcia <hidden>
Date: 2026-10-11 08:06:54
Also in: lkml

Hi,

The xfrm_acquire_msgsize(), xfrm_polexpire_msgsize() and xfrm_expire_msgsize()
helpers do not account for the XFRMA_IF_ID (8 B) and XFRMA_OFFLOAD_DEV
(12 B) attributes that their sibling builders emit. The deficit of up to
20 B can trigger BUG_ON(err < 0) in the callers -> latent kernel panic.

This is a sibling of CVE-2026-43107 (fix 7081d46d32 only corrected the
aevent pair; these three pairs were left unfixed).

Fixes: 7e6526404ade
Signed-off-by: Adrian Martinez <redacted>

I used Claude Code to help with the audit.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help