# CVE-2024-50174: drm/panthor: Fix race when converting group handle to group object

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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-08T05:23:56.752Z
- Modified: 2026-08-05T11:42:17.523Z
- Weaknesses: CWE-362
- 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/panthor: Fix race when converting group handle to group object

XArray provides it's own internal lock which protects the internal array
when entries are being simultaneously added and removed. However there
is still a race between retrieving the pointer from the XArray and
incrementing the reference count.

To avoid this race simply hold the internal XArray lock when
incrementing the reference count, this ensures there cannot be a racing
call to xa_erase().

(As written by CVE List.)

## Affected

- Linux Linux: from de85488138247d034eb3241840424a54d660926b before 8a585d553c11965332d7a2d74e79ef92a42bfc87; from de85488138247d034eb3241840424a54d660926b before 44742138d151c3a945460ae7beff8ae45ac0bf58; from de85488138247d034eb3241840424a54d660926b before cac075706f298948898b1f63e81709df42afa75d; 6.10 (not affected: before 6.10; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.10 before 6.10.14; from 6.11 before 6.11.3; 6.12

## Every score

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

## References

- <https://git.kernel.org/stable/c/8a585d553c11965332d7a2d74e79ef92a42bfc87> (patch)
- <https://git.kernel.org/stable/c/44742138d151c3a945460ae7beff8ae45ac0bf58> (patch)
- <https://git.kernel.org/stable/c/cac075706f298948898b1f63e81709df42afa75d> (patch)

## Sources

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

---

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