{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "35b545332b809a439aa1bf3fde5305e6eb243cf0"
            },
            {
              "fixed": "32eb5deaba546813b1aa59484e5150e7b44b0775"
            },
            {
              "fixed": "930132f707c7ea67bc9cb8099ef784195cb6ca8c"
            },
            {
              "fixed": "ed99cc40d65a23c2294fb022b020efd57c2c8b07"
            },
            {
              "fixed": "dae739137441667d67fbfcc4d303a0ecc6618662"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.9.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99945.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: don't report -ENOMEM for a requested line without a label\n\ngpiod_request_commit() sets GPIOD_FLAG_REQUESTED, calls -\u003erequest() and\nonly then sets the label. A line in between has no label, so\ngpiochip_dup_line_label() passes NULL to kstrdup() and returns\nERR_PTR(-ENOMEM), which for_each_hwgpio() then passes to kfree():\n\n  BUG: unable to handle page fault for address: ffcc73074355ffc8\n  Call Trace:\n   gpio_sim_dbg_show\n   gpiolib_seq_show\n   seq_read_iter\n\nReturn NULL for such a line, as for an unrequested one.\n\nReproduced with gpio-sim: reading /sys/kernel/debug/gpio in a loop while\nlines are requested and released oopses within seconds; with this\nchange, 100000 cycles pass.",
  "id": "CVE-2026-99945",
  "modified": "2026-12-01T20:45:59.719997591Z",
  "published": "2026-11-30T13:18:31.147Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/32eb5deaba546813b1aa59484e5150e7b44b0775"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/930132f707c7ea67bc9cb8099ef784195cb6ca8c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dae739137441667d67fbfcc4d303a0ecc6618662"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ed99cc40d65a23c2294fb022b020efd57c2c8b07"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99945.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99945"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "gpiolib: don't report -ENOMEM for a requested line without a label"
}