{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0fb528c8255bd2de6a2fba26ed28d75a7f0cb630"
            },
            {
              "fixed": "8dbcb3a8cfdf8ff5afce62dad50790278ff0d3b7"
            },
            {
              "fixed": "51fafb3cd7fcf4f4682693b4d2883e2a5bfffe33"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38631.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: PAC1934: fix accessing out of bounds array index\n\nFix accessing out of bounds array index for average\ncurrent and voltage measurements. The device itself has\nonly 4 channels, but in sysfs there are \"fake\"\nchannels for the average voltages and currents too.",
  "id": "CVE-2024-38631",
  "modified": "2026-04-01T23:10:19.364789535Z",
  "published": "2024-06-21T10:18:21.553Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/51fafb3cd7fcf4f4682693b4d2883e2a5bfffe33"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8dbcb3a8cfdf8ff5afce62dad50790278ff0d3b7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38631.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-38631"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "iio: adc: PAC1934: fix accessing out of bounds array index"
}