CVE-2026-52927
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 · uneditedIn 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 confidenceThe 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.
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>= 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.1CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Identify installed kernel versionRun 'uname -r' or check /proc/version to get the running kernel versionAffected 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
-
Check if ebtables compat layer is in useVerify 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_COMPATAffected if The system uses 32-bit ebtables userspace on a 64-bit kernel, enabling the compat layer that contains the vulnerable function
-
Confirm netfilter ebtables module availabilityCheck 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
-
Identify 32-bit userspace binary usageRun 'file $(which ebtables)' or check for i386/686 architecture packages; also check 'uname -m' to confirm system architectureAffected 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.
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 · scoped5.10.2595.15.2106.1.176
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.
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. Identify the current running kernel version using 'uname -r' or 'cat /proc/version'
- 2. Determine which distribution and version of Linux is running to identify the appropriate upgrade path
- 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. Schedule a maintenance window for the kernel upgrade, as it will require a system reboot
- 5. For Debian/Ubuntu: Run 'sudo apt-get update && sudo apt-get dist-upgrade' or install specific kernel packages
- 6. For RHEL/CentOS: Run 'sudo yum update kernel' or 'sudo dnf update kernel'
- 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. After installation, reboot the system to load the new kernel
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-52927 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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