drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
Published Dec 29, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.21%
Description
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'.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.2StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.2
- Version 6.11.11StatusunaffectedConstraints<=6.11.*
- Version 6.12.2StatusunaffectedConstraints<=6.12.*
- Version 6.13StatusunaffectedConstraints<=*
- Version 6.6.64StatusunaffectedConstraints<=6.6.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 6.2 · < 6.6.64
- ≥ 6.11.0 · < 6.11.11
- ≥ 6.12 · < 6.12.2
No data.
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Out of support scope
Red Hat Enterprise Linux 8
kernel-rt
Out of support scope
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (10)
- https://access.redhat.com/security/cve/CVE-2024-56752 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2334804 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-53395 Advisory
- https://git.kernel.org/stable/c/22b4a623c0f230540f02f4358744cce62ae12dbf Patch
- https://git.kernel.org/stable/c/237f2dbfa00576bb1aa8dc2dce403c64e53270e6 Patch
- https://git.kernel.org/stable/c/24b1df744ef444f9846f52de4985790a5fd1c0de Patch
- https://git.kernel.org/stable/c/a2f599046c671d6b46d93aed95b37241ce4504cf Patch
- https://lore.kernel.org/linux-cve-announce/2024122927-CVE-2024-56752-09d2@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-56752
- https://www.cve.org/CVERecord?id=CVE-2024-56752
Change history (0)
No recorded changes yet.