CVE-2026-53134: netfilter: nft_fib: fix stale stack leak via the OIFNAME register

Published Jun 25, 2026
·
Updated

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

netfilter: nftfib: fix stale stack leak via the OIFNAME register

For NFTFIBRESULTOIFNAME the destination register is declared with len = IFNAMSIZ (four 32-bit registers), but on the lookup-fail, RTNLOCAL and oif-mismatch paths nftfib{4,6}eval() only writes one register via "dest = 0". The remaining three registers are left as whatever was on the stack in nftdochain()'s struct nftregs, and a downstream expression that loads the register span can leak that uninitialised kernel stack to userspace.

The NFTAFIBFPRESENT existence check has the same shape: it is only meaningful for NFTFIBRESULTOIF, yet it was accepted for any result type while the eval stores a single byte via nftregstore8(), leaving the rest of the declared span stale.

Fix both:

- replace the bare "dest = 0" in the eval with nftfibstoreresult(), which strscpypad()s the whole IFNAMSIZ for OIFNAME (and is already used on the other early-return path), and

- restrict NFTAFIBFPRESENT to NFTFIBRESULTOIF and declare its destination as a single u8, so the marked span matches the one byte the eval writes.

Affected Software

15 affected components
Linux Linux kernel
Linux Linux kernel>=4.10<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.94
Linux Linux kernel>=6.13<6.18.36
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
Linux Linux kernel=7.1-rc6
Linux Linux kernel=7.1-rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel netfilter: nft_fib to a version that resolves this vulnerability.

    Patch netfilter: nft_fib: fix stale stack leak via the OIFNAME register
  2. Configuration

    In nft_fib{4,6}_eval(), replace the early-leave pattern "*dest = 0" with nft_fib_store_result() so the destination register span is written correctly.

    netfilter nft_fib{4,6} eval OIFNAME register initialization = *dest = 0 replaced with nft_fib_store_result()
  3. Configuration

    Restrict the NFTA_FIB_F_PRESENT existence check to the result type NFT_FIB_RESULT_OIF only (i.e., apply the check only for NFT_FIB_RESULT_OIF).

    netfilter nft_fib{4,6} eval NFTA_FIB_F_PRESENT restriction = NFTA_FIB_F_PRESENT restricted to NFT_FIB_RESULT_OIF
  4. Configuration

    For the NFT_FIB_RESULT_OIFNAME path, declare the destination register as a single u8 (matching the one-byte nft_reg_store8() behavior) rather than a span that would allow stale stack bytes to be leaked.

    netfilter nft_fib{4,6} eval NFTA_FIB_F_PRESENT destination register declaration = Declare destination as u8 with result OIF semantics

Event History

Jun 25, 2026
CVE Published
via MITRE·08:38 AM
Data Sourced
via MITRE·08:38 AM
Description
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-53134?

The severity of CVE-2026-53134 is classified as medium with a CVSS score of 5.5.

2

How do I fix CVE-2026-53134?

To fix CVE-2026-53134, you should update your Linux kernel to the latest patched version provided by your distribution.

3

What could be the impact of CVE-2026-53134 on my system?

The impact of CVE-2026-53134 could potentially lead to a denial of service due to a stale stack leak, affecting system stability.

4

What systems are affected by CVE-2026-53134?

CVE-2026-53134 affects systems running vulnerable versions of the Linux kernel that utilize the netfilter framework.

5

Is CVE-2026-53134 publicly known?

Yes, CVE-2026-53134 was publicly announced on June 25, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203