{
  "id": "CVE-2025-38101",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38101",
  "published_at": "2025-07-03T08:35:10.844Z",
  "title": "ring-buffer: Fix buffer locking in ring_buffer_subbuf_order_set()",
  "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\nring-buffer: Fix buffer locking in ring_buffer_subbuf_order_set()\n\nEnlarge the critical section in ring_buffer_subbuf_order_set() to\nensure that error handling takes place with per-buffer mutex held,\nthus preventing list corruption and other concurrency-related issues.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f9b94daa542a8d2532f0930f01cd9aec2d19621b, \u003c e09c0600beea469b3ebf974464e526a02d59ad62",
          "\u003e= f9b94daa542a8d2532f0930f01cd9aec2d19621b, \u003c 0fc9a295cd8e59c3636e97395e7c74a9c89fee42",
          "\u003e= f9b94daa542a8d2532f0930f01cd9aec2d19621b, \u003c 40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e"
        ],
        "fixed_in": [
          "e09c0600beea469b3ebf974464e526a02d59ad62",
          "0fc9a295cd8e59c3636e97395e7c74a9c89fee42",
          "40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.8"
        ],
        "fixed_in": [
          "0",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e09c0600beea469b3ebf974464e526a02d59ad62 or 0fc9a295cd8e59c3636e97395e7c74a9c89fee42 or 40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e or later.",
      "Upgrade Linux to 0 or 6.12.34 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
