Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143394

xfrm: zero-initialise km_event in the replay-notify path

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 to < 62edd883dc8b8da74b1acebab45e4895b03a1c94affected
  • f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 to < 8cf8f488ebaac6a3324f26bd2d6badec2c93faa3affected
  • f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 to < 58c474af3879aab539ac179dd3e891827cb482d4affected
  • f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 to < 5e14088d45ca7a07d6be4912f8f7a0635d4a3fc7affected
  • f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 to < 9b2a11a479514b977ac8902603cc7e956188d0cdaffected
  • f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 to < e35a12dffd5da67b6ca12bd23eebdd0570592205affected

Linux Linux

Default version status: affected

  • 2.6.17affected
  • 0 to < 2.6.17unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References