{"id":"CVE-2026-98321","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_nat: unregister and release hooks on error\n\nIf nf_hook_entries_insert_raw() fails, the NAT hooks get never released,\nresulting in a memleak.\n\nPostpone set…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_nat: unregister and release hooks on error\n\nIf nf_hook_entries_insert_raw() fails, the NAT hooks get never released,\nresulting in a memleak.\n\nPostpone set…","severity":"medium","vendor":"Linux","product":"Linux","affected":["Linux >= 1cd472bf036ca038e783ef5f058f54e45b7e8180 < 79084567cd082fb4482e1ea457580e7d6504dd99","Linux >= 1cd472bf036ca038e783ef5f058f54e45b7e8180 < df80342f4bfc023ad7d6703df5e27f583ff0cb8d","Linux >= 1cd472bf036ca038e783ef5f058f54e45b7e8180 < cbdd39ce42530a193c56beb206a3356cb6d01016","Linux 4.18"],"published":"2026-10-06","updated":"2026-10-06","sourceUpdated":"2026-10-06T09:18:24.117","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98321","references":[{"url":"https://git.kernel.org/stable/c/79084567cd082fb4482e1ea457580e7d6504dd99","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cbdd39ce42530a193c56beb206a3356cb6d01016","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/df80342f4bfc023ad7d6703df5e27f583ff0cb8d","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98321.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98321"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2546454"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98321"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98321"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98321.mbox"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-10-06T08:50:17.407Z","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-772"],"epss":0.00173,"epssPercentile":0.06736,"slug":"CVE-2026-98321","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_nat: unregister and release hooks on error\n\nIf nf_hook_entries_insert_raw() fails, the NAT hooks get never released,\nresulting in a memleak.\n\nPostpone setting nat_proto_net->nat_hook_ops when the hooks are\nregistered to simplify the error path to decide whether the nat hooks\nneed unwinding.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-10 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98321.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":218742,"id":"CVE-2026-98321","ts":1791620357983,"field":"cvss","old":null,"new":"5.5"},{"seq":218741,"id":"CVE-2026-98321","ts":1791620357983,"field":"severity","old":"none","new":"medium"}]}