{
  "id": "CVE-2025-38082",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38082",
  "published_at": "2025-06-18T09:35:41.902Z",
  "title": "gpio: virtuser: fix potential out-of-bound write",
  "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\ngpio: virtuser: fix potential out-of-bound write\n\nIf the caller wrote more characters, count is truncated to the max\navailable space in \"simple_write_to_buffer\". Check that the input\nsize does not exceed the buffer size. Write a zero termination\nafterwards.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "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:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, \u003c afe090366f470f77e140ff3407db813f57852c04",
          "\u003e= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, \u003c b96feaaa0fda1e3871b438143c3446954b32d3a7",
          "\u003e= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, \u003c 7118be7c6072f40391923543fdd1563b8d56377c"
        ],
        "fixed_in": [
          "afe090366f470f77e140ff3407db813f57852c04",
          "b96feaaa0fda1e3871b438143c3446954b32d3a7",
          "7118be7c6072f40391923543fdd1563b8d56377c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.32",
          "6.14.10",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to afe090366f470f77e140ff3407db813f57852c04 or b96feaaa0fda1e3871b438143c3446954b32d3a7 or 7118be7c6072f40391923543fdd1563b8d56377c or later.",
      "Upgrade Linux to 0 or 6.12.32 or 6.14.10 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
