# CVE-2026-63911: xfrm: iptfs: reset runtime state when cloning SAs

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:16.496Z
- Modified: 2026-10-30T14:29:33.557Z
- Assigned by: Linux

## Description

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

xfrm: iptfs: reset runtime state when cloning SAs

iptfs_clone_state() clones the IPTFS mode data with kmemdup(). This
copies runtime objects which must not be shared with the original SA,
including the embedded sk_buff_head, hrtimers, spinlock, and in-flight
reassembly/reorder state.

If xfrm_state_migrate() fails after clone_state() but before the later
init_state() call has reinitialized those fields, the cloned state can be
destroyed by xfrm_state_gc_task() with list and timer state copied from the
original SA. With queued packets this lets the clone splice and free skbs
owned by the original IPTFS queue, leading to use-after-free and
double-free reports in iptfs_destroy_state() and skb release paths.

Reinitialize the clone's runtime state before publishing it through
x->mode_data. Because clone_state() now publishes a destroyable mode_data
object before init_state(), take the mode callback module reference there.
Avoid taking it again from __iptfs_init_state() for the same object.

(As written by CVE List.)

## Affected

- Linux Linux: from 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 before 9327252e04626d4bb02ca8c0c108fbe8eabf0c5a; from 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 before dfb9f6cbfa9826655a49698cf90eb800fce2178e; from 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 before 7f83d174073234839aea176f265e517e0d50a1d2; 6.14 (not affected: before 6.14; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.14 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/9327252e04626d4bb02ca8c0c108fbe8eabf0c5a> (patch)
- <https://git.kernel.org/stable/c/dfb9f6cbfa9826655a49698cf90eb800fce2178e> (patch)
- <https://git.kernel.org/stable/c/7f83d174073234839aea176f265e517e0d50a1d2> (patch)

## Sources

- CVE List: [CVE-2026-63911](https://www.cve.org/CVERecord?id=CVE-2026-63911), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-63911](https://nvd.nist.gov/vuln/detail/CVE-2026-63911), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-63911 · Whole record: https://cve.day/CVE-2026-63911.json · Rebuilt by cve.day 2026-11-25T22:59:28.818Z
