{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "186b89659c4c67cccead52961eab0ca3b23951dc"
            },
            {
              "fixed": "97548e8160cbc433bd66cdc6d974018ffc2922e5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "56c134f7f1b58be08bdb0ca8372474a4a5165f31"
            },
            {
              "fixed": "42271c979961a5e58c59791328e869521ea9fa31"
            },
            {
              "fixed": "20bd45d774b79d90842c394eb8f2fd8932c00294"
            },
            {
              "fixed": "6699431359c8d6dd50b94eeb31f29ed2219ff03c"
            },
            {
              "fixed": "99059dc7ee7bd0f4d9a695a7404e80efac5fdde3"
            },
            {
              "fixed": "4f511fa01d682c50f6c9e1c71fe5c98efa113cdd"
            },
            {
              "fixed": "5b234b0dd29d79207c059c7b40851dd1e934fa3a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.149"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.19.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.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/138xxx/CVE-2026-138824.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: xen-fbfront: check for fb_deferred_io_init() error\n\nfb_deferred_io_init() allocates deferred I/O state, populating\ninfo-\u003efbdefio_state, or leaving it NULL if an error occurs.\n\nCurrently xenfb_probe() ignores its return value.\n\nTherefore if an error arises in fb_deferred_io_init() (for instance, due\nto an allocation failure) info-\u003efbdefio_state is left NULL.\n\nWhen the file is subsequently opened, fb_open() will dereference a NULL\npointer (calling fb_deferred_io_open()).\n\nFix this by checking for the error.",
  "id": "CVE-2026-138824",
  "modified": "2026-11-30T14:45:35.471572514Z",
  "published": "2026-11-30T13:25:19.612Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/20bd45d774b79d90842c394eb8f2fd8932c00294"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/42271c979961a5e58c59791328e869521ea9fa31"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4f511fa01d682c50f6c9e1c71fe5c98efa113cdd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b234b0dd29d79207c059c7b40851dd1e934fa3a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6699431359c8d6dd50b94eeb31f29ed2219ff03c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/97548e8160cbc433bd66cdc6d974018ffc2922e5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/99059dc7ee7bd0f4d9a695a7404e80efac5fdde3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138824.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138824"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "fbdev: xen-fbfront: check for fb_deferred_io_init() error"
}