In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check msg_id before processing transcation
[WHY & HOW] HDCPMESSAGEIDINVALID (-1) is not a valid msgid nor is it a valid array index, and it needs checking before used.
This fixes 4 OVERRUN issues reported by Coverity.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0147505f08220c89b3a9c90eb608191276e263a8",
"target": {
"function": "dp_11_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-0e23eac7",
"signature_type": "Function",
"digest": {
"length": 198.0,
"function_hash": "108393924500817840721642066421912535735"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fa71face755e27dc44bc296416ebdf2c67163316",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-12c3a083",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"8842367941097496443144382903048235536",
"268988488488393592774159073003039444089",
"13282374128808761843641879754849248774",
"46334650948287916858477429375954147136",
"194207308398440833889521851214200111690",
"112222806590292718266870641004932824261",
"55143114836917398772098122226739597526",
"225628735141253378359832701058522728468",
"212652902664243070138645406648958649309",
"302423119334806175894937542329189721735",
"9588538493513869833874597116713656795",
"339019120363454749023899130256302955227"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0147505f08220c89b3a9c90eb608191276e263a8",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-14a0cf3e",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"8842367941097496443144382903048235536",
"268988488488393592774159073003039444089",
"13282374128808761843641879754849248774",
"46334650948287916858477429375954147136",
"194207308398440833889521851214200111690",
"112222806590292718266870641004932824261",
"55143114836917398772098122226739597526",
"225628735141253378359832701058522728468",
"212652902664243070138645406648958649309",
"302423119334806175894937542329189721735",
"9588538493513869833874597116713656795",
"339019120363454749023899130256302955227"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe63daf7b10253b0faaa60c55d6153cd276927aa",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-29a0e5d7",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"8842367941097496443144382903048235536",
"268988488488393592774159073003039444089",
"13282374128808761843641879754849248774",
"46334650948287916858477429375954147136",
"194207308398440833889521851214200111690",
"112222806590292718266870641004932824261",
"55143114836917398772098122226739597526",
"225628735141253378359832701058522728468",
"212652902664243070138645406648958649309",
"302423119334806175894937542329189721735",
"9588538493513869833874597116713656795",
"339019120363454749023899130256302955227"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0147505f08220c89b3a9c90eb608191276e263a8",
"target": {
"function": "hdmi_14_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-2b80efa5",
"signature_type": "Function",
"digest": {
"length": 1158.0,
"function_hash": "311278302018902483391425481746996326022"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb63090a17d3abb87f132851fa3711281249b7d2",
"target": {
"function": "dp_11_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-2e6155c5",
"signature_type": "Function",
"digest": {
"length": 198.0,
"function_hash": "108393924500817840721642066421912535735"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe63daf7b10253b0faaa60c55d6153cd276927aa",
"target": {
"function": "hdmi_14_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-3e26b7fc",
"signature_type": "Function",
"digest": {
"length": 1158.0,
"function_hash": "311278302018902483391425481746996326022"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb63090a17d3abb87f132851fa3711281249b7d2",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-54f9bcc3",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"8842367941097496443144382903048235536",
"268988488488393592774159073003039444089",
"13282374128808761843641879754849248774",
"46334650948287916858477429375954147136",
"194207308398440833889521851214200111690",
"112222806590292718266870641004932824261",
"55143114836917398772098122226739597526",
"225628735141253378359832701058522728468",
"212652902664243070138645406648958649309",
"302423119334806175894937542329189721735",
"9588538493513869833874597116713656795",
"339019120363454749023899130256302955227"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe63daf7b10253b0faaa60c55d6153cd276927aa",
"target": {
"function": "dp_11_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-6eb9a6cf",
"signature_type": "Function",
"digest": {
"length": 198.0,
"function_hash": "108393924500817840721642066421912535735"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fa71face755e27dc44bc296416ebdf2c67163316",
"target": {
"function": "hdmi_14_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-91f3fa88",
"signature_type": "Function",
"digest": {
"length": 1158.0,
"function_hash": "311278302018902483391425481746996326022"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6590643c5de74098d27933b7d224d5ac065d7755",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-acc621ae",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"8842367941097496443144382903048235536",
"268988488488393592774159073003039444089",
"13282374128808761843641879754849248774",
"46334650948287916858477429375954147136",
"194207308398440833889521851214200111690",
"112222806590292718266870641004932824261",
"55143114836917398772098122226739597526",
"225628735141253378359832701058522728468",
"212652902664243070138645406648958649309",
"302423119334806175894937542329189721735",
"9588538493513869833874597116713656795",
"339019120363454749023899130256302955227"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6590643c5de74098d27933b7d224d5ac065d7755",
"target": {
"function": "hdmi_14_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-d415af12",
"signature_type": "Function",
"digest": {
"length": 1158.0,
"function_hash": "311278302018902483391425481746996326022"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6590643c5de74098d27933b7d224d5ac065d7755",
"target": {
"function": "dp_11_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-dcf7631c",
"signature_type": "Function",
"digest": {
"length": 198.0,
"function_hash": "108393924500817840721642066421912535735"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fa71face755e27dc44bc296416ebdf2c67163316",
"target": {
"function": "dp_11_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-edea07f2",
"signature_type": "Function",
"digest": {
"length": 198.0,
"function_hash": "108393924500817840721642066421912535735"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb63090a17d3abb87f132851fa3711281249b7d2",
"target": {
"function": "hdmi_14_process_transaction",
"file": "drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2024-46814-fd9ccb68",
"signature_type": "Function",
"digest": {
"length": 1158.0,
"function_hash": "311278302018902483391425481746996326022"
}
}
]