{
  "id": "CVE-2025-38678",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38678",
  "published_at": "2025-09-03T13:01:15.799Z",
  "title": "netfilter: nf_tables: reject duplicate device on updates",
  "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": "2025-11-24T10:12:57Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 81.9,
    "repo": "guard-wait/CVE-2025-38678_POC",
    "source": "github"
  },
  "poc_repo_count": 1,
  "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: reject duplicate device on updates\n\nA chain/flowtable update with duplicated devices in the same batch is\npossible. Unfortunately, netdev event path only removes the first\ndevice that is found, leaving unregistered the hook of the duplicated\ndevice.\n\nCheck if a duplicated device exists in the transaction batch, bail out\nwith EEXIST in such case.\n\nWARNING is hit when unregistering the hook:\n\n [49042.221275] WARNING: CPU: 4 PID: 8425 at net/netfilter/core.c:340 nf_hook_entry_head+0xaa/0x150\n [49042.221375] CPU: 4 UID: 0 PID: 8425 Comm: nft Tainted: G S                  6.16.0+ #170 PREEMPT(full)\n [...]\n [49042.221382] RIP: 0010:nf_hook_entry_head+0xaa/0x150",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [
    {
      "repo": "guard-wait/CVE-2025-38678_POC",
      "url": "https://github.com/guard-wait/CVE-2025-38678_POC",
      "created_at": "2025-11-24T10:12:57Z",
      "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": "2022-01-20T07:24:43Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, \u003c 0521e694d5b80899fba8695881a6349f9bc538cb",
          "\u003e= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, \u003c 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd",
          "\u003e= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, \u003c 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2",
          "\u003e= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, \u003c 3f358a66a04513311668ea4b40f5064e253d8386",
          "\u003e= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, \u003c cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c",
          "\u003e= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, \u003c d7615bde541f16517d6790412da6ec46fa8a4c1f",
          "\u003e= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, \u003c cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973"
        ],
        "fixed_in": [
          "0521e694d5b80899fba8695881a6349f9bc538cb",
          "4681960bc0f4f8bcc782cbf2fd205f48ad314dfd",
          "4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2",
          "3f358a66a04513311668ea4b40f5064e253d8386",
          "cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c",
          "d7615bde541f16517d6790412da6ec46fa8a4c1f",
          "cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.8"
        ],
        "fixed_in": [
          "0",
          "5.10.247",
          "5.15.197",
          "6.1.159",
          "6.6.117",
          "6.12.59",
          "6.16.2",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 0521e694d5b80899fba8695881a6349f9bc538cb or 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd or 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2 or 3f358a66a04513311668ea4b40f5064e253d8386 or cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c or d7615bde541f16517d6790412da6ec46fa8a4c1f or cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973 or later.",
      "Upgrade Linux to 0 or 5.10.247 or 5.15.197 or 6.1.159 or 6.6.117 or 6.12.59 or 6.16.2 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
