Junglewise Threat Intelligence

CVE-2026-52927: Linux kernel OOB read in ebtables compat_mtw_from_user

CVE-2026-52927 · Severity: info · CVSS 0 · Published 2026-06-24

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A security vulnerability was identified in the Linux kernel's ebtables component, which manages network bridge filtering. A local attacker could potentially trigger an out-of-bounds memory read when the system processes specific 32-bit user structures on a 64-bit kernel. This could lead to system instability or the exposure of sensitive kernel memory information.

Technical details

An out-of-bounds (OOB) read vulnerability exists in net/bridge/netfilter/ebtables.c within the compat_mtw_from_user() function. The vulnerability is caused by a lack of proper validation for user-supplied match_size and target_size values when converting 32-bit user structures to kernel native structures. Specifically, the ->compat_from_user() callbacks assume they can safely read a fixed number of bytes (compatsize), but if a user provides a smaller size, the kernel performs an OOB read. The fix introduces match_size_ok() and tgt_size_ok() helpers to ensure the provided size meets the minimum required compatsize for matches, watchers, and targets.

Affected products

  • Linux Linux kernel 81e675c227ec to d7a8fb6f10d5, 21af4c030567, dad9ebf81079, a27cb7325a6c, 7ad0e463fc7e, bf8e8eac7ede, f438d1786d65, fcc4c043d137

Timeline

  • 2026-06-24: advisory: CVE-2026-52927 published
  • 2026-06-19: patched: Fix committed to stable branches by Greg Kroah-Hartman

References

Related threats