{
  "id": "CVE-2026-74660",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74660",
  "published_at": "2026-08-22T15:32:33.677Z",
  "title": "netfilter: ebt_nflog: pin the NFLOG backend",
  "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": 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: ebt_nflog: pin the NFLOG backend\n\nnf_log_unregister() runs after the per-net teardown so its final RCU\ngrace period also drains readers that obtained the logger from a per-net\nbinding.  However, ebt_nflog passes an explicit ULOG log type to\nnf_log_packet() without holding a reference on the selected logger module,\nunlike the xt_NFLOG and nft_log frontends.\n\nAn ebtables nflog rule can therefore remain callable while nfnetlink_log\nis unloaded.  The resulting interleaving is:\n\n  CPU 0                               CPU 1\n  nfnetlink_log_fini()\n    unregister_pernet_subsys()\n      kfree(nfnl_log_pernet(net))\n                                      ebt_nflog_tg()\n                                        nf_log_packet()\n                                          nfulnl_log_packet()\n                                            instance_lookup_get_rcu()\n\nThe global ULOG logger is still registered at this point, so CPU 1\ndereferences the per-net state after CPU 0 has freed it.  KASAN reported:\n\n  BUG: KASAN: slab-use-after-free in instance_lookup_get_rcu\n  Read of size 8 at addr ff110001052e6210 by task poc/92\n  Call Trace:\n   instance_lookup_get_rcu+0x1ce/0x1f0 [nfnetlink_log]\n   nfulnl_log_packet+0x248/0x2fb0 [nfnetlink_log]\n   nf_log_packet+0x204/0x300\n   ebt_nflog_tg+0x351/0x550\n   ebt_do_table+0xedf/0x22b0\n  Allocated by task 90:\n   __kmalloc_noprof+0x186/0x470\n   ops_init+0x6d/0x420\n   register_pernet_operations+0x2f6/0x670\n   register_pernet_subsys+0x23/0x40\n  Freed by task 93:\n   kfree+0x131/0x3c0\n   ops_undo_list+0x3e3/0x700\n   unregister_pernet_operations+0x232/0x490\n   unregister_pernet_subsys+0x1c/0x30\n   nfnetlink_log_fini+0x34/0x450 [nfnetlink_log]\n\nAcquire the ULOG logger module reference when an ebt_nflog rule is\nvalidated and release it when the rule is destroyed.  Request the NFLOG\nbackend for legacy callers when needed, matching xt_NFLOG.  This prevents\nmodule teardown until all ebt_nflog rules have stopped using the logger.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c 3bcce49d617c593c7606083bfdb464a1761fa68d",
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c 394d7939c6b2b9e6bea0844c89efb5913168d898",
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c 2cac4294f184c9bc19ff82552c62b80498694c39",
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c 9d8a94b48b393885e7f876c8ef68ed4da5012078",
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c 6809379a860b9fccbb5435bf08343f6d081ac68d",
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c 47a119ec8a7e2d5c8c4e86fb1a56c4e696e500fb",
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c e2ab7e878bdbe80104c879c31fd2d82a476703b8",
          "\u003e= c83fa19603bdaeef17b815713dbbe3230c8a34ee, \u003c 30825970339c107bacaf7f61af90fcdb1f597ca1"
        ],
        "fixed_in": [
          "3bcce49d617c593c7606083bfdb464a1761fa68d",
          "394d7939c6b2b9e6bea0844c89efb5913168d898",
          "2cac4294f184c9bc19ff82552c62b80498694c39",
          "9d8a94b48b393885e7f876c8ef68ed4da5012078",
          "6809379a860b9fccbb5435bf08343f6d081ac68d",
          "47a119ec8a7e2d5c8c4e86fb1a56c4e696e500fb",
          "e2ab7e878bdbe80104c879c31fd2d82a476703b8",
          "30825970339c107bacaf7f61af90fcdb1f597ca1"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.12"
        ],
        "fixed_in": [
          "0",
          "5.10.265",
          "5.15.216",
          "6.1.183",
          "6.6.152",
          "6.12.104",
          "6.18.45",
          "7.1.9",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3bcce49d617c593c7606083bfdb464a1761fa68d or 394d7939c6b2b9e6bea0844c89efb5913168d898 or 2cac4294f184c9bc19ff82552c62b80498694c39 or 9d8a94b48b393885e7f876c8ef68ed4da5012078 or 6809379a860b9fccbb5435bf08343f6d081ac68d or 47a119ec8a7e2d5c8c4e86fb1a56c4e696e500fb or e2ab7e878bdbe80104c879c31fd2d82a476703b8 or 30825970339c107bacaf7f61af90fcdb1f597ca1 or later.",
      "Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.152 or 6.12.104 or 6.18.45 or 7.1.9 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
