{
  "id": "CVE-2025-38617",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38617",
  "published_at": "2025-08-22T13:01:23.963Z",
  "title": "net/packet: fix a race in packet_set_ring() and packet_notifier()",
  "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\nnet/packet: fix a race in packet_set_ring() and packet_notifier()\n\nWhen packet_set_ring() releases po-\u003ebind_lock, another thread can\nrun packet_notifier() and process an NETDEV_UP event.\n\nThis race and the fix are both similar to that of commit 15fe076edea7\n(\"net/packet: fix a race in packet_bind() and packet_notifier()\").\n\nThere too the packet_notifier NETDEV_UP event managed to run while a\npo-\u003ebind_lock critical section had to be temporarily released. And\nthe fix was similarly to temporarily set po-\u003enum to zero to keep\nthe socket unhooked until the lock is retaken.\n\nThe po-\u003ebind_lock in packet_set_ring and packet_notifier precede the\nintroduction of git history.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 4.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 18f13f2a83eb81be349a9757ba2141ff1da9ad73",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 7da733f117533e9b2ebbd530a22ae4028713955c",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c ba2257034755ae773722f15f4c3ad1dcdad15ca9",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 7de07705007c7e34995a5599aaab1d23e762d7ca",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 88caf46db8239e6471413d28aabaa6b8bd552805",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c f2e8fcfd2b1bc754920108b7f2cd75082c5a18df",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c e50ccfaca9e3c671cae917dcb994831a859cf588",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c f1791fd7b845bea0ce9674fcf2febee7bc87a893",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 01d3c8417b9c1b884a8a981a3b886da556512f36"
        ],
        "fixed_in": [
          "18f13f2a83eb81be349a9757ba2141ff1da9ad73",
          "7da733f117533e9b2ebbd530a22ae4028713955c",
          "ba2257034755ae773722f15f4c3ad1dcdad15ca9",
          "7de07705007c7e34995a5599aaab1d23e762d7ca",
          "88caf46db8239e6471413d28aabaa6b8bd552805",
          "f2e8fcfd2b1bc754920108b7f2cd75082c5a18df",
          "e50ccfaca9e3c671cae917dcb994831a859cf588",
          "f1791fd7b845bea0ce9674fcf2febee7bc87a893",
          "01d3c8417b9c1b884a8a981a3b886da556512f36"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.241",
          "5.15.190",
          "6.1.148",
          "6.6.102",
          "6.12.42",
          "6.15.10",
          "6.16.1",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 18f13f2a83eb81be349a9757ba2141ff1da9ad73 or 7da733f117533e9b2ebbd530a22ae4028713955c or ba2257034755ae773722f15f4c3ad1dcdad15ca9 or 7de07705007c7e34995a5599aaab1d23e762d7ca or 88caf46db8239e6471413d28aabaa6b8bd552805 or f2e8fcfd2b1bc754920108b7f2cd75082c5a18df or e50ccfaca9e3c671cae917dcb994831a859cf588 or f1791fd7b845bea0ce9674fcf2febee7bc87a893 or 01d3c8417b9c1b884a8a981a3b886da556512f36 or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.148 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/google/security-research/pull/339"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
