netfilter: nf_tables: add hook transactions for device deletions
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: add hook transactions for device deletions Restore the flag that indicates that the hook is going away, ie. NFT_HOOK_REMOVE, but add a new transaction object to track deletion of hooks without altering the basechain/flowtable hook_list during the preparation phase. The existing approach that moves the hook from the basechain/flowtable hook_list to transaction hook_list breaks netlink dump path readers of this RCU-protected list. It should be possible use an array for nft_trans_hook to store the deleted hooks to compact the representation but I am not expecting many hook object, specially now that wildcard support for devices is in place. Note that the nft_trans_chain_hooks() list contains a list of struct nft_trans_hook objects for DELCHAIN and DELFLOWTABLE commands, while this list stores struct nft_hook objects for NEWCHAIN and NEWFLOWTABLE. Note that new commands can be updated to use nft_trans_hook for consistency. This patch also adapts the event notification path to deal with the list of hook transactions.
CVE-2026-63858
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-63858
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": "b6d9014a3335194590abdd2a2471ef5147a67645",
"lessThan": "768daa9f4276be4007e88dea61a378c8582ba008",
"versionType": "git"
},
{
"status": "affected",
"version": "b6d9014a3335194590abdd2a2471ef5147a67645",
"lessThan": "4e69bfb32b2db323d9205fdb30e284481b37817c",
"versionType": "git"
},
{
"status": "affected",
"version": "b6d9014a3335194590abdd2a2471ef5147a67645",
"lessThan": "10f79dbd7719d1da9f5884d13060322d8729f091",
"versionType": "git"
},
{
"status": "affected",
"version": "7a248f9c74f9f62799718c12efd9e9e391d60b6f",
"versionType": "git"
},
{
"status": "affected",
"version": "f275989ad04159dbfc62cefb65ba9c5ba1d7c34f",
"versionType": "git"
},
{
"status": "affected",
"version": "62d91062058b42bf70b2c3446aec397bb0ce15ee",
"versionType": "git"
},
{
"status": "affected",
"version": "99180dec5ae582227219d1fdd0dd5ccf53ec7491",
"versionType": "git"
},
{
"status": "affected",
"version": "5.10.122",
"lessThan": "5.11",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.15.47",
"lessThan": "5.16",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.17.15",
"lessThan": "5.18",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.18.4",
"lessThan": "5.19",
"versionType": "semver"
}
],
"programFiles": [
"include/net/netfilter/nf_tables.h",
"net/netfilter/nf_tables_api.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.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.57",
"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": [
"include/net/netfilter/nf_tables.h",
"net/netfilter/nf_tables_api.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-63858
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #40863 · Revision 1
- Added to Heist Feed
- Publisher date