netfilter: nat: use kfree_rcu to release ops
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.
CVE-2026-53000
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-53000
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9",
"lessThan": "ede973d62d26d9c550269af05366ab9e30fc92ee",
"versionType": "git"
},
{
"status": "affected",
"version": "e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9",
"lessThan": "050f98e56782b14677c5bae50800e60775bbf6bb",
"versionType": "git"
},
{
"status": "affected",
"version": "e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9",
"lessThan": "32fdd2e38e7435a368d88f5977a7d6585ebc8b0e",
"versionType": "git"
},
{
"status": "affected",
"version": "e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9",
"lessThan": "3c7511f38ab511b791196b13ae48bf4973bf7dfd",
"versionType": "git"
},
{
"status": "affected",
"version": "e2cf17d3774c323ef6dab6e9f7c0cfc5e742afd9",
"lessThan": "6eda0d771f94267f73f57c94630aa47e90957915",
"versionType": "git"
}
],
"programFiles": [
"net/ipv4/netfilter/iptable_nat.c",
"net/ipv6/netfilter/ip6table_nat.c",
"net/netfilter/nf_nat_core.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.33",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.10",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/ipv4/netfilter/iptable_nat.c",
"net/ipv6/netfilter/ip6table_nat.c",
"net/netfilter/nf_nat_core.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-53000
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #46351 · Revision 1
- Added to Heist Feed
- Publisher date