Linux KernelOperating system · Linux

CVE-2026-52943

HIGH · 7.8 CVSS v3.1 Published 2026-06-24
Fix available
A fix is available. Upgrade to 5.10.259 / 5.15.210 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In the Linux kernel, the following vulnerability has been resolved: net: skbuff: fix missing zerocopy reference in pskb_carve helpers pskb_carve_inside_header() and pskb_carve_inside_nonlinear() both copy the old skb_shared_info header into a new buffer via memcpy(), which includes the destructor_arg pointer (uarg) for MSG_ZEROCOPY skbs. Neither function calls net_zcopy_get() for the new shinfo, creating an unaccounted holder: every skb_shared_info with destructor_arg set will call skb_zcopy_clear() once when freed, but the corresponding net_zcopy_get() was never called for the new copy. Repeated calls drive uarg->refcnt to zero prematurely, freeing ubuf_info_msgzc while TX skbs still hold live destructor_arg pointers. KASAN reports use-after-free on a freed ubuf_info_msgzc: BUG: KASAN: slab-use-after-free in skb_release_data+0x77b/0x810 Read of size 8 at addr ffff88801574d3e8 by task poc/220 Call Trace: skb_release_data+0x77b/0x810 kfree_skb_list_reason+0x13e/0x610 skb_release_data+0x4cd/0x810 sk_skb_reason_drop+0xf3/0x340 skb_queue_purge_reason+0x282/0x440 rds_tcp_inc_free+0x1e/0x30 rds_recvmsg+0x354/0x1780 __sys_recvmsg+0xdf/0x180 Allocated by task 219: msg_zerocopy_realloc+0x157/0x7b0 tcp_sendmsg_locked+0x2892/0x3ba0 Freed by task 219: ip_recv_error+0x74a/0xb10 tcp_recvmsg+0x475/0x530 The skb consuming the late access still referenced the same uarg via shinfo->destructor_arg copied by pskb_carve_inside_nonlinear() without a refcount bump. This has been verified to be reliably exploitable: a working proof-of-concept achieves full root privilege escalation from an unprivileged local user on a default kernel configuration. The fix follows the pattern of pskb_expand_head() which has the same memcpy/cloned structure. For pskb_carve_inside_header(), net_zcopy_get() is placed after skb_orphan_frags() succeeds, so the orphan error path needs no cleanup. For pskb_carve_inside_nonlinear(), net_zcopy_get() is placed after all failure points and just before skb_release_data(), so no error path needs cleanup at all -- matching pskb_expand_head() more closely and avoiding the need for a balancing net_zcopy_put().

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Linux kernel vulnerability in pskb_carve helper functions (pskb_carve_inside_header and pskb_carve_inside_nonlinear) that fail to call net_zcopy_get() when copying skb_shared_info containing MSG_ZEROCOPY destructor_arg pointers. This causes an unaccounted zero-copy holder, driving refcounts to zero prematurely and resulting in use-after-free of ubuf_info_msgzc while TX skbs still hold live pointers.

MitigationApply the kernel patch that adds net_zcopy_get() calls in pskb_carve_inside_header() (after skb_orphan_frags() succeeds) and pskb_carve_inside_nonlinear() (before skb_release_data()), following the existing pattern from pskb_expand_head().

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 4.7, < 5.10.259>= 5.11, < 5.15.210>= 5.16, < 6.1.176>= 6.2, < 6.6.143>= 6.7, < 6.12.93>= 6.13, < 6.18.35>= 6.19, < 7.0.12= 7.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check the running kernel version
    Run `uname -r` or `cat /proc/version` to obtain the kernel version
    Affected if The kernel version falls within any of these ranges: >= 4.7 and < 5.10.259; >= 5.11 and < 5.15.210; >= 5.16 and < 6.1.176; >= 6.2 and < 6.6.143; >= 6.7 and < 6.12.93; >= 6.13 and < 6.18.35; >= 6.19 and < 7.0.12; or equals 7.1. If the version is outside these ranges, the system is not affected by thi
  2. Verify if the kernel supports MSG_ZEROCOPY
    Check if the kernel configuration includes CONFIG_UDP_ZEROCOPY by looking at /boot/config-$(uname -r) or /proc/config.gz (if available), or check if the sysctl net.core.uks_zerocopy exists
    Affected if MSG_ZEROCOPY is a socket option (SO_ZEROCOPY) used with send() calls. If the kernel does not support this feature at all, the vulnerability cannot be triggered.
  3. Identify applications using MSG_ZEROCOPY
    Search application codebases, containers, or running processes for usage of SO_ZEROCOPY socket option or MSG_ZEROCOPY flag in send() system calls. Use `ss -T` to see socket options, or audit network-facing applications known to use zero-copy sends (e.g., certain NFS implementations, RDMA applications, high-performance servers)
    Affected if The vulnerability only triggers when MSG_ZEROCOPY is actually used with send() calls on sockets. If no applications on the system use MSG_ZEROCOPY, the attack surface is not present.
  4. Check kernel source for vulnerable functions
    If kernel source is available, verify if pskb_carve_inside_header() and pskb_carve_inside_nonlinear() in net/core/skbuff.c contain calls to net_zcopy_get() when handling skb_shared_info with destructor_arg for MSG_ZEROCOPY skbs
    Affected if The vulnerability exists if these functions perform memcpy() of skb_shared_info including destructor_arg without first calling net_zcopy_get() to properly account for the reference holder.

A system is affected if it runs a kernel version within the affected ranges AND uses applications that trigger MSG_ZEROCOPY code paths; otherwise the vulnerability is not exploitable in that environment.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 5.10.259 / 5.15.210 / 6.1.176 or later
Fixed in 5.10.2595.15.2106.1.176
Vendor patch git.kernel.org →
Interim mitigation

Apply the kernel patch that adds net_zcopy_get() calls in pskb_carve_inside_header() (after skb_orphan_frags() succeeds) and pskb_carve_inside_nonlinear() (before skb_release_data()), following the existing pattern from pskb_expand_head().

Recommended fix High confidence

5.10.259, 5.15.210, 6.1.176, or 6.6.143 (depending on which major version branch you are on)

  1. 1. Identify the currently running kernel version using `uname -r`
  2. 2. Determine the appropriate fixed version based on your current kernel branch: for 4.7-5.10.x upgrade to >=5.10.259, for 5.11-5.15.x upgrade to >=5.15.210, for 5.16-6.1.x upgrade to >=6.1.176, for 6.2-6.6.x upgrade to >=6.6.143
  3. 3. Apply the vendor patch from commit 2e0e74c59b2761a414d9f48d7bee1e45220b2427 if staying on the same version, otherwise upgrade to a newer stable kernel release
  4. 4. Reboot the system to load the patched kernel
  5. 5. Verify the fix is applied by checking the kernel version or examining the patched functions pskb_carve_inside_header() and pskb_carve_inside_nonlinear() for net_zcopy_get() calls
Caveat Upgrading across major kernel versions may require rebuilding out-of-tree kernel modules; ensure compatibility of hardware drivers and critical software with the target kernel version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation4.0 h
  • Implementation2.0 h
  • Testing8.0 h
  • Review / QA4.0 h
18.0 hours of engineering $3,080
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,928.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-52943 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-52943 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data