一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月6日

CVE-2026-98321 – In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat: un

未分类
📑 文章目录

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.