CVE-2026-63912 PUBLISHED

xfrm: esp: restore combined single-frag length gate

Assigner: Linux
Reserved: 19.07.2026 Published: 19.07.2026 Updated: 20.07.2026

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

xfrm: esp: restore combined single-frag length gate

The ESP out-of-place fast path appends the trailer in esp_output_head() before esp_output_tail() allocates the destination page frag. The head-side gate currently checks skb->data_len and tailen separately, but the tail code allocates a single destination frag from the combined post-trailer skb->data_len.

Reject the page-frag fast path when the combined aligned length exceeds a page. Otherwise skb_page_frag_refill() may fall back to a single page while the destination sg still spans the combined skb->data_len.

Restore this combined-length page gate for both IPv4 and IPv6.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from c075c3ea031757f8ea2d34567565b61a868c08d5 to 566295735530ee513326049b0540f32ec050bf2e (excl.)
  • affected from a583f2f3c8788bffd7fd7baeb76bd6d80543d7ea to 5d7ab86e2b6bc23054616bf6ac562013bf60af8c (excl.)
  • affected from 5bd8baab087dff657e05387aee802e70304cc813 to 36519e3d941fc99d3b52c134dbaf311f987a4708 (excl.)
  • affected from 5bd8baab087dff657e05387aee802e70304cc813 to 322e48187e0245ab2fff6fec2220b0cae677dbec (excl.)
  • affected from 5bd8baab087dff657e05387aee802e70304cc813 to b84091ceddc9f133229dceab3ccc930bf27f9cba (excl.)
  • affected from 5bd8baab087dff657e05387aee802e70304cc813 to c093468aea8277f77272a4f199b2e15e19cabb59 (excl.)
  • affected from 5bd8baab087dff657e05387aee802e70304cc813 to 65f3b3fc2347b89fe21db1e92c7681368415f095 (excl.)
  • affected from 5bd8baab087dff657e05387aee802e70304cc813 to dfa0d7b0ff1eb6b2c416b8fdb9b4f2cefba57a40 (excl.)
  • Version 2c66b0c95bb0aa7652ba1eba293d0d5993b35a38 is affected
  • Version ef6f83df1209a7d9bd1c605a62457d4c00f9179e is affected
  • Version 3defefd22ad5fbbe639b6157fb7e6311b2bf333d is affected
  • Version b657030870bb5351c5b1e84d4e9f186da6ca0496 is affected
  • affected from 5.10.113 to 5.10.259 (excl.)
  • affected from 5.15.36 to 5.15.210 (excl.)
  • affected from 4.14.288 to 4.15 (excl.)
  • affected from 4.19.252 to 4.20 (excl.)
  • affected from 5.4.205 to 5.5 (excl.)
  • affected from 5.17.5 to 5.18 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.18 is affected
  • unaffected from 0 to 5.18 (excl.)
  • unaffected from 5.10.259 to 5.10.* (incl.)
  • unaffected from 5.15.210 to 5.15.* (incl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.93 to 6.12.* (incl.)
  • unaffected from 6.18.35 to 6.18.* (incl.)
  • unaffected from 7.0.12 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References