{
  "id": "CVE-2026-23111",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-23111",
  "published_at": "2026-02-13T13:29:55.895Z",
  "title": "netfilter: nf_tables: fix inverted genmask check in nft_map_catchall_activate()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-06-09T10:28:09Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 115.9,
    "repo": "criann/check-cve-2026-23111",
    "source": "github"
  },
  "poc_repo_count": 10,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix inverted genmask check in nft_map_catchall_activate()\n\nnft_map_catchall_activate() has an inverted element activity check\ncompared to its non-catchall counterpart nft_mapelem_activate() and\ncompared to what is logically required.\n\nnft_map_catchall_activate() is called from the abort path to re-activate\ncatchall map elements that were deactivated during a failed transaction.\nIt should skip elements that are already active (they don't need\nre-activation) and process elements that are inactive (they need to be\nrestored). Instead, the current code does the opposite: it skips inactive\nelements and processes active ones.\n\nCompare the non-catchall activate callback, which is correct:\n\n  nft_mapelem_activate():\n    if (nft_set_elem_active(ext, iter-\u003egenmask))\n        return 0;   /* skip active, process inactive */\n\nWith the buggy catchall version:\n\n  nft_map_catchall_activate():\n    if (!nft_set_elem_active(ext, genmask))\n        continue;   /* skip inactive, process active */\n\nThe consequence is that when a DELSET operation is aborted,\nnft_setelem_data_activate() is never called for the catchall element.\nFor NFT_GOTO verdict elements, this means nft_data_hold() is never\ncalled to restore the chain-\u003euse reference count. Each abort cycle\npermanently decrements chain-\u003euse. Once chain-\u003euse reaches zero,\nDELCHAIN succeeds and frees the chain while catchall verdict elements\nstill reference it, resulting in a use-after-free.\n\nThis is exploitable for local privilege escalation from an unprivileged\nuser via user namespaces + nftables on distributions that enable\nCONFIG_USER_NS and CONFIG_NF_TABLES.\n\nFix by removing the negation so the check matches nft_mapelem_activate():\nskip active elements, process inactive ones.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.4:-:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [
    {
      "repo": "HORKimhab/CVE-2026-23111",
      "url": "https://github.com/HORKimhab/CVE-2026-23111",
      "created_at": "2026-06-09T01:25:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-07-12T07:48:30Z"
    },
    {
      "repo": "criann/check-cve-2026-23111",
      "url": "https://github.com/criann/check-cve-2026-23111",
      "created_at": "2026-06-09T10:28:09Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-09-16T12:19:17Z"
    },
    {
      "repo": "0xBlackash/CVE-2026-23111",
      "url": "https://github.com/0xBlackash/CVE-2026-23111",
      "created_at": "2026-06-09T10:46:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "0xredash/CVE-2026-23111",
      "url": "https://github.com/0xredash/CVE-2026-23111",
      "created_at": "2026-06-09T10:46:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "ashrafzaryouh/CVE-2026-23111",
      "url": "https://github.com/ashrafzaryouh/CVE-2026-23111",
      "created_at": "2026-06-09T10:46:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "seguridadentrerios/CVE-2026-23111",
      "url": "https://github.com/seguridadentrerios/CVE-2026-23111",
      "created_at": "2026-06-10T12:49:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-05-06T10:55:25Z"
    },
    {
      "repo": "ishankaru/CVE-2026-23111-nftables-lab",
      "url": "https://github.com/ishankaru/CVE-2026-23111-nftables-lab",
      "created_at": "2026-06-11T16:28:31Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-01-10T04:31:40Z"
    },
    {
      "repo": "Baba01hacker666/CVE-2026-23111",
      "url": "https://github.com/Baba01hacker666/CVE-2026-23111",
      "created_at": "2026-06-25T11:15:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 7,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-11-09T13:14:23Z"
    },
    {
      "repo": "letsr00t/nft-catchall-uaf",
      "url": "https://github.com/letsr00t/nft-catchall-uaf",
      "created_at": "2026-06-28T14:24:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-04-24T16:51:40Z"
    },
    {
      "repo": "bakano98/cve-2026-23111-poc",
      "url": "https://github.com/bakano98/cve-2026-23111-poc",
      "created_at": "2026-07-01T13:21:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-09-04T11:45:41Z"
    },
    {
      "repo": "Knz-source/CVE-2026-23111-POC-noddlenpottato",
      "url": "https://github.com/Knz-source/CVE-2026-23111-POC-noddlenpottato",
      "created_at": "2026-08-12T13:23:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 10,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-09-30T02:09:20Z"
    },
    {
      "repo": "imeiplus/CVE-2026-23111-PoC",
      "url": "https://github.com/imeiplus/CVE-2026-23111-PoC",
      "created_at": "2026-09-20T11:58:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-02-02T22:56:52Z"
    },
    {
      "repo": "kinokopio/CVE-2026-23111",
      "url": "https://github.com/kinokopio/CVE-2026-23111",
      "created_at": "2026-10-19T08:41:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-02-15T12:01:48Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, \u003c 8c760ba4e36c750379d13569f23f5a6e185333f5",
          "\u003e= d60be2da67d172aecf866302c91ea11533eca4d9, \u003c b9b6573421de51829f7ec1cce76d85f5f6fbbd7f",
          "\u003e= 628bd3e49cba1c066228e23d71a852c23e26da73, \u003c 42c574c1504aa089a0a142e4c13859327570473d",
          "\u003e= 628bd3e49cba1c066228e23d71a852c23e26da73, \u003c 1444ff890b4653add12f734ffeffc173d42862dd",
          "\u003e= 628bd3e49cba1c066228e23d71a852c23e26da73, \u003c 8b68a45f9722f2babe9e7bad00aa74638addf081",
          "\u003e= 628bd3e49cba1c066228e23d71a852c23e26da73, \u003c f41c5d151078c5348271ffaf8e7410d96f2d82f8",
          "bc9f791d2593f17e39f87c6e2b3a36549a3705b1",
          "3c7ec098e3b588434a8b07ea9b5b36f04cef1f50",
          "a136b7942ad2a50de708f76ea299ccb45ac7a7f9",
          "dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41",
          "\u003e= 5.15.121, \u003c 5.15.200",
          "\u003e= 6.1.36, \u003c 6.1.163",
          "\u003e= 4.19.316, \u003c 4.20",
          "\u003e= 5.4.262, \u003c 5.5",
          "\u003e= 5.10.188, \u003c 5.11",
          "\u003e= 6.3.10, \u003c 6.4"
        ],
        "fixed_in": [
          "8c760ba4e36c750379d13569f23f5a6e185333f5",
          "b9b6573421de51829f7ec1cce76d85f5f6fbbd7f",
          "42c574c1504aa089a0a142e4c13859327570473d",
          "1444ff890b4653add12f734ffeffc173d42862dd",
          "8b68a45f9722f2babe9e7bad00aa74638addf081",
          "f41c5d151078c5348271ffaf8e7410d96f2d82f8",
          "5.15.200",
          "6.1.163",
          "4.20",
          "5.5",
          "5.11",
          "6.4"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "5.15.200",
          "6.1.163",
          "6.6.124",
          "6.12.70",
          "6.18.10",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8c760ba4e36c750379d13569f23f5a6e185333f5 or b9b6573421de51829f7ec1cce76d85f5f6fbbd7f or 42c574c1504aa089a0a142e4c13859327570473d or 1444ff890b4653add12f734ffeffc173d42862dd or 8b68a45f9722f2babe9e7bad00aa74638addf081 or f41c5d151078c5348271ffaf8e7410d96f2d82f8 or 5.15.200 or 6.1.163 or 4.20 or 5.5 or 5.11 or 6.4 or later.",
      "Upgrade Linux to 0 or 5.15.200 or 6.1.163 or 6.6.124 or 6.12.70 or 6.18.10 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
