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.
{ "vanir_signatures": [ { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee4387c5a4b57ec733c3fb4365188d5979cd9c7", "signature_type": "Function", "target": { "function": "write", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 853.0, "function_hash": "143864289947888178683698178888627432198" }, "id": "CVE-2024-46804-0b092fd3" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a63c90c7a90ab2bd23deebc2814fc5b52abf6d2", "signature_type": "Function", "target": { "function": "read", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 757.0, "function_hash": "131219275916545878025400280725866460047" }, "id": "CVE-2024-46804-346488e7" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a63c90c7a90ab2bd23deebc2814fc5b52abf6d2", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "line_hashes": [ "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "203401633676559595998874512209773876166", "270547086400315445080702934966582137716", "57461051772985257589558512032828704849", "36720005312127275879175670270073297332", "68740999749241995460480086233794428033", "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "257534097040409080704592501861811276573", "270547086400315445080702934966582137716", "152820400926551516705377596506175969310", "151806573553819980687938271920218292569", "256196114021840982817398233030723030289" ], "threshold": 0.9 }, "id": "CVE-2024-46804-57fab97f" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee4387c5a4b57ec733c3fb4365188d5979cd9c7", "signature_type": "Function", "target": { "function": "read", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 757.0, "function_hash": "131219275916545878025400280725866460047" }, "id": "CVE-2024-46804-629207b7" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b5ccf3d011969417be653b5a145c72dbd30472c", "signature_type": "Function", "target": { "function": "read", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 757.0, "function_hash": "131219275916545878025400280725866460047" }, "id": "CVE-2024-46804-72e1286c" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b5ccf3d011969417be653b5a145c72dbd30472c", "signature_type": "Function", "target": { "function": "write", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 853.0, "function_hash": "143864289947888178683698178888627432198" }, "id": "CVE-2024-46804-82d51ecb" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e70c0f5251c25885c31ee84a31f99a01f7cf50e", "signature_type": "Function", "target": { "function": "read", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 757.0, "function_hash": "131219275916545878025400280725866460047" }, "id": "CVE-2024-46804-87aafd03" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ee4387c5a4b57ec733c3fb4365188d5979cd9c7", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "line_hashes": [ "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "203401633676559595998874512209773876166", "270547086400315445080702934966582137716", "57461051772985257589558512032828704849", "36720005312127275879175670270073297332", "68740999749241995460480086233794428033", "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "257534097040409080704592501861811276573", "270547086400315445080702934966582137716", "152820400926551516705377596506175969310", "151806573553819980687938271920218292569", "256196114021840982817398233030723030289" ], "threshold": 0.9 }, "id": "CVE-2024-46804-88d1bc0a" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e70c0f5251c25885c31ee84a31f99a01f7cf50e", "signature_type": "Function", "target": { "function": "write", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 853.0, "function_hash": "143864289947888178683698178888627432198" }, "id": "CVE-2024-46804-968b3606" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a63c90c7a90ab2bd23deebc2814fc5b52abf6d2", "signature_type": "Function", "target": { "function": "write", "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "length": 853.0, "function_hash": "143864289947888178683698178888627432198" }, "id": "CVE-2024-46804-c8c0b954" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e70c0f5251c25885c31ee84a31f99a01f7cf50e", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "line_hashes": [ "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "203401633676559595998874512209773876166", "270547086400315445080702934966582137716", "57461051772985257589558512032828704849", "36720005312127275879175670270073297332", "68740999749241995460480086233794428033", "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "257534097040409080704592501861811276573", "270547086400315445080702934966582137716", "152820400926551516705377596506175969310", "151806573553819980687938271920218292569", "256196114021840982817398233030723030289" ], "threshold": 0.9 }, "id": "CVE-2024-46804-dbf3f84a" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b5ccf3d011969417be653b5a145c72dbd30472c", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c" }, "deprecated": false, "digest": { "line_hashes": [ "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "203401633676559595998874512209773876166", "270547086400315445080702934966582137716", "57461051772985257589558512032828704849", "36720005312127275879175670270073297332", "68740999749241995460480086233794428033", "196506437141930307499592565088793934998", "79215683871900638654440362643162737217", "95554638897677963578010668602764909569", "59211467162641945039349385206992082257", "314624903018536316669664696410051957745", "45270267046642213515314298480830315121", "257534097040409080704592501861811276573", "270547086400315445080702934966582137716", "152820400926551516705377596506175969310", "151806573553819980687938271920218292569", "256196114021840982817398233030723030289" ], "threshold": 0.9 }, "id": "CVE-2024-46804-e42ba557" } ] }