{"id":"CVE-2026-53134","aliases":["CVE-2026-53134"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nft_fib: fix stale stack leak via the OIFNAME register","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_fib: fix stale stack leak via the OIFNAME register\n\nFor NFT_FIB_RESULT_OIFNAME the destination register is declared with\nlen = IFNAMSIZ (four 32-bit registers), but on the lookup-fail,\nRTN_LOCAL and oif-mismatch paths nft_fib{4,6}_eval() only writes one\nregister via \"*dest = 0\". The remaining three registers are left as\nwhatever was on the stack in nft_do_chain()'s struct nft_regs, and a\ndownstream expression that loads the register span can leak that\nuninitialised kernel stack to userspace.\n\nThe NFTA_FIB_F_PRESENT existence check has the same shape: it is only\nmeaningful for NFT_FIB_RESULT_OIF, yet it was accepted for any result type\nwhile the eval stores a single byte via nft_reg_store8(), leaving the rest\nof the declared span stale.\n\nFix both:\n\n - replace the bare \"*dest = 0\" in the eval with nft_fib_store_result(),\n   which strscpy_pad()s the whole IFNAMSIZ for OIFNAME (and is already\n   used on the other early-return path), and\n\n - restrict NFTA_FIB_F_PRESENT to NFT_FIB_RESULT_OIF and declare its\n   destination as a single u8, so the marked span matches the one byte\n   the eval writes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_fib: fix stale stack leak via the OIFNAME register\n\nFor NFT_FIB_RESULT_OIFNAME the destination register is declared with\nlen = IFNAMSIZ (four 32-bit registers), but on the lookup-fail,\nRTN_LOCAL and oif-mismatch paths nft_fib{4,6}_eval() only writes one\nregister via \"*dest = 0\". The remaining three registers are left as\nwhatever was on the stack in nft_do_chain()'s struct nft_regs, and a\ndownstream expression that loads the register span can leak that\nuninitialised kernel stack to userspace.\n\nThe NFTA_FIB_F_PRESENT existence check has the same shape: it is only\nmeaningful for NFT_FIB_RESULT_OIF, yet it was accepted for any result type\nwhile the eval stores a single byte via nft_reg_store8(), leaving the rest\nof the declared span stale.\n\nFix both:\n\n - replace the bare \"*dest = 0\" in the eval with nft_fib_store_result(),\n   which strscpy_pad()s the whole IFNAMSIZ for OIFNAME (and is already\n   used on the other early-return path), and\n\n - restrict NFTA_FIB_F_PRESENT to NFT_FIB_RESULT_OIF and declare its\n   destination as a single u8, so the marked span matches the one byte\n   the eval writes.","source":"cvelist"}],"published":"2026-06-25T08:38:23.348Z","modified":"2026-11-10T13:19:23.510Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"6744e49fe51bfba26522acc2d0e9703cb41d8e50","status":"affected"},{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"eca18feed38b3377a2ec5d1f22af1170c55d0171","status":"affected"},{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"d19ddef8c327a4773ff81f8e51027d1e0b4cf069","status":"affected"},{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"eb8a8124484dbc3c2b543e207da39bbccb703d31","status":"affected"},{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"8c84885e9790823828bb8084736ea15769b1ac16","status":"affected"},{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"84d8f58cf28a0415413f43ba7148f7bacd4c1b6e","status":"affected"},{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"3544210609f6d1db282bbdeca639104ef624c393","status":"affected"},{"type":"git","introduced":"f6d0cbcf09c506b9b022df8f9d7693a7cec3c732","fixed":"ab185e0c4fb82dfba6fb86f8271e06f931d9c64c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.10","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.94","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.36","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.13","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.10","fixed":"5.10.259"},{"status":"affected","introduced":"5.11","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.94"},{"status":"affected","introduced":"6.13","fixed":"6.18.36"},{"status":"affected","introduced":"6.19","fixed":"7.0.13"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6744e49fe51bfba26522acc2d0e9703cb41d8e50","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eca18feed38b3377a2ec5d1f22af1170c55d0171","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d19ddef8c327a4773ff81f8e51027d1e0b4cf069","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb8a8124484dbc3c2b543e207da39bbccb703d31","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c84885e9790823828bb8084736ea15769b1ac16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84d8f58cf28a0415413f43ba7148f7bacd4c1b6e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3544210609f6d1db282bbdeca639104ef624c393","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab185e0c4fb82dfba6fb86f8271e06f931d9c64c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:20:19.628Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53134","url":"https://www.cve.org/CVERecord?id=CVE-2026-53134","licence":"CVE Terms of Use","modified":"2026-11-10T12:48:09.653Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53134","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53134","licence":"Public domain","modified":"2026-11-10T13:19:23.510Z"}],"updatedAt":"2026-11-25T22:59:25.826Z","epss":{"score":0.00171,"percentile":0.03692,"date":"2026-11-30T12:00:22.000Z"}}