# CVE-2024-50144: drm/xe: fix unbalanced rpm put() with fence_fini()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2024-11-07T09:31:21.224Z
- Modified: 2026-06-17T08:03:42.203Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/xe: fix unbalanced rpm put() with fence_fini()

Currently we can call fence_fini() twice if something goes wrong when
sending the GuC CT for the tlb request, since we signal the fence and
return an error, leading to the caller also calling fini() on the error
path in the case of stack version of the flow, which leads to an extra
rpm put() which might later cause device to enter suspend when it
shouldn't. It looks like we can just drop the fini() call since the
fence signaller side will already call this for us.

There are known mysterious splats with device going to sleep even with
an rpm ref, and this could be one candidate.

v2 (Matt B):
  - Prefer warning if we detect double fini()

(cherry picked from commit cfcbc0520d5055825f0647ab922b655688605183)

(As written by CVE List.)

## Affected

- Linux Linux: from f002702290fccbd473f5bb94e52f25c96917fff2 before 046bd018c0123b1a49c22abed5f9ea31d1454c78; from f002702290fccbd473f5bb94e52f25c96917fff2 before 03a86c24aea0920a1ca20a0d7771d5e176db538d; 6.11 (not affected: before 6.11; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.11 before 6.11.6; 6.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/046bd018c0123b1a49c22abed5f9ea31d1454c78> (patch)
- <https://git.kernel.org/stable/c/03a86c24aea0920a1ca20a0d7771d5e176db538d> (patch)

## Sources

- CVE List: [CVE-2024-50144](https://www.cve.org/CVERecord?id=CVE-2024-50144), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50144](https://nvd.nist.gov/vuln/detail/CVE-2024-50144), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50144 · Whole record: https://cve.day/CVE-2024-50144.json · Rebuilt by cve.day 2026-11-25T22:58:47.855Z
