CVE-2026-53000

netfilter: nat: use kfree_rcu to release ops

State
Published
Severity
7.8 High
Published
Jun 24, 2026
Updated
Oct 30, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-763 Release of Invalid Pointer or Reference

Affected Products

ProductVersions
LinuxLinux
  • e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 to before bf17f1d3b307196d9282c4b1dd8be0d0e5f8e529Affected
  • e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 to before ede973d62d26d9c550269af05366ab9e30fc92eeAffected
  • e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 to before 050f98e56782b14677c5bae50800e60775bbf6bbAffected
  • e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 to before 32fdd2e38e7435a368d88f5977a7d6585ebc8b0eAffected
  • e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 to before 3c7511f38ab511b791196b13ae48bf4973bf7dfdAffected
  • e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9 to before 6eda0d771f94267f73f57c94630aa47e90957915Affected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.