# CVE-2023-53152: drm/amdgpu: fix calltrace warning in amddrm\_buddy\_fini

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-772
- **Published:** 2025-09-15T14:03:20.482Z
- **Modified:** 2026-06-17T06:44:23.847Z

## Who should check

- Anyone running Linux \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< ab6f446c220db0c131f2071846afd835799be0fb; \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< 756d674117f5c451f415d1c4046b927052a90c14; \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< 01382501509871d0799bab6bd412c228486af5bf
- Anyone running Linux 4.12

## Description

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.

## Affected and fixed versions

- Linux: \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< ab6f446c220db0c131f2071846afd835799be0fb; \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< 756d674117f5c451f415d1c4046b927052a90c14; \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< 01382501509871d0799bab6bd412c228486af5bf (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 01382501509871d0799bab6bd412c228486af5bf or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53152. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53152.md
Affected: Linux >= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, < ab6f446c220db0c131f2071846afd835799be0fb; >= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, < 756d674117f5c451f415d1c4046b927052a90c14; >= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, < 01382501509871d0799bab6bd412c228486af5bf; Linux 4.12
Fixed in: Linux 756d674117f5c451f415d1c4046b927052a90c14, Linux 01382501509871d0799bab6bd412c228486af5bf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53152 being exploited?

There is no confirmed exploitation: CVE-2023-53152 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53152?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53152?

Linux \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< ab6f446c220db0c131f2071846afd835799be0fb; \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< 756d674117f5c451f415d1c4046b927052a90c14; \>= 0e5ca0d1ac07ef8b3a52d3b0404482207cb4da5a, \< 01382501509871d0799bab6bd412c228486af5bf; Linux 4.12.

### Is there a fix for CVE-2023-53152?

Yes. Fixed in Linux 756d674117f5c451f415d1c4046b927052a90c14, Linux 01382501509871d0799bab6bd412c228486af5bf. Upgrade Linux to 01382501509871d0799bab6bd412c228486af5bf or later.

### How do I check if I'm affected by CVE-2023-53152?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ab6f446c220db0c131f2071846afd835799be0fb>
- patch: <https://git.kernel.org/stable/c/756d674117f5c451f415d1c4046b927052a90c14>
- patch: <https://git.kernel.org/stable/c/01382501509871d0799bab6bd412c228486af5bf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53152>

HTML: <https://flawdb.com/CVE-2023-53152> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53152>
