CVE 7.8 HIGH

netfilter: nat: use kfree_rcu to release ops_CVE-2026-53000

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

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

netfilter: nat: use kfree_rcu to release ops

Florian Westphal says:

"Historically this is not an issue, even for normal base hooks: the data
path doesn't use the original nf_hook_ops that are used to register the
callbacks.

However, in v5.14 I added the ability to dump the active netfilter
hooks from userspace.

This code will peek back into the nf_hook_ops that are available
at the tail of the pointer-array blob used by the datapath.

The nat hooks are special, because they are called indirectly from
the central nat dispatcher hook. They are currently invisible to
the nfnl hook dump subsystem though.

But once that changes the nat ops structures have to be deferred too."

Update nf_nat_register_fn() to deal with partial exposition of the hooks
from error path which can be also an issue for nfnetlink_hook.

Basic Information

ID CVE-2026-53000
Source Linux
Published Jun 24, 2026 at 16:29
Modified Jun 28, 2026 at 06:37

Affected Product

Vendor Linux
Product Linux
Version e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9
Affected Versions Linux Linux e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9
Linux Linux e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9
Linux Linux e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9
Linux Linux 5.14

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.