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

xfrm: nat_keepalive: avoid double free on send error

nat_keepalive_send() frees the keepalive skb whenever the IPv4 or IPv6
send helper reports an error.

That cleanup is only correct before the skb is handed to the output
path. Once ip_build_and_send_pkt() or ip6_xmit() takes ownership, the
networking stack may already have consumed the skb before returning an
error, so freeing it again is unsafe.

Handle the pre-handoff failure cases inside nat_keepalive_send_ipv4()
and nat_keepalive_send_ipv6(), where the caller still owns the skb, and
keep nat_keepalive_send() responsible only for family dispatch and the
unsupported-family cleanup path.
Published: 2026-08-15
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from a double‑free bug in the Linux kernel's NAT keep‑alive implementation. When nat_keepalive_send() receives an error after a packet has already been handed to the output path, the same socket buffer (skb) is freed twice. This undefined behavior can corrupt kernel memory and trigger a crash, resulting in a denial‑of‑service or potential escalation of privileges.

Affected Systems

The bug affects any Linux kernel that contains the nat_keepalive_send interface for IPv4 and IPv6, which is present in all current Linux releases. No specific version numbers are listed in the advisory; therefore all kernel versions prior to the patch are potentially vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 9.8, indicating critical severity, while the EPSS score is below 1 % and it is not included in CISA's KEV catalog. The likely attack vector is inferred to be an adversary that can trigger a send error in the NAT path, such as by manipulating NAT helper traffic or crafting packets that cause the helper to fail. Because this requires interaction with the kernel networking stack, remote exploitation is not guaranteed without additional privileges or a flaw that allows arbitrary packet injection. Nevertheless, the potential for kernel crash and memory corruption warrants immediate action.

Generated by OpenCVE AI on August 22, 2026 at 10:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version in which the double‑free bug has been fixed.
  • If a timely kernel upgrade cannot be performed, disable NAT keep‑alive or block traffic that would trigger nat_keepalive_send in the firewall.
  • Monitor kernel logs for unexpected panics or memory corruption and investigate if they are related to NAT traffic.

Generated by OpenCVE AI on August 22, 2026 at 10:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

threat_severity

Important


Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfrm: nat_keepalive: avoid double free on send error nat_keepalive_send() frees the keepalive skb whenever the IPv4 or IPv6 send helper reports an error. That cleanup is only correct before the skb is handed to the output path. Once ip_build_and_send_pkt() or ip6_xmit() takes ownership, the networking stack may already have consumed the skb before returning an error, so freeing it again is unsafe. Handle the pre-handoff failure cases inside nat_keepalive_send_ipv4() and nat_keepalive_send_ipv6(), where the caller still owns the skb, and keep nat_keepalive_send() responsible only for family dispatch and the unsupported-family cleanup path.
Title xfrm: nat_keepalive: avoid double free on send error
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:40:47.767Z

Reserved: 2026-08-09T03:40:39.908Z

Link: CVE-2026-72137

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:31.223

Modified: 2026-08-17T06:18:13.583

Link: CVE-2026-72137

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72137 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T10:15:04Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle