Skip to contentSkip to conversation

CVE-2026-43503: net: skbuff: preserve shared-frag marker during coalescing

DISCUSSION Greg Kroah-Hartman 3 participants 3 messages May 23 – Jun 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

net: skbuff: preserve shared-frag marker during coalescing

skb_try_coalesce() can attach paged frags from @from to @to. If @from has SKBFL_SHARED_FRAG set, the resulting @to skb can contain the same externally-owned or page-cache-backed frags, but the shared-frag marker is currently lost.

That breaks the invariant relied on by later in-place writers. In particular, ESP input checks skb_has_shared_frag() before deciding whether an uncloned nonlinear skb can skip skb_cow_data(). If TCP receive coalescing has moved shared frags into an unmarked skb, ESP can see skb_has_shared_frag() as false and decrypt in place over page-cache backed frags.

Propagate SKBFL_SHARED_FRAG when skb_try_coalesce() transfers paged frags. The tailroom copy path does not need the marker because it copies bytes into @to's linear data rather than transferring frag descriptors.

The Linux kernel CVE team has assigned CVE-2026-43503 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.9 with commit cef401de7be8c4e155c6746bfccf721a4fa5fab9 and fixed in 5.10.257 with commit 3599e6b3cc1ada96883d496a50a210d3afbb6987
	Issue introduced in 3.9 with commit cef401de7be8c4e155c6746bfccf721a4fa5fab9 and fixed in 5.15.208 with commit 2f2b16022a2e10ca7bccfb98db5ed2ec0f72641c
	Issue introduced in 3.9 with commit cef401de7be8c4e155c6746bfccf721a4fa5fab9 and fixed in 6.1.174 with commit 9d3e5fd19fe1063bf607219e8562fbd567b8e8d5
	Issue introduced in 3.9 with commit cef401de7be8c4e155c6746bfccf721a4fa5fab9 and fixed in 6.6.141 with commit 78bf6b6bb19541d19fbda6242e7cfe2c682763c0
	Issue introduced in 3.9 with commit cef401de7be8c4e155c6746bfccf721a4fa5fab9 and fixed in 6.12.91 with commit 760e1addc27ba1a7beb4a0a7e8b3e9ec49e7a34e
	Issue introduced in 3.9 with commit cef401de7be8c4e155c6746bfccf721a4fa5fab9 and fixed in 6.18.33 with commit 3bd9e113d50034db99d7ef69fd8e5242d15e414a
	Issue introduced in 3.9 with commit cef401de7be8c4e155c6746bfccf721a4fa5fab9 and fixed in 7.0.10 with commit 3884358a9286b17f389a72b1426fc4547c23c111

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-43503

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/core/skbuff.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/3599e6b3cc1ada96883d496a50a210d3afbb6987
	https://git.kernel.org/stable/c/2f2b16022a2e10ca7bccfb98db5ed2ec0f72641c
	https://git.kernel.org/stable/c/9d3e5fd19fe1063bf607219e8562fbd567b8e8d5
	https://git.kernel.org/stable/c/78bf6b6bb19541d19fbda6242e7cfe2c682763c0
	https://git.kernel.org/stable/c/760e1addc27ba1a7beb4a0a7e8b3e9ec49e7a34e
	https://git.kernel.org/stable/c/3bd9e113d50034db99d7ef69fd8e5242d15e414a
	https://git.kernel.org/stable/c/3884358a9286b17f389a72b1426fc4547c23c111
	https://git.kernel.org/stable/c/f84eca5817390257cef78013d0112481c503b4a3
#1 lore raw
Quoted 8 lines · Greg Kroah-Hartman

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

net: skbuff: preserve shared-frag marker during coalescing

CVE with this title is published at
https://www.cve.org/CVERecord/?id=CVE-2026-46300

Quoted 6 lines

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-43503

will be updated if fixes are backported, please check that for the most up to date information about this issue.

By the link at CVE-2026-43503 we see

Updated: 2026-05-30
Published: 2026-05-23

Title: net: skbuff: propagate shared-frag marker through frag-transfer helpers

Looks like a bit of a mix-up. What is a correct mapping?

--
Alexey

#2 lore raw
Quoted 22 lines · Alexey Khoroshilov
Quoted 8 lines · Greg Kroah-Hartman

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

net: skbuff: preserve shared-frag marker during coalescing

CVE with this title is published at
https://www.cve.org/CVERecord/?id=CVE-2026-46300

Quoted 6 lines

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-43503

will be updated if fixes are backported, please check that for the most up to date information about this issue.

By the link at CVE-2026-43503 we see

Quoted 8 lines

Updated: 2026-05-30
Published: 2026-05-23

Title: net: skbuff: propagate shared-frag marker through frag-transfer helpers

Looks like a bit of a mix-up. What is a correct mapping?

The correct mapping should be what is on cve.org. If it is incorrect, please let us know. See the cve.org git repo for the changes that were made here, or the vulns.git repo for the explaination of what happened if you want more details.

thanks,

greg k-h