Skip to content
Heist/ feed
Back to feed
UnratedFix available

netfilter: x_tables: avoid leaking percpu counter pointers

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.259, 5.15.210, 6.1.176, 6.12.94, 6.18.36, 6.6.143, 7.0.13
CVEs
CVE-2026-53219
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:34 UTC · Revision 1

Source evidence

netfilter: x_tables: avoid leaking percpu counter pointers

core-osv · Original source

Published 25 Jun 2026, 08:39 UTC

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.

osv:CVE-2026-53219

Kernel

Fixed versions: 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13

Complete source record
{
  "id": "9c239d176435586b86459d5370db297518dafe84e7f71cf1ed4e77bc57893883",
  "url": "https://osv.dev/vulnerability/CVE-2026-53219",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "netfilter: x_tables: avoid leaking percpu counter pointers",
    "summary": "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.",
    "evidence": "osv:CVE-2026-53219",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.259",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.210",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.176",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.143",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.94",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.36",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.13",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-53219",
      "aliases": [
        "CVE-2026-53219"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "71ae0dff02d756e4d2ca710b79f2ff5390029a5f"
                },
                {
                  "fixed": "b74ba3343eb44b2cbf7e9665918c287df1d52ebb"
                },
                {
                  "fixed": "0b35dc8527ccc16b7dc34e8a3164313e68cd4e45"
                },
                {
                  "fixed": "b28e2fcad3db7e8687b15bc20bced26b5b7c920e"
                },
                {
                  "fixed": "a0d16941adf3a501956d74aefd8d6e217906e79c"
                },
                {
                  "fixed": "8d67e42ad3b1a95a152541015a07110e06992d6c"
                },
                {
                  "fixed": "08a3e218064db11f154ad9ad5541751ea7f34ebe"
                },
                {
                  "fixed": "fb0521aff1e10e300d89725cc439d3ea74c828c5"
                },
                {
                  "fixed": "f7f2fbb0e893a0238dc464f8d8c0f5609bec584f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53219.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.2.0"
                },
                {
                  "fixed": "5.10.259"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.210"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.176"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.143"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.94"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.36"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.13"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53219.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.900650413Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-019113.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-457936.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-784472.html",
        "https://git.kernel.org/stable/c/08a3e218064db11f154ad9ad5541751ea7f34ebe",
        "https://git.kernel.org/stable/c/0b35dc8527ccc16b7dc34e8a3164313e68cd4e45",
        "https://git.kernel.org/stable/c/8d67e42ad3b1a95a152541015a07110e06992d6c",
        "https://git.kernel.org/stable/c/a0d16941adf3a501956d74aefd8d6e217906e79c",
        "https://git.kernel.org/stable/c/b28e2fcad3db7e8687b15bc20bced26b5b7c920e",
        "https://git.kernel.org/stable/c/b74ba3343eb44b2cbf7e9665918c287df1d52ebb",
        "https://git.kernel.org/stable/c/f7f2fbb0e893a0238dc464f8d8c0f5609bec584f",
        "https://git.kernel.org/stable/c/fb0521aff1e10e300d89725cc439d3ea74c828c5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53219.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-53219",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53219.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-53219",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 492207,
  "published_at": "2026-06-25T08:39:21.73+00:00"
}