{
  "id": "CVE-2025-68167",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-68167",
  "published_at": "2025-12-16T13:42:47.48Z",
  "title": "gpiolib: fix invalid pointer access in debugfs",
  "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\ngpiolib: fix invalid pointer access in debugfs\n\nIf the memory allocation in gpiolib_seq_start() fails, the s-\u003eprivate\nfield remains uninitialized and is later dereferenced without checking\nin gpiolib_seq_stop(). Initialize s-\u003eprivate to NULL before calling\nkzalloc() and check it before dereferencing it.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e348544f7994d252427ed3ae637c7081cbb90f66, \u003c 70180a6031056096c93ed2f47c41803268bdd91c",
          "\u003e= e348544f7994d252427ed3ae637c7081cbb90f66, \u003c 3c91c8f424d3e44c8645ab765a38773e58afb07d",
          "\u003e= e348544f7994d252427ed3ae637c7081cbb90f66, \u003c 2f6115ad8864cf3f48598f26c74c7c8e5c391919"
        ],
        "fixed_in": [
          "70180a6031056096c93ed2f47c41803268bdd91c",
          "3c91c8f424d3e44c8645ab765a38773e58afb07d",
          "2f6115ad8864cf3f48598f26c74c7c8e5c391919"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.9"
        ],
        "fixed_in": [
          "0",
          "6.12.58",
          "6.17.8",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 70180a6031056096c93ed2f47c41803268bdd91c or 3c91c8f424d3e44c8645ab765a38773e58afb07d or 2f6115ad8864cf3f48598f26c74c7c8e5c391919 or later.",
      "Upgrade Linux to 0 or 6.12.58 or 6.17.8 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
