{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99620",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99620"
  ],
  "published": "2026-11-20T05:52:17Z",
  "summary": "drm/amdgpu: don't walk the CS chunks when allocating them failed",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: don't walk the CS chunks when allocating them failed\n\namdgpu_cs_pass1() sets p->nchunks before allocating p->chunks, and the\nallocation failure path skips resetting it. amdgpu_cs_parser_fini() then\nfrees the kdata of nchunks chunks from a NULL array. On navi48 with the\nchunk array allocation failed through failslab:\n\n  Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI\n  KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]\n  RIP: 0010:amdgpu_cs_parser_fini+0x35d/0x710 [amdgpu]\n   amdgpu_cs_ioctl+0xcae/0x7a20 [amdgpu]\n   drm_ioctl_kernel+0x180/0x320 [drm]\n\nSet nchunks once the array exists.\n\n(cherry picked from commit 0c828445757b86aaa3ed2638832d76f450022bdf)",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.193",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99620"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4cd5e39dd18a4ef6d13fd8ae6160e972f4687041"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ce3e5a3441483c6c435c9ff1f94f174a28c6b27c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c30283492afb006b913410d01c5280d9eda866aa"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ff9e4a98f6e854963bd5ed80a5790450956711a5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4a2f0b93077dc87f30ad73be8997761a71d124fc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e3be92649ed377d41b1687a84139fc17f335c21f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/be90166ed3be02c13253f54ed2a8fe98a66cea30"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ade92d50aad6799a5a9d7e73cd1604fd0576e656"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
