In the Linux kernel, the following vulnerability has been resolved:
drm/nouveau/gr/gf100: Fix missing unlock in gf100grchan_new()
When the call to gf100grctxgenerate() fails, unlock gr->fecs.mutex before returning the error.
Fixes smatch warning:
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:480 gf100grchan_new() warn: inconsistent returns '&gr->fecs.mutex'.
[
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@22b4a623c0f230540f02f4358744cce62ae12dbf",
"digest": {
"line_hashes": [
"241519509888393606909494344268555748167",
"237962427903121603684040302317618298483",
"171013829058384141488475244850028658100",
"112298331466026522838126713599889796534"
],
"threshold": 0.9
},
"id": "CVE-2024-56752-02a0895e"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c",
"function": "gf100_gr_chan_new"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@24b1df744ef444f9846f52de4985790a5fd1c0de",
"digest": {
"length": 2821.0,
"function_hash": "232746893455881803647295894212098614118"
},
"id": "CVE-2024-56752-03fe8b93"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@24b1df744ef444f9846f52de4985790a5fd1c0de",
"digest": {
"line_hashes": [
"241519509888393606909494344268555748167",
"237962427903121603684040302317618298483",
"171013829058384141488475244850028658100",
"112298331466026522838126713599889796534"
],
"threshold": 0.9
},
"id": "CVE-2024-56752-0ee60e70"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c",
"function": "gf100_gr_chan_new"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2f599046c671d6b46d93aed95b37241ce4504cf",
"digest": {
"length": 2821.0,
"function_hash": "232746893455881803647295894212098614118"
},
"id": "CVE-2024-56752-15a4ee60"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2f599046c671d6b46d93aed95b37241ce4504cf",
"digest": {
"line_hashes": [
"241519509888393606909494344268555748167",
"237962427903121603684040302317618298483",
"171013829058384141488475244850028658100",
"112298331466026522838126713599889796534"
],
"threshold": 0.9
},
"id": "CVE-2024-56752-242b0832"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@237f2dbfa00576bb1aa8dc2dce403c64e53270e6",
"digest": {
"line_hashes": [
"241519509888393606909494344268555748167",
"237962427903121603684040302317618298483",
"171013829058384141488475244850028658100",
"112298331466026522838126713599889796534"
],
"threshold": 0.9
},
"id": "CVE-2024-56752-26526a32"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c",
"function": "gf100_gr_chan_new"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@237f2dbfa00576bb1aa8dc2dce403c64e53270e6",
"digest": {
"length": 2823.0,
"function_hash": "127729625565282034201576284166851172990"
},
"id": "CVE-2024-56752-816c2f1a"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c",
"function": "gf100_gr_chan_new"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@22b4a623c0f230540f02f4358744cce62ae12dbf",
"digest": {
"length": 2821.0,
"function_hash": "232746893455881803647295894212098614118"
},
"id": "CVE-2024-56752-9ae53050"
}
]