CVE-2026-53363: xfrm: iptfs: preserve shared-frag marker in iptfs_consume_frags()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
xfrm: iptfs: preserve shared-frag marker in iptfs_consume_frags()
iptfs_consume_frags() transfers paged fragments from one socket buffer to another but fails to propagate the SKBFL_SHARED_FRAG flag. This is the same class of bug that was fixed in skb_try_coalesce() for
CVE-2026-46300: when fragments backed by read-only page-cache pages are merged, the marker indicating their shared nature must be preserved so that ESP can decide correctly whether in-place encryption is safe.
Apply the same two-line fix used in skb_try_coalesce() to iptfs_consume_frags().
The Linux kernel CVE team has assigned CVE-2026-53363 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit b96ba312e21c9b7ac1526829b9640ddc06695c0b and fixed in 6.18.36 with commit dd66f7f6e360ee82cd905517726f8e9091265de5 Issue introduced in 6.14 with commit b96ba312e21c9b7ac1526829b9640ddc06695c0b and fixed in 7.0.13 with commit c885d111ed9f5a0a1f3cc4e87a50db6518abaa6c Issue introduced in 6.14 with commit b96ba312e21c9b7ac1526829b9640ddc06695c0b and fixed in 7.1 with commit e9096a5a170e7ecd6467bc2e08668ec39897cda7
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53363
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/xfrm/xfrm_iptfs.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/dd66f7f6e360ee82cd905517726f8e9091265de5 https://git.kernel.org/stable/c/c885d111ed9f5a0a1f3cc4e87a50db6518abaa6c https://git.kernel.org/stable/c/e9096a5a170e7ecd6467bc2e08668ec39897cda7