{
  "id": "CVE-2025-37997",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37997",
  "published_at": "2025-05-29T13:15:55.58Z",
  "title": "netfilter: ipset: fix region locking in hash types",
  "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: ipset: fix region locking in hash types\n\nRegion locking introduced in v5.6-rc4 contained three macros to handle\nthe region locks: ahash_bucket_start(), ahash_bucket_end() which gave\nback the start and end hash bucket values belonging to a given region\nlock and ahash_region() which should give back the region lock belonging\nto a given hash bucket. The latter was incorrect which can lead to a\nrace condition between the garbage collector and adding new elements\nwhen a hash type of set is defined with timeouts.",
  "cwe": "CWE-667",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.6:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.6:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.6:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.6:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.6:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 5dd9488ae41070b69d2f4acb580f77db5705f9ca, \u003c 00cfc5fad1491796942a948808afb968a0a3f35b",
          "\u003e= f66ee0410b1c3481ee75e5db9b34547b4d582465, \u003c 226ce0ec38316d9e3739e73a64b6b8304646c658",
          "\u003e= f66ee0410b1c3481ee75e5db9b34547b4d582465, \u003c 82c1eb32693bc48251d92532975e19160987e5b9",
          "\u003e= f66ee0410b1c3481ee75e5db9b34547b4d582465, \u003c aa77294b0f73bb8265987591460cd25b8722c3df",
          "\u003e= f66ee0410b1c3481ee75e5db9b34547b4d582465, \u003c a3dfec485401943e315c394c29afe2db8f9481d6",
          "\u003e= f66ee0410b1c3481ee75e5db9b34547b4d582465, \u003c e2ab67672b2288521a6146034a971f9a82ffc5c5",
          "\u003e= f66ee0410b1c3481ee75e5db9b34547b4d582465, \u003c 6e002ecc1c8cfdfc866b9104ab7888da54613e59",
          "\u003e= f66ee0410b1c3481ee75e5db9b34547b4d582465, \u003c 8478a729c0462273188263136880480729e9efca",
          "a469bab3386aebff33c59506f3a95e35b91118fd",
          "\u003e= 5.4.24, \u003c 5.4.294",
          "\u003e= 5.5.8, \u003c 5.6"
        ],
        "fixed_in": [
          "00cfc5fad1491796942a948808afb968a0a3f35b",
          "226ce0ec38316d9e3739e73a64b6b8304646c658",
          "82c1eb32693bc48251d92532975e19160987e5b9",
          "aa77294b0f73bb8265987591460cd25b8722c3df",
          "a3dfec485401943e315c394c29afe2db8f9481d6",
          "e2ab67672b2288521a6146034a971f9a82ffc5c5",
          "6e002ecc1c8cfdfc866b9104ab7888da54613e59",
          "8478a729c0462273188263136880480729e9efca",
          "5.4.294",
          "5.6"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.6"
        ],
        "fixed_in": [
          "0",
          "5.4.294",
          "5.10.238",
          "5.15.183",
          "6.1.139",
          "6.6.91",
          "6.12.29",
          "6.14.7",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 00cfc5fad1491796942a948808afb968a0a3f35b or 226ce0ec38316d9e3739e73a64b6b8304646c658 or 82c1eb32693bc48251d92532975e19160987e5b9 or aa77294b0f73bb8265987591460cd25b8722c3df or a3dfec485401943e315c394c29afe2db8f9481d6 or e2ab67672b2288521a6146034a971f9a82ffc5c5 or 6e002ecc1c8cfdfc866b9104ab7888da54613e59 or 8478a729c0462273188263136880480729e9efca or 5.4.294 or 5.6 or later.",
      "Upgrade Linux to 0 or 5.4.294 or 5.10.238 or 5.15.183 or 6.1.139 or 6.6.91 or 6.12.29 or 6.14.7 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
