CVE-2026-53211
JSON

5.5medium

netfilter: nft_meta_bridge: fix stale stack leak via IIFHWADDR register

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom cbd2257dc96e3e46217540fcb095a757ffa20d96 before 07acb9798477535933bd658ac9fa85b6cb10d995, from cbd2257dc96e3e46217540fcb095a757ffa20d96 before f1e81d571e375d10e50e852223593493d98c1bac, from cbd2257dc96e3e46217540fcb095a757ffa20d96 before c7d573551f9286100a055ef696cde6af54549677, 6.18
Not affected: before 6.18, from 6.18.36 up to 6.18.*, from 7.0.13 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 6.18 before 6.18.36, from 6.19 before 7.0.13, 7.1NVD

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53211 changed 2026-06-25CVE Terms of Use
NVDCVE-2026-53211 changed 2026-07-02Public domain