netfilter: x_tables: avoid leaking percpu counter pointers (Linux Linux)

CVE-2026-53219
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 71ae0dff02d756e4d2ca710b79f2ff5390029a5f < b74ba3343eb44b2cbf7e9665918c287df1d52ebb ; affected 71ae0dff02d756e4d2ca710b79f2ff5390029a5f < 0b35dc8527ccc16b7dc34e8a3164313e68cd4e45 ; affected 71ae0dff02d756e4d2ca710b79f2ff5390029a5f < b28e2fcad3db7e8687b15bc20bced26b5b7c920e ; affected 71ae0dff02d756e4d2ca710b79f2ff5390029a5f < a0d16941adf3a501956d74aefd8d6e217906e79c ; affected 71ae0dff02d756e4d2ca710b79f2ff5390029a5f < 8d67e42ad3b1a95a152541015a07110e06992d6c ; affected 71ae0dff02d756e4d2ca710b79f2ff5390029a5f < 08a3e218064db11f154ad9ad5541751ea7f34ebe
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD