Junglewise Threat Intelligence

CVE-2026-63919: Linux Kernel use-after-free in XFRM transport reinjection

CVE-2026-63919 · Severity: info · Published 2026-07-19

Technologies: Linux. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's networking subsystem (XFRM) that could lead to system instability or crashes. The issue occurs when the system handles certain types of encrypted network traffic and fails to properly track the lifetime of a network namespace, potentially leading to a use-after-free scenario. This could impact the availability of the system or be used to disrupt network operations.

Technical details

A vulnerability in the Linux kernel's XFRM input processing (net/xfrm/xfrm_input.c) stems from a failure to increment the reference count of a network namespace (netns) pointer stored in the sk_buff control block (skb->cb). During deferred transport-mode reinjection, the pointer is used by xfrm_trans_reinject() after the work is queued; if the namespace is torn down before the callback executes, a use-after-free occurs. The fix introduces the use of maybe_get_net() when queueing work and put_net() upon completion to ensure the namespace remains valid. This issue affects kernels that introduced xfrm_trans_queue_net (starting around version 5.6).

Affected products

  • Linux Linux 5.6 to 6.9.x

Timeline

  • 2026-07-19: disclosed
  • 2026-06-19: patched

References