xfrm: zero-initialise km_event in the replay-notify path
Summary
| CVE | CVE-2026-143394 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:33 UTC |
| Updated | 2026-12-03 10:18:33 UTC |
| 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. |
Risk And Classification
EPSS: 0.002150000 probability, percentile 0.126220000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 62edd883dc8b8da74b1acebab45e4895b03a1c94 git | Not specified |
| CNA | Linux | Linux | affected f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 8cf8f488ebaac6a3324f26bd2d6badec2c93faa3 git | Not specified |
| CNA | Linux | Linux | affected f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 58c474af3879aab539ac179dd3e891827cb482d4 git | Not specified |
| CNA | Linux | Linux | affected f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 5e14088d45ca7a07d6be4912f8f7a0635d4a3fc7 git | Not specified |
| CNA | Linux | Linux | affected f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 9b2a11a479514b977ac8902603cc7e956188d0cd git | Not specified |
| CNA | Linux | Linux | affected f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 e35a12dffd5da67b6ca12bd23eebdd0570592205 git | Not specified |
| CNA | Linux | Linux | affected 2.6.17 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.17 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.276 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.227 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/62edd883dc8b8da74b1acebab45e4895b03a1c94 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/8cf8f488ebaac6a3324f26bd2d6badec2c93faa3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e35a12dffd5da67b6ca12bd23eebdd0570592205 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5e14088d45ca7a07d6be4912f8f7a0635d4a3fc7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/58c474af3879aab539ac179dd3e891827cb482d4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9b2a11a479514b977ac8902603cc7e956188d0cd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.