In the Linux kernel, the following vulnerability has been resolved:
drm/vkms: Avoid reading beyond LUT array
When the floor LUT index (drmfixp2int(lutindex) is the last index of the array the ceil LUT index will point to an entry beyond the array. Make sure we guard against it and use the value of the floor LUT index.
v3: - Drop bits from commit description that didn't contribute anything of value
[
{
"id": "CVE-2023-52649-0aa4bf6f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92800aaeff51b8358d1e0a7eb74daf8aa2d7ce9d",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "apply_lut_to_channel_value",
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"length": 423.0,
"function_hash": "186789708783366709651353268913051834417"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52649-355ee69f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@046c1184ce60b0a37d48134f17ddbc1f32ce02bd",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"310924559530734434091955097604279349554",
"173396015222661992087672089313187313397",
"152773543942662857217393763054264942009",
"10691733024899554076076407446937398906",
"245572959647100131877873988680877191221",
"173604418574412335140375844189279072376",
"78299103303516548563558183833178566487",
"331217470158794900173094643903014176177",
"215448701164819377109720784033220369770"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52649-4108ed52",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@046c1184ce60b0a37d48134f17ddbc1f32ce02bd",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "apply_lut_to_channel_value",
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"length": 423.0,
"function_hash": "186789708783366709651353268913051834417"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52649-5c98da0f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9556c167673057d48ce4a0da675026fe046654c1",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "apply_lut_to_channel_value",
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"length": 423.0,
"function_hash": "186789708783366709651353268913051834417"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52649-8c17ad58",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92800aaeff51b8358d1e0a7eb74daf8aa2d7ce9d",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"310924559530734434091955097604279349554",
"173396015222661992087672089313187313397",
"152773543942662857217393763054264942009",
"10691733024899554076076407446937398906",
"245572959647100131877873988680877191221",
"173604418574412335140375844189279072376",
"78299103303516548563558183833178566487",
"331217470158794900173094643903014176177",
"215448701164819377109720784033220369770"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52649-a0355466",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9556c167673057d48ce4a0da675026fe046654c1",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"310924559530734434091955097604279349554",
"173396015222661992087672089313187313397",
"152773543942662857217393763054264942009",
"10691733024899554076076407446937398906",
"245572959647100131877873988680877191221",
"173604418574412335140375844189279072376",
"78299103303516548563558183833178566487",
"331217470158794900173094643903014176177",
"215448701164819377109720784033220369770"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52649-e08c290a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fee84030d12d9fddfa874e4562d71761a129277",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"310924559530734434091955097604279349554",
"173396015222661992087672089313187313397",
"152773543942662857217393763054264942009",
"10691733024899554076076407446937398906",
"245572959647100131877873988680877191221",
"173604418574412335140375844189279072376",
"78299103303516548563558183833178566487",
"331217470158794900173094643903014176177",
"215448701164819377109720784033220369770"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52649-e6ce2282",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fee84030d12d9fddfa874e4562d71761a129277",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "apply_lut_to_channel_value",
"file": "drivers/gpu/drm/vkms/vkms_composer.c"
},
"digest": {
"length": 423.0,
"function_hash": "186789708783366709651353268913051834417"
},
"signature_type": "Function"
}
]