netfilter: x_tables: avoid leaking percpu counter pointers
In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: avoid leaking percpu counter pointers The native and compat get-entries paths copy the fixed rule entry header from the kernelized rule blob to userspace before overwriting the entry's counter fields with a sanitized counter snapshot. On SMP kernels, entry->counters.pcnt contains the percpu allocation address used by x_tables rule counters. A caller can provide a userspace buffer that faults during the initial fixed-header copy after pcnt has been copied but before the later sanitized counter copy runs. The syscall then returns -EFAULT while leaving the raw percpu pointer in userspace. Copy only the fixed entry prefix before counters from the kernelized rule blob, then copy the sanitized counter snapshot into the counter field. Apply this ordering to the IPv4, IPv6, and ARP native and compat get-entries implementations so a fault cannot expose the internal percpu counter pointer.
CVE-2026-53219
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-53219
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": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "b74ba3343eb44b2cbf7e9665918c287df1d52ebb",
"versionType": "git"
},
{
"status": "affected",
"version": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "0b35dc8527ccc16b7dc34e8a3164313e68cd4e45",
"versionType": "git"
},
{
"status": "affected",
"version": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "b28e2fcad3db7e8687b15bc20bced26b5b7c920e",
"versionType": "git"
},
{
"status": "affected",
"version": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "a0d16941adf3a501956d74aefd8d6e217906e79c",
"versionType": "git"
},
{
"status": "affected",
"version": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "8d67e42ad3b1a95a152541015a07110e06992d6c",
"versionType": "git"
},
{
"status": "affected",
"version": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "08a3e218064db11f154ad9ad5541751ea7f34ebe",
"versionType": "git"
},
{
"status": "affected",
"version": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "fb0521aff1e10e300d89725cc439d3ea74c828c5",
"versionType": "git"
},
{
"status": "affected",
"version": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f",
"lessThan": "f7f2fbb0e893a0238dc464f8d8c0f5609bec584f",
"versionType": "git"
}
],
"programFiles": [
"net/ipv4/netfilter/arp_tables.c",
"net/ipv4/netfilter/ip_tables.c",
"net/ipv6/netfilter/ip6_tables.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.2"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.176",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.143",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.94",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.36",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.13",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/ipv4/netfilter/arp_tables.c",
"net/ipv4/netfilter/ip_tables.c",
"net/ipv6/netfilter/ip6_tables.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-53219
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #28441 · Revision 1
- Added to Heist Feed
- Publisher date