{
  "id": "CVE-2026-72247",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72247",
  "published_at": "2026-08-15T05:54:35.201Z",
  "title": "netfilter: nf_conncount: fix zone comparison in tuple dedup",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_conncount: fix zone comparison in tuple dedup\n\nThe \"already exists\" dedup logic in __nf_conncount_add() decides\nwhether a connection has already been counted and can be skipped instead\nof incrementing the connlimit count.  It compares the conntrack zone of a\nlist entry with the zone of the connection being added using\nnf_ct_zone_id() and nf_ct_zone_equal(), passing conn-\u003ezone.dir or\nzone-\u003edir as the direction argument.\n\nThose helpers take enum ip_conntrack_dir values: IP_CT_DIR_ORIGINAL is 0\nand IP_CT_DIR_REPLY is 1.  However, zone-\u003edir is a u8 bitmask:\nNF_CT_ZONE_DIR_ORIG is 1, NF_CT_ZONE_DIR_REPL is 2 and\nNF_CT_DEFAULT_ZONE_DIR is 3.  Passing that bitmask as the enum direction\nshifts the meaning of every non-zero value.  An ORIG-only zone passes 1\nand is tested as REPLY, while REPL-only and default zones pass 2 or 3 and\ntest bits beyond the valid direction range.  In those cases\nnf_ct_zone_id() can fall back to NF_CT_DEFAULT_ZONE_ID instead of using\nthe real zone id, so different zones can be treated as equal and dedup\ncollapses to tuple equality alone.\n\nnf_conncount stores and compares the original-direction tuple for a\nconnection.  If an skb already has an attached conntrack entry,\nget_ct_or_tuple_from_skb() explicitly copies\nct-\u003etuplehash[IP_CT_DIR_ORIGINAL].tuple, regardless of the packet's\nctinfo.  Therefore the zone comparison in the tuple dedup path must use\nIP_CT_DIR_ORIGINAL as well; the zone direction bitmask describes where a\nzone id applies, not which direction this conncount tuple represents.\n\nFix the two dedup comparisons by passing IP_CT_DIR_ORIGINAL directly.\nDo not special-case NF_CT_DEFAULT_ZONE_DIR and do not compare raw zone\nids: using the existing helpers with IP_CT_DIR_ORIGINAL preserves the\ndirection-aware NF_CT_DEFAULT_ZONE_ID fallback.  A default bidirectional\nzone contains the ORIG bit, so it naturally returns the real zone id;\nreply-only zones continue to fall back for original-direction tuple\ncomparisons.",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c 82fc35e0da9a91db9a034f8311f18f77a599ae3f",
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c 78b5d6dbc860776161f9e9206b06ff8a01f531ab",
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c 4f30a89c0ed2418719a1144881c2635b940b543d",
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c 7bdc3c0985ecf17b957811fedcc684acdf698acc",
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c 35a56e2a46b90e6bd4ca816b80e9cb8d20dfc3ce",
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c 3cd9a5792cbea81139c24320986dd0db69e9b5d0",
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c 6ff07ac5405bea4d4ead3559fc123f987576424a",
          "\u003e= 21ba8847f857028dc83a0f341e16ecc616e34740, \u003c f62c41b4910e65da396ec9a8c40c1fe7fe82e449",
          "525e1dffed8711973f77412729621098a95238e5",
          "75af3d78168e654a5cd8bbc4c774f97be836165f",
          "\u003e= 4.14.92, \u003c 4.15"
        ],
        "fixed_in": [
          "82fc35e0da9a91db9a034f8311f18f77a599ae3f",
          "78b5d6dbc860776161f9e9206b06ff8a01f531ab",
          "4f30a89c0ed2418719a1144881c2635b940b543d",
          "7bdc3c0985ecf17b957811fedcc684acdf698acc",
          "35a56e2a46b90e6bd4ca816b80e9cb8d20dfc3ce",
          "3cd9a5792cbea81139c24320986dd0db69e9b5d0",
          "6ff07ac5405bea4d4ead3559fc123f987576424a",
          "f62c41b4910e65da396ec9a8c40c1fe7fe82e449",
          "4.15"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.18"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.97",
          "6.18.40",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 82fc35e0da9a91db9a034f8311f18f77a599ae3f or 78b5d6dbc860776161f9e9206b06ff8a01f531ab or 4f30a89c0ed2418719a1144881c2635b940b543d or 7bdc3c0985ecf17b957811fedcc684acdf698acc or 35a56e2a46b90e6bd4ca816b80e9cb8d20dfc3ce or 3cd9a5792cbea81139c24320986dd0db69e9b5d0 or 6ff07ac5405bea4d4ead3559fc123f987576424a or f62c41b4910e65da396ec9a8c40c1fe7fe82e449 or 4.15 or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
