GHSA-4xqv-x9wj-55p5unknown
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat:...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-98321
- https://git.kernel.org/stable/c/79084567cd082fb4482e1ea457580e7d6504dd99
- https://git.kernel.org/stable/c/cbdd39ce42530a193c56beb206a3356cb6d01016
- https://git.kernel.org/stable/c/df80342f4bfc023ad7d6703df5e27f583ff0cb8d
- https://github.com/advisories/GHSA-4xqv-x9wj-55p5