drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new() (Linux Linux)

CVE-2024-56752
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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'.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ca081fff6ecc63c86a99918230cc9b947bebae8a < 237f2dbfa00576bb1aa8dc2dce403c64e53270e6 ; affected ca081fff6ecc63c86a99918230cc9b947bebae8a < 22b4a623c0f230540f02f4358744cce62ae12dbf ; affected ca081fff6ecc63c86a99918230cc9b947bebae8a < 24b1df744ef444f9846f52de4985790a5fd1c0de ; affected ca081fff6ecc63c86a99918230cc9b947bebae8a < a2f599046c671d6b46d93aed95b37241ce4504cf
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.64 ≤ 6.6.* ; unaffected 6.11.11 ≤ 6.11.* ; unaffected 6.12.2 ≤ 6.12.* ; unaffected 6.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD