{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "75a57669cbc881032c60615a31bfc6bfab4c813c"
            },
            {
              "fixed": "704be250bb97fea86d067a0068a34ac66eb844d0"
            },
            {
              "fixed": "853100a20c1f3e5f1ceced93ce7ec97b5ab6c301"
            },
            {
              "fixed": "0c767d9b0d28ea8699804f4360b4bf9bd5254e80"
            },
            {
              "fixed": "8b5e12139ca8982c4811a6ec2b4252b3e83094a6"
            },
            {
              "fixed": "e3652a5d4cd7726fa4805c2d7890643cd22be2a9"
            },
            {
              "fixed": "428eeed252ba1dfc84ad10354ac27118a6bf84f2"
            },
            {
              "fixed": "5c1cbd955faeffc4809da80bfd2b1c567337baf9"
            },
            {
              "fixed": "fd485d47437ba1700dd47205a63b9f389a00aa36"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.17.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.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-138853.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ttm: return an error when kmapping a BO without pages\n\nttm_tt objects for imported sg tables (ttm_bo_type_sg, set up by\nttm_sg_tt_init() with TTM_TT_FLAG_EXTERNAL) only have DMA addresses and\nno pages array. ttm_bo_kmap() and ttm_bo_vmap() still dereference\nttm-\u003epages for them, so a driver that tries to CPU map such a BO oopses\ninstead of getting an error:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:ttm_bo_kmap+0x26c/0x300 [ttm]\n  Call Trace:\n   amdgpu_bo_kmap+0x89/0xb0 [amdgpu]\n   amdgpu_userq_fence_read_wptr+0x116/0x170 [amdgpu]\n   amdgpu_userq_signal_ioctl+0x3fe/0xbb0 [amdgpu]\n\nReturn -EINVAL in that case, like ttm_bo_kmap_try_from_panic() already\nchecks for a missing pages array.",
  "id": "CVE-2026-138853",
  "modified": "2026-12-01T06:45:51.461958619Z",
  "published": "2026-11-30T13:25:35.590Z",
  "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/0c767d9b0d28ea8699804f4360b4bf9bd5254e80"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/428eeed252ba1dfc84ad10354ac27118a6bf84f2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5c1cbd955faeffc4809da80bfd2b1c567337baf9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/704be250bb97fea86d067a0068a34ac66eb844d0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/853100a20c1f3e5f1ceced93ce7ec97b5ab6c301"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8b5e12139ca8982c4811a6ec2b4252b3e83094a6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e3652a5d4cd7726fa4805c2d7890643cd22be2a9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fd485d47437ba1700dd47205a63b9f389a00aa36"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138853.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138853"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "drm/ttm: return an error when kmapping a BO without pages"
}