CVE-2026-143394: xfrm: zero-initialise km_event in the replay-notify path

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

xfrmreplaynotify(), xfrmreplaynotifybmp() and xfrmreplaynotifyesn() declare a struct kmevent on the stack and initialise only its .event and .data.aevent fields, leaving .seq and .portid uninitialised. buildaevent() then builds the XFRMMSGNEWAE message with those fields:

nlmsgput(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 (xfrmgetae() / xfrmnewae()); 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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Zero-initialise the stack-allocated struct km_event in xfrm_replay_notify(), xfrm_replay_notify_bmp(), and xfrm_replay_notify_esn() so replay-event header fields such as .seq and .portid are defined.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:22 AM
Data Sourced
via MITRE·09:22 AM
Description
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel XFRM replay-notification path are affected. The issue occurs when the kernel generates an XFRM_MSG_NEWAE replay event; request-driven XFRM paths initialize the relevant netlink header fields and are not the affected path.

2

What must occur for the uninitialized values to be exposed?

The kernel must emit a replay notification through xfrm_replay_notify(), xfrm_replay_notify_bmp(), or xfrm_replay_notify_esn(). In that kernel-originated path, the netlink message header is built using stack values for sequence number and port ID that were not assigned.

3

What can be done if the fix cannot be applied immediately?

The provided data does not identify a configuration workaround. Mitigation therefore requires avoiding or limiting reliance on XFRM replay notifications until a kernel containing the zero-initialization fix is deployed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203