{
  "id": "CVE-2025-38286",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38286",
  "published_at": "2025-07-10T07:42:03.409Z",
  "title": "pinctrl: at91: Fix possible out-of-boundary access",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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\npinctrl: at91: Fix possible out-of-boundary access\n\nat91_gpio_probe() doesn't check that given OF alias is not available or\nsomething went wrong when trying to get it. This might have consequences\nwhen accessing gpio_chips array with that value as an index. Note, that\nBUG() can be compiled out and hence won't actually perform the required\nchecks.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c 264a5cf0c422e65c94447a1ebebfac7c92690670",
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c db5665cbfd766db7d8cd0e5fd6e3c0b412916774",
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c 2ecafe59668d2506a68459a9d169ebe41a147a41",
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478",
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c eb435bc4c74acbb286cec773deac13d117d3ef39",
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c e02e12d6a7ab76c83849a4122785650dc7edef65",
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c 288c39286f759314ee8fb3a80a858179b4f306da",
          "\u003e= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \u003c 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1"
        ],
        "fixed_in": [
          "264a5cf0c422e65c94447a1ebebfac7c92690670",
          "db5665cbfd766db7d8cd0e5fd6e3c0b412916774",
          "2ecafe59668d2506a68459a9d169ebe41a147a41",
          "f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478",
          "eb435bc4c74acbb286cec773deac13d117d3ef39",
          "e02e12d6a7ab76c83849a4122785650dc7edef65",
          "288c39286f759314ee8fb3a80a858179b4f306da",
          "762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.8"
        ],
        "fixed_in": [
          "0",
          "5.4.295",
          "5.10.239",
          "5.15.186",
          "6.1.142",
          "6.6.94",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 264a5cf0c422e65c94447a1ebebfac7c92690670 or db5665cbfd766db7d8cd0e5fd6e3c0b412916774 or 2ecafe59668d2506a68459a9d169ebe41a147a41 or f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478 or eb435bc4c74acbb286cec773deac13d117d3ef39 or e02e12d6a7ab76c83849a4122785650dc7edef65 or 288c39286f759314ee8fb3a80a858179b4f306da or 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1 or later.",
      "Upgrade Linux to 0 or 5.4.295 or 5.10.239 or 5.15.186 or 6.1.142 or 6.6.94 or 6.12.34 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
