netfilter: nft_nat: fully initialise new_addr in netmap setup (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 8 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_nat: fully initialise new_addr in netmap setup nft_nat_setup_netmap() builds the mapped address in an on-stack union nf_inet_addr. For an IPv4 mapping it writes only the 4-byte .ip member and the loop runs a single 32-bit iteration, but it then copies the whole 16-byte union into range->min_addr and range->max_addr, so the upper 12 bytes reach nf_nat_setup_info() uninitialised. KMSAN reports an uninit-value in nf_nat_setup_info() reached from nft_nat_eval(). The IPv6 path fills all 16 bytes and is not affected. Zero-initialise new_addr.
References
- https://git.kernel.org/stable/c/29365695842db0a97b701a43a09fad1b4f7ecf3e
- https://git.kernel.org/stable/c/7b9380c38c2fd2189416fa602bdbc5c8523b84b2
- https://git.kernel.org/stable/c/eb2030137dba3b59cbb5057a33af70488d6bc231
- https://git.kernel.org/stable/c/e4982c489ee359162eee3ece1fb36082648464a5
- https://git.kernel.org/stable/c/161f5860c92a8ec80b6bdff16e79d70dcd8afc5a
- https://git.kernel.org/stable/c/0ce42c7b84032335abff9eac43762e4ca8224451
- https://git.kernel.org/stable/c/1c43f5db482f74b41987c39c9c375a5e767556eb
- https://git.kernel.org/stable/c/d313499df66159b4b7971d760d16729598ab7e5a
European references
- ENISA EUVD · EUVD-2026-93307
- GCVE · GCVE-0-2026-98322
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 3ff7ddb1353da9b535e65702704cbadea1da9a00 < 29365695842db0a97b701a43a09fad1b4f7ecf3e ; affected 3ff7ddb1353da9b535e65702704cbadea1da9a00 < 7b9380c38c2fd2189416fa602bdbc5c8523b84b2 ; affected 3ff7ddb1353da9b535e65702704cbadea1da9a00 < eb2030137dba3b59cbb5057a33af70488d6bc231 ; affected 3ff7ddb1353da9b535e65702704cbadea1da9a00 < e4982c489ee359162eee3ece1fb36082648464a5 ; affected 3ff7ddb1353da9b535e65702704cbadea1da9a00 < 161f5860c92a8ec80b6bdff16e79d70dcd8afc5a ; affected 3ff7ddb1353da9b535e65702704cbadea1da9a00 < 0ce42c7b84032335abff9eac43762e4ca8224451 |
| Linux · Linux | affected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |