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

netfilter: nft_meta_bridge: fix stale stack leak via IIFHWADDR register

NFT_META_BRI_IIFHWADDR declares its destination register with
len = ETH_ALEN (6 bytes), which the register-init tracking rounds up to
two 32-bit registers (8 bytes). nft_meta_bridge_get_eval() then does
memcpy(dest, br_dev->dev_addr, ETH_ALEN), writing only 6 bytes and
leaving the upper 2 bytes of the second register as uninitialised
nft_do_chain() stack. A downstream load of that register span leaks
those stale bytes to userspace.

Zero the second register before the memcpy so the full declared span is
written.
Published: 2026-06-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Linux kernel netfilter nft_meta_bridge subsystem causes a stale stack leak via the IIFHWADDR register. The destination register is declared to hold 6 bytes but the kernel rounds it to 8 bytes. A memcpy then copies only 6 bytes from the bridge device address, leaving the upper two bytes of the register uninitialized on the stack. Those stale bytes are later loaded by nft_do_chain() and can be read by userspace, leaking sensitive data from kernel memory. This represents a combination of CWE-131 (Incorrect Size/Allocation) and CWE-401 (Uninitialized Variable) vulnerabilities.

Affected Systems

The vulnerability exists in all Linux kernel versions that include the nft_meta_bridge subsystem and lack the commit that zeroes the register before memcpy. That includes any kernel before commit 07acb979, as shown in the provided CPEs, covering all mainstream releases up to the current stable series. Distributions shipping such kernels without the patch are affected.

Risk and Exploitability

The CVSS score of 5.5 signals moderate severity. The EPSS score is less than 1%, indicating a very low probability of exploitation. The vulnerability is not listed in CISA KEV, reducing its prevalence. Exploitation requires local or privileged execution of nftables commands that reference the IIFHWADDR register, which is inferred from the description; therefore remote exploitation would need further privilege escalation. Given these constraints, the risk remains moderate but should be mitigated promptly.

Generated by OpenCVE AI on August 13, 2026 at 13:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update your system's kernel to a version that includes the fix introduced in commit 07acb979.
  • If a package update is unavailable, apply the patch from the commit to your kernel source tree and recompile the kernel.
  • Reboot the machine so that the new kernel image and nft_meta_bridge code are loaded into memory.

Generated by OpenCVE AI on August 13, 2026 at 13:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 26 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 26 Jun 2026 12:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Thu, 25 Jun 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_meta_bridge: fix stale stack leak via IIFHWADDR register NFT_META_BRI_IIFHWADDR declares its destination register with len = ETH_ALEN (6 bytes), which the register-init tracking rounds up to two 32-bit registers (8 bytes). nft_meta_bridge_get_eval() then does memcpy(dest, br_dev->dev_addr, ETH_ALEN), writing only 6 bytes and leaving the upper 2 bytes of the second register as uninitialised nft_do_chain() stack. A downstream load of that register span leaks those stale bytes to userspace. Zero the second register before the memcpy so the full declared span is written.
Title netfilter: nft_meta_bridge: fix stale stack leak via IIFHWADDR register
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-06-25T08:39:16.234Z

Reserved: 2026-06-09T07:44:35.391Z

Link: CVE-2026-53211

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-25T09:16:38.697

Modified: 2026-07-02T20:53:52.450

Link: CVE-2026-53211

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-53211 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T13:30:17Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-401

    Missing Release of Memory after Effective Lifetime