{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "da7e394bf58f94e9783379fef7c7fb4411b03208"
            },
            {
              "fixed": "87b9d7a4cfbed5f42af440372026270af997c766"
            },
            {
              "fixed": "6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46258.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: cdev: Avoid NULL dereference in linehandle_create()\n\nIn linehandle_create(), there is a statement like this:\n  retain_and_null_ptr(lh);\n\nSoon after, there is a debug printout that dereferences \"lh\", which\nwill crash things.\n\nAvoid the crash by using handlereq.lines, which is the same value.",
  "id": "CVE-2026-46258",
  "modified": "2026-07-08T05:37:22.530414464Z",
  "published": "2026-06-03T15:49:55.372Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/87b9d7a4cfbed5f42af440372026270af997c766"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46258.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46258"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "gpio: cdev: Avoid NULL dereference in linehandle_create()"
}