CVE-2023-53152 (GCVE-0-2023-53152)
Vulnerability from cvelistv5
Published
2025-09-15 14:03
Modified
2025-09-16 08:02
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix calltrace warning in amddrm_buddy_fini The following call trace is observed when removing the amdgpu driver, which is caused by that BOs allocated for psp are not freed until removing. [61811.450562] RIP: 0010:amddrm_buddy_fini.cold+0x29/0x47 [amddrm_buddy] [61811.450577] Call Trace: [61811.450577] <TASK> [61811.450579] amdgpu_vram_mgr_fini+0x135/0x1c0 [amdgpu] [61811.450728] amdgpu_ttm_fini+0x207/0x290 [amdgpu] [61811.450870] amdgpu_bo_fini+0x27/0xa0 [amdgpu] [61811.451012] gmc_v9_0_sw_fini+0x4a/0x60 [amdgpu] [61811.451166] amdgpu_device_fini_sw+0x117/0x520 [amdgpu] [61811.451306] amdgpu_driver_release_kms+0x16/0x30 [amdgpu] [61811.451447] devm_drm_dev_init_release+0x4d/0x80 [drm] [61811.451466] devm_action_release+0x15/0x20 [61811.451469] release_nodes+0x40/0xb0 [61811.451471] devres_release_all+0x9b/0xd0 [61811.451473] __device_release_driver+0x1bb/0x2a0 [61811.451476] driver_detach+0xf3/0x140 [61811.451479] bus_remove_driver+0x6c/0xf0 [61811.451481] driver_unregister+0x31/0x60 [61811.451483] pci_unregister_driver+0x40/0x90 [61811.451486] amdgpu_exit+0x15/0x447 [amdgpu] For smu v13_0_2, if the GPU supports xgmi, refer to commit f5c7e7797060 ("drm/amdgpu: Adjust removal control flow for smu v13_0_2"), it will run gpu recover in AMDGPU_RESET_FOR_DEVICE_REMOVE mode when removing, which makes all devices in hive list have hw reset but no resume except the basic ip blocks, then other ip blocks will not call .hw_fini according to ip_block.status.hw. Since psp_free_shared_bufs just includes some software operations, so move it to psp_sw_fini.
Impacted products
Vendor Product Version
Linux Linux Version: 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a
Version: 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a
Version: 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a
Create a notification for this product.
   Linux Linux Version: 4.12
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ab6f446c220db0c131f2071846afd835799be0fb",
              "status": "affected",
              "version": "0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a",
              "versionType": "git"
            },
            {
              "lessThan": "756d674117f5c451f415d1c4046b927052a90c14",
              "status": "affected",
              "version": "0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a",
              "versionType": "git"
            },
            {
              "lessThan": "01382501509871d0799bab6bd412c228486af5bf",
              "status": "affected",
              "version": "0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.47",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.12",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix calltrace warning in amddrm_buddy_fini\n\nThe following call trace is observed when removing the amdgpu driver, which\nis caused by that BOs allocated for psp are not freed until removing.\n\n[61811.450562] RIP: 0010:amddrm_buddy_fini.cold+0x29/0x47 [amddrm_buddy]\n[61811.450577] Call Trace:\n[61811.450577]  \u003cTASK\u003e\n[61811.450579]  amdgpu_vram_mgr_fini+0x135/0x1c0 [amdgpu]\n[61811.450728]  amdgpu_ttm_fini+0x207/0x290 [amdgpu]\n[61811.450870]  amdgpu_bo_fini+0x27/0xa0 [amdgpu]\n[61811.451012]  gmc_v9_0_sw_fini+0x4a/0x60 [amdgpu]\n[61811.451166]  amdgpu_device_fini_sw+0x117/0x520 [amdgpu]\n[61811.451306]  amdgpu_driver_release_kms+0x16/0x30 [amdgpu]\n[61811.451447]  devm_drm_dev_init_release+0x4d/0x80 [drm]\n[61811.451466]  devm_action_release+0x15/0x20\n[61811.451469]  release_nodes+0x40/0xb0\n[61811.451471]  devres_release_all+0x9b/0xd0\n[61811.451473]  __device_release_driver+0x1bb/0x2a0\n[61811.451476]  driver_detach+0xf3/0x140\n[61811.451479]  bus_remove_driver+0x6c/0xf0\n[61811.451481]  driver_unregister+0x31/0x60\n[61811.451483]  pci_unregister_driver+0x40/0x90\n[61811.451486]  amdgpu_exit+0x15/0x447 [amdgpu]\n\nFor smu v13_0_2, if the GPU supports xgmi, refer to\n\ncommit f5c7e7797060 (\"drm/amdgpu: Adjust removal control flow for smu v13_0_2\"),\n\nit will run gpu recover in AMDGPU_RESET_FOR_DEVICE_REMOVE mode when removing,\nwhich makes all devices in hive list have hw reset but no resume except the\nbasic ip blocks, then other ip blocks will not call .hw_fini according to\nip_block.status.hw.\n\nSince psp_free_shared_bufs just includes some software operations, so move\nit to psp_sw_fini."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-16T08:02:19.214Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ab6f446c220db0c131f2071846afd835799be0fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/756d674117f5c451f415d1c4046b927052a90c14"
        },
        {
          "url": "https://git.kernel.org/stable/c/01382501509871d0799bab6bd412c228486af5bf"
        }
      ],
      "title": "drm/amdgpu: fix calltrace warning in amddrm_buddy_fini",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53152",
    "datePublished": "2025-09-15T14:03:20.482Z",
    "dateReserved": "2025-05-02T15:51:43.565Z",
    "dateUpdated": "2025-09-16T08:02:19.214Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53152\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T14:15:37.753\",\"lastModified\":\"2025-09-15T15:22:27.090\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdgpu: fix calltrace warning in amddrm_buddy_fini\\n\\nThe following call trace is observed when removing the amdgpu driver, which\\nis caused by that BOs allocated for psp are not freed until removing.\\n\\n[61811.450562] RIP: 0010:amddrm_buddy_fini.cold+0x29/0x47 [amddrm_buddy]\\n[61811.450577] Call Trace:\\n[61811.450577]  \u003cTASK\u003e\\n[61811.450579]  amdgpu_vram_mgr_fini+0x135/0x1c0 [amdgpu]\\n[61811.450728]  amdgpu_ttm_fini+0x207/0x290 [amdgpu]\\n[61811.450870]  amdgpu_bo_fini+0x27/0xa0 [amdgpu]\\n[61811.451012]  gmc_v9_0_sw_fini+0x4a/0x60 [amdgpu]\\n[61811.451166]  amdgpu_device_fini_sw+0x117/0x520 [amdgpu]\\n[61811.451306]  amdgpu_driver_release_kms+0x16/0x30 [amdgpu]\\n[61811.451447]  devm_drm_dev_init_release+0x4d/0x80 [drm]\\n[61811.451466]  devm_action_release+0x15/0x20\\n[61811.451469]  release_nodes+0x40/0xb0\\n[61811.451471]  devres_release_all+0x9b/0xd0\\n[61811.451473]  __device_release_driver+0x1bb/0x2a0\\n[61811.451476]  driver_detach+0xf3/0x140\\n[61811.451479]  bus_remove_driver+0x6c/0xf0\\n[61811.451481]  driver_unregister+0x31/0x60\\n[61811.451483]  pci_unregister_driver+0x40/0x90\\n[61811.451486]  amdgpu_exit+0x15/0x447 [amdgpu]\\n\\nFor smu v13_0_2, if the GPU supports xgmi, refer to\\n\\ncommit f5c7e7797060 (\\\"drm/amdgpu: Adjust removal control flow for smu v13_0_2\\\"),\\n\\nit will run gpu recover in AMDGPU_RESET_FOR_DEVICE_REMOVE mode when removing,\\nwhich makes all devices in hive list have hw reset but no resume except the\\nbasic ip blocks, then other ip blocks will not call .hw_fini according to\\nip_block.status.hw.\\n\\nSince psp_free_shared_bufs just includes some software operations, so move\\nit to psp_sw_fini.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/01382501509871d0799bab6bd412c228486af5bf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/756d674117f5c451f415d1c4046b927052a90c14\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ab6f446c220db0c131f2071846afd835799be0fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…