{"id":"CVE-2026-98322","summary":"netfilter: nft_nat: fully initialise new_addr in netmap setup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_nat: fully initialise new_addr in netmap setup\n\nnft_nat_setup_netmap() builds the mapped address in an on-stack\nunion nf_inet_addr. For an IPv4 mapping it writes only the 4-byte .ip\nmember and the loop runs a single 32-bit iteration, but it then copies\nthe whole 16-byte union into range-\u003emin_addr and range-\u003emax_addr, so the\nupper 12 bytes reach nf_nat_setup_info() uninitialised.\n\nKMSAN reports an uninit-value in nf_nat_setup_info() reached from\nnft_nat_eval(). The IPv6 path fills all 16 bytes and is not affected.\n\nZero-initialise new_addr.","modified":"2026-10-07T02:47:32.104114243Z","published":"2026-10-06T08:46:16.346Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98322.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ce42c7b84032335abff9eac43762e4ca8224451"},{"type":"WEB","url":"https://git.kernel.org/stable/c/161f5860c92a8ec80b6bdff16e79d70dcd8afc5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c43f5db482f74b41987c39c9c375a5e767556eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29365695842db0a97b701a43a09fad1b4f7ecf3e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b9380c38c2fd2189416fa602bdbc5c8523b84b2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d313499df66159b4b7971d760d16729598ab7e5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4982c489ee359162eee3ece1fb36082648464a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb2030137dba3b59cbb5057a33af70488d6bc231"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98322.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98322"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3ff7ddb1353da9b535e65702704cbadea1da9a00"},{"fixed":"29365695842db0a97b701a43a09fad1b4f7ecf3e"},{"fixed":"7b9380c38c2fd2189416fa602bdbc5c8523b84b2"},{"fixed":"eb2030137dba3b59cbb5057a33af70488d6bc231"},{"fixed":"e4982c489ee359162eee3ece1fb36082648464a5"},{"fixed":"161f5860c92a8ec80b6bdff16e79d70dcd8afc5a"},{"fixed":"0ce42c7b84032335abff9eac43762e4ca8224451"},{"fixed":"1c43f5db482f74b41987c39c9c375a5e767556eb"},{"fixed":"d313499df66159b4b7971d760d16729598ab7e5a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98322.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98322.json"}}],"schema_version":"1.9.0"}