CVE-2026-52927
Last modified
CVE-2026-52927 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.34, < 5.10.259 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.210 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.176 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.143 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.93 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.35 | — |
| Linux | Linux Kernel | >= 6.19, < 7.0.12 | — |
| Linux | Linux Kernel | 7.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-52927?
How severe is CVE-2026-52927?
How do I fix CVE-2026-52927?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-52921In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52922In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-52923In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-52924In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-52925In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52926In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52928In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52929In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-5293The 診断ジェネレータ作成プラグイン (Diagnosis Generator) plugin for WordPre…6.4
- CVE-2026-52930In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52931In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-52932In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2026-52927?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
