CVE-2026-53134

Source
https://cve.org/CVERecord?id=CVE-2026-53134
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53134.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53134
Downstream
Related
Published
2026-06-25T08:38:23.348Z
Modified
2026-07-09T18:31:11.749626293Z
Summary
netfilter: nft_fib: fix stale stack leak via the OIFNAME register
Details

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

netfilter: nft_fib: 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 nft_regs, 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53134.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f6d0cbcf09c506b9b022df8f9d7693a7cec3c732
Fixed
6744e49fe51bfba26522acc2d0e9703cb41d8e50
Fixed
eca18feed38b3377a2ec5d1f22af1170c55d0171
Fixed
d19ddef8c327a4773ff81f8e51027d1e0b4cf069
Fixed
eb8a8124484dbc3c2b543e207da39bbccb703d31
Fixed
8c84885e9790823828bb8084736ea15769b1ac16
Fixed
84d8f58cf28a0415413f43ba7148f7bacd4c1b6e
Fixed
3544210609f6d1db282bbdeca639104ef624c393
Fixed
ab185e0c4fb82dfba6fb86f8271e06f931d9c64c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53134.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
5.10.259
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.210
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.176
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.94
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53134.json"