CVE-2026-98321

Source
https://cve.org/CVERecord?id=CVE-2026-98321
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98321.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98321
Downstream
Published
2026-10-06T08:46:15Z
Modified
2026-10-08T02:50:03Z
Summary
netfilter: nf_nat: unregister and release hooks on error
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_nat: unregister and release hooks on error

If nf_hook_entries_insert_raw() fails, the NAT hooks get never released, resulting in a memleak.

Postpone setting nat_proto_net->nat_hook_ops when the hooks are registered to simplify the error path to decide whether the nat hooks need unwinding.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98321.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1cd472bf036ca038e783ef5f058f54e45b7e8180
Fixed
79084567cd082fb4482e1ea457580e7d6504dd99
Fixed
df80342f4bfc023ad7d6703df5e27f583ff0cb8d
Fixed
cbdd39ce42530a193c56beb206a3356cb6d01016

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98321.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.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-98321.json"