# CVE-2024-56752: drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()

- 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.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2024-12-29T11:30:17.555Z
- Modified: 2026-06-17T08:12:54.453Z
- 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/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()

When the call to gf100_grctx_generate() fails, unlock gr->fecs.mutex
before returning the error.

Fixes smatch warning:

drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:480 gf100_gr_chan_new() warn: inconsistent returns '&gr->fecs.mutex'.

(As written by CVE List.)

## Affected

- Linux Linux: from ca081fff6ecc63c86a99918230cc9b947bebae8a before 237f2dbfa00576bb1aa8dc2dce403c64e53270e6; from ca081fff6ecc63c86a99918230cc9b947bebae8a before 22b4a623c0f230540f02f4358744cce62ae12dbf; from ca081fff6ecc63c86a99918230cc9b947bebae8a before 24b1df744ef444f9846f52de4985790a5fd1c0de; from ca081fff6ecc63c86a99918230cc9b947bebae8a before a2f599046c671d6b46d93aed95b37241ce4504cf; 6.2 (not affected: before 6.2; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.2 before 6.6.64; from 6.11.0 before 6.11.11; from 6.12 before 6.12.2

## 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/237f2dbfa00576bb1aa8dc2dce403c64e53270e6> (patch)
- <https://git.kernel.org/stable/c/22b4a623c0f230540f02f4358744cce62ae12dbf> (patch)
- <https://git.kernel.org/stable/c/24b1df744ef444f9846f52de4985790a5fd1c0de> (patch)
- <https://git.kernel.org/stable/c/a2f599046c671d6b46d93aed95b37241ce4504cf> (patch)

## Sources

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

---

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