{
  "id": "CVE-2025-38182",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38182",
  "published_at": "2025-07-04T13:37:09.637Z",
  "title": "ublk: santizize the arguments from userspace when adding a device",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "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\nublk: santizize the arguments from userspace when adding a device\n\nSanity check the values for queue depth and number of queues\nwe get from userspace when adding a device.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 71f28f3136aff5890cd56de78abc673f8393cad9, \u003c a52d4e28f643eb4ffc7ccb1de9bd47d876804f1f",
          "\u003e= 71f28f3136aff5890cd56de78abc673f8393cad9, \u003c 3162d8235c8c4d585525cee8a59d1c180940a968",
          "\u003e= 71f28f3136aff5890cd56de78abc673f8393cad9, \u003c 0f8df5d6f25ac17c52a8bc6418e60a3e63130550",
          "\u003e= 71f28f3136aff5890cd56de78abc673f8393cad9, \u003c e2b2b7cf6368580114851cb3932f2ad9fbf23386",
          "\u003e= 71f28f3136aff5890cd56de78abc673f8393cad9, \u003c 8c8472855884355caf3d8e0c50adf825f83454b2"
        ],
        "fixed_in": [
          "a52d4e28f643eb4ffc7ccb1de9bd47d876804f1f",
          "3162d8235c8c4d585525cee8a59d1c180940a968",
          "0f8df5d6f25ac17c52a8bc6418e60a3e63130550",
          "e2b2b7cf6368580114851cb3932f2ad9fbf23386",
          "8c8472855884355caf3d8e0c50adf825f83454b2"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.0"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.95",
          "6.12.35",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a52d4e28f643eb4ffc7ccb1de9bd47d876804f1f or 3162d8235c8c4d585525cee8a59d1c180940a968 or 0f8df5d6f25ac17c52a8bc6418e60a3e63130550 or e2b2b7cf6368580114851cb3932f2ad9fbf23386 or 8c8472855884355caf3d8e0c50adf825f83454b2 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.95 or 6.12.35 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
