In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add array index check for hdcp ddc access
[Why] Coverity reports OVERRUN warning. Do not check if array index valid.
[How] Check msg_id valid and valid array index.
[
{
"id": "CVE-2024-46804-0b092fd3",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "write"
},
"digest": {
"length": 853.0,
"function_hash": "143864289947888178683698178888627432198"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee4387c5a4b57ec733c3fb4365188d5979cd9c7",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-17c436d9",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "write"
},
"digest": {
"length": 853.0,
"function_hash": "143864289947888178683698178888627432198"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f338f99f6a04d03c802087d82a83561cbd5bdc99",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-629207b7",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "read"
},
"digest": {
"length": 757.0,
"function_hash": "131219275916545878025400280725866460047"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee4387c5a4b57ec733c3fb4365188d5979cd9c7",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-72e1286c",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "read"
},
"digest": {
"length": 757.0,
"function_hash": "131219275916545878025400280725866460047"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b5ccf3d011969417be653b5a145c72dbd30472c",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-82d51ecb",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "write"
},
"digest": {
"length": 853.0,
"function_hash": "143864289947888178683698178888627432198"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b5ccf3d011969417be653b5a145c72dbd30472c",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-88d1bc0a",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"203401633676559595998874512209773876166",
"270547086400315445080702934966582137716",
"57461051772985257589558512032828704849",
"36720005312127275879175670270073297332",
"68740999749241995460480086233794428033",
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"257534097040409080704592501861811276573",
"270547086400315445080702934966582137716",
"152820400926551516705377596506175969310",
"151806573553819980687938271920218292569",
"256196114021840982817398233030723030289"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee4387c5a4b57ec733c3fb4365188d5979cd9c7",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-937bab0a",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"203401633676559595998874512209773876166",
"270547086400315445080702934966582137716",
"57461051772985257589558512032828704849",
"36720005312127275879175670270073297332",
"68740999749241995460480086233794428033",
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"257534097040409080704592501861811276573",
"270547086400315445080702934966582137716",
"152820400926551516705377596506175969310",
"151806573553819980687938271920218292569",
"256196114021840982817398233030723030289"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3b5ee22a9d3a30045191da5678ca8451ebaea30",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-9688b81a",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "read"
},
"digest": {
"length": 757.0,
"function_hash": "131219275916545878025400280725866460047"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f338f99f6a04d03c802087d82a83561cbd5bdc99",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-ce7d5cd0",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"203401633676559595998874512209773876166",
"270547086400315445080702934966582137716",
"57461051772985257589558512032828704849",
"36720005312127275879175670270073297332",
"68740999749241995460480086233794428033",
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"257534097040409080704592501861811276573",
"270547086400315445080702934966582137716",
"152820400926551516705377596506175969310",
"151806573553819980687938271920218292569",
"256196114021840982817398233030723030289"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f338f99f6a04d03c802087d82a83561cbd5bdc99",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-d8e582e8",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "read"
},
"digest": {
"length": 757.0,
"function_hash": "131219275916545878025400280725866460047"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3b5ee22a9d3a30045191da5678ca8451ebaea30",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-e42ba557",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"203401633676559595998874512209773876166",
"270547086400315445080702934966582137716",
"57461051772985257589558512032828704849",
"36720005312127275879175670270073297332",
"68740999749241995460480086233794428033",
"196506437141930307499592565088793934998",
"79215683871900638654440362643162737217",
"95554638897677963578010668602764909569",
"59211467162641945039349385206992082257",
"314624903018536316669664696410051957745",
"45270267046642213515314298480830315121",
"257534097040409080704592501861811276573",
"270547086400315445080702934966582137716",
"152820400926551516705377596506175969310",
"151806573553819980687938271920218292569",
"256196114021840982817398233030723030289"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b5ccf3d011969417be653b5a145c72dbd30472c",
"signature_version": "v1"
},
{
"id": "CVE-2024-46804-ea6fdaac",
"target": {
"file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c",
"function": "write"
},
"digest": {
"length": 853.0,
"function_hash": "143864289947888178683698178888627432198"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3b5ee22a9d3a30045191da5678ca8451ebaea30",
"signature_version": "v1"
}
]