{
  "id": "CVE-2025-38133",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38133",
  "published_at": "2025-07-03T08:35:36.802Z",
  "title": "iio: adc: ad4851: fix ad4858 chan pointer handling",
  "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\niio: adc: ad4851: fix ad4858 chan pointer handling\n\nThe pointer returned from ad4851_parse_channels_common() is incremented\ninternally as each channel is populated. In ad4858_parse_channels(),\nthe same pointer was further incremented while setting ext_scan_type\nfields for each channel. This resulted in indio_dev-\u003echannels being set\nto a pointer past the end of the allocated array, potentially causing\nmemory corruption or undefined behavior.\n\nFix this by iterating over the channels using an explicit index instead\nof incrementing the pointer. This preserves the original base pointer\nand ensures all channel metadata is set correctly.",
  "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= 6250803fe2ec92be32a4df1c3a39c4a460d5bd58, \u003c 6c3b9e1167d072ce2d01cafec7866647cf8d3616",
          "\u003e= 6250803fe2ec92be32a4df1c3a39c4a460d5bd58, \u003c 499a8cee812588905cc940837e69918c1649a19e"
        ],
        "fixed_in": [
          "6c3b9e1167d072ce2d01cafec7866647cf8d3616",
          "499a8cee812588905cc940837e69918c1649a19e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.15"
        ],
        "fixed_in": [
          "0",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 6c3b9e1167d072ce2d01cafec7866647cf8d3616 or 499a8cee812588905cc940837e69918c1649a19e or later.",
      "Upgrade Linux to 0 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
