Linux KernelOperating system · Linux

CVE-2026-52927

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: netfilter: ebtables: fix OOB read in compat_mtw_from_user Luxiao Xu says: The function compat_mtw_from_user() converts ebtables extensions from 32-bit user structures to kernel native structures. However, it lacks proper validation of the user-supplied match_size/target_size. When certain extensions are processed, the kernel-side translation logic may perform memory accesses based on the extension's expected size. If the user provides a size smaller than what the extension requires, it results in an out-of-bounds read as reported by KASAN. This fix introduces a check to ensure match_size is at least as large as the extension's required compatsize. This covers matches, watchers, and targets, while maintaining compatibility with standard targets. AFAIU this is relevant for matches that need to go though match->compat_from_user() call. Those that use plain memcpy with the user-provided size are ok because the caller checks that size vs the start of the next rule entry offset (which itself is checked vs. total size copied from userspace). The ->compat_from_user() callbacks assume they can read compatsize bytes, so they need this extra check. Based on an earlier patch from Luxiao Xu.

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

The compat_mtw_from_user() function in Linux kernel's netfilter ebtables lacks validation of user-supplied match_size/target_size when converting 32-bit user structures to kernel native structures. When extensions are processed, memory accesses based on the extension's expected size occur. If a user provides a size smaller than what the extension requires, an out-of-bounds read occurs (detected by KASAN). The fix adds a validation check ensuring match_size is at least as large as the extension's required compatsize.

MitigationApply the kernel patch that adds the size validation check before processing extensions in compat_mtw_from_user(). Ensure affected systems receive kernel updates. Given the high CVSS (7.8), prioritize patching on systems with ebtables usage or untrusted users.

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:>= 2.6.34, < 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. Identify installed kernel version
    Run 'uname -r' or check /proc/version to get the running kernel version
    Affected if The kernel version falls within any of these ranges: >= 2.6.34 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
  2. Check if ebtables compat layer is in use
    Verify if 32-bit ebtables userspace tools are installed on a 64-bit system, or if the compat_mtw_from_user function is present in the kernel by examining /boot/config-$(uname -r) or /proc/config.gz for CONFIG_COMPAT
    Affected if The system uses 32-bit ebtables userspace on a 64-bit kernel, enabling the compat layer that contains the vulnerable function
  3. Confirm netfilter ebtables module availability
    Check if ebtables kernel module is loaded ('lsmod | grep ebtables') or if ebtables command is available ('which ebtables' or 'ebtables -L')
    Affected if ebtables is actively used or loadable on the system, exposing the vulnerable code path in netfilter
  4. Identify 32-bit userspace binary usage
    Run 'file $(which ebtables)' or check for i386/686 architecture packages; also check 'uname -m' to confirm system architecture
    Affected if The system runs or can run 32-bit ebtables binaries (i686 or i386) which trigger the compat_mtw_from_user conversion path

A system is affected if it runs a Linux kernel version within the listed ranges AND uses ebtables with 32-bit userspace tools on a 64-bit kernel, allowing the vulnerable compat_mtw_from_user function to process improperly sized extension structures.

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 the size validation check before processing extensions in compat_mtw_from_user(). Ensure affected systems receive kernel updates. Given the high CVSS (7.8), prioritize patching on systems with ebtables usage or untrusted users.

Recommended fix High confidence

Upgrade to Linux kernel 5.10.259, 5.15.210, 6.1.176, or 6.6.143 (or later) depending on your distribution's available stable branches

  1. 1. Identify the current running kernel version using 'uname -r' or 'cat /proc/version'
  2. 2. Determine which distribution and version of Linux is running to identify the appropriate upgrade path
  3. 3. Check if ebtables is in use on the system using 'ebtables -L' or 'which ebtables' - this vulnerability only affects systems using ebtables with 32-bit compatibility mode
  4. 4. Schedule a maintenance window for the kernel upgrade, as it will require a system reboot
  5. 5. For Debian/Ubuntu: Run 'sudo apt-get update && sudo apt-get dist-upgrade' or install specific kernel packages
  6. 6. For RHEL/CentOS: Run 'sudo yum update kernel' or 'sudo dnf update kernel'
  7. 7. For other distributions: Obtain and install the appropriate kernel package for one of the fixed releases (5.10.259, 5.15.210, 6.1.176, or 6.6.143 or later)
  8. 8. After installation, reboot the system to load the new kernel
Caveat Kernel upgrades may require rebooting services and could introduce compatibility issues with proprietary kernel modules or older system utilities; ensure dependent modules and drivers are compatible with the new 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
  • Implementation8.0 h
  • Testing12.0 h
  • Review / QA4.0 h
28.0 hours of engineering $4,760
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-52927 — 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-52927 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