CVE-2026-143394
Description
In the Linux kernel, the following vulnerability has been resolved:
xfrm: zero-initialise km_event in the replay-notify path
xfrm_replay_notify(), xfrm_replay_notify_bmp() and xfrm_replay_notify_esn() declare a struct km_event on the stack and initialise only its .event and .data.aevent fields, leaving .seq and .portid uninitialised. build_aevent() then builds the XFRM_MSG_NEWAE message with those fields:
nlmsg_put(skb, c->portid, c->seq, ...)
so the netlink header of a replay event carries uninitialised stack values rather than defined ones. This was confirmed at runtime rather than by inspection alone: the .seq and .portid carried in that header hold values that nothing in the replay path assigns.
The request-driven paths set these header fields from the requester (xfrm_get_ae() / xfrm_new_ae()); only the kernel-originated replay path leaves them unset. Zero-initialise the event so the header fields are 0, the correct value for a kernel-originated notification.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/58c474af3879aab539ac179dd3e891827cb482d4nvd
- git.kernel.org/stable/c/5e14088d45ca7a07d6be4912f8f7a0635d4a3fc7nvd
- git.kernel.org/stable/c/62edd883dc8b8da74b1acebab45e4895b03a1c94nvd
- git.kernel.org/stable/c/8cf8f488ebaac6a3324f26bd2d6badec2c93faa3nvd
- git.kernel.org/stable/c/9b2a11a479514b977ac8902603cc7e956188d0cdnvd
- git.kernel.org/stable/c/e35a12dffd5da67b6ca12bd23eebdd0570592205nvd
News mentions
0No linked articles in our index yet.