{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6d5dd486c715908b5a6ed02315a15ff044a91025"
            },
            {
              "fixed": "81a635b6eccd6fc889f6d07ab9583b705f739ce1"
            },
            {
              "fixed": "16285a0931869baa618b1f5d304e1e9d090470a8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.15.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38667.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: fix potential out-of-bound write\n\nThe buffer is set to 20 characters. If a caller write more characters,\ncount is truncated to the max available space in \"simple_write_to_buffer\".\nTo protect from OoB access, check that the input size fit into buffer and\nadd a zero terminator after copy to the end of the copied data.",
  "id": "CVE-2025-38667",
  "modified": "2026-07-15T01:49:12.017771979Z",
  "published": "2025-08-22T16:02:58.865Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/16285a0931869baa618b1f5d304e1e9d090470a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/81a635b6eccd6fc889f6d07ab9583b705f739ce1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38667.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-38667"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "iio: fix potential out-of-bound write"
}