Description
In the Linux kernel, the following vulnerability has been resolved:

netfilter: ebtables: zero chainstack array

sashiko reports:
looking at ebtables table
translation, could a sparse cpu_possible_mask lead to an uninitialized pointer
free?

If cpu_possible_mask is sparse (for example, CPU 0 and CPU 2 are possible,
but CPU 1 is not), the allocation loop skips CPU 1. If vmalloc_node() fails at
CPU 2, the cleanup loop will blindly decrement and call vfree() on
newinfo->chainstack[1].

Not a real-world bug, such allocation isn't expected to fail
in the first place.
Published: 2026-07-25
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The kernel’s ebtables module contains a flaw in the chainstack allocation loop. When cpu_possible_mask is sparse, the loop skips CPUs that are not present, leaving a chainstack entry uninitialized. If a later allocation fails, the cleanup routine mistakenly frees the uninitialized address, corrupting kernel memory. This flaw is characterized by an uninitialized memory free, classified under CWE‑824, and could allow a local attacker to crash the system or execute arbitrary code within kernel mode.

Affected Systems

All Linux kernel releases that include the netfilter ebtables component and support sparse CPU masks are affected. The precise kernel versions are not enumerated in the advisory; the issue existed before the commit that added proper bounds checking and cleanup.

Risk and Exploitability

The CVSS score of 7.0 indicates high severity, and the EPSS score is less than 1 %, while the vulnerability is not listed in the CISA KEV catalog, suggesting a low exploitation probability. The attack vector is most likely local: an attacker with kernel or root privileges may configure ebtables to exercise the defective path or exploit the flaw after an unlikely allocation failure, and the risk remains largely hypothetical until a patch is applied.

Generated by OpenCVE AI on August 2, 2026 at 12:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest stable release that includes the fix for the ebtables chainstack array cleanup.
  • If an immediate kernel upgrade is not possible, temporarily disable the ebtables module or configure cpu_possible_mask to avoid sparse CPU configurations until the patch is applied.
  • Review and avoid triggering the allocation path that could generate a vmalloc_node failure, and monitor kernel logs for unexpected crashes.
  • Apply any vendor security advisories that address this issue as they become available.

Generated by OpenCVE AI on August 2, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Sat, 01 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-675

Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 26 Jul 2026 02:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-675

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: ebtables: zero chainstack array sashiko reports: looking at ebtables table translation, could a sparse cpu_possible_mask lead to an uninitialized pointer free? If cpu_possible_mask is sparse (for example, CPU 0 and CPU 2 are possible, but CPU 1 is not), the allocation loop skips CPU 1. If vmalloc_node() fails at CPU 2, the cleanup loop will blindly decrement and call vfree() on newinfo->chainstack[1]. Not a real-world bug, such allocation isn't expected to fail in the first place.
Title netfilter: ebtables: zero chainstack array
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:41:48.054Z

Reserved: 2026-07-19T15:36:31.786Z

Link: CVE-2026-64413

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:25.110

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64413

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64413 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T13:00:05Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer