# CVE-2024-38581: drm/amdgpu/mes: fix use-after-free issue

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-19 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-38581, DEBIAN-CVE-2024-38581
- Record: https://cvemate.com/vulnerability/CVE-2024-38581 · JSON: https://cvemate.com/vulnerability/CVE-2024-38581/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu/mes: fix use-after-free issue

Delete fence fallback timer to fix the ramdom
use-after-free issue.

v2: move to amdgpu_mes.c
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.231%, percentile 14.952%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 109)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.8.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/70b1bf6d9edc8692d241f59a65f073aec6d501de>
- <https://git.kernel.org/stable/c/39cfce75168c11421d70b8c0c65f6133edccb82a>
- <https://git.kernel.org/stable/c/0f98c144c15c8fc0f3176c994bd4e727ef718a5c>
- <https://git.kernel.org/stable/c/948255282074d9367e01908b3f5dcf8c10fc9c3d>
- <https://ubuntu.com/security/CVE-2024-38581>
- <https://www.cve.org/CVERecord?id=CVE-2024-38581>
- <https://git.kernel.org/linus/948255282074d9367e01908b3f5dcf8c10fc9c3d>
- <https://security-tracker.debian.org/tracker/CVE-2024-38581>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38581>

---

Data as of 2026-12-05T08:38:29.624Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
