In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check linkres->hpodplinkenc before using it
[WHAT & HOW] Functions dpenablelinkphy and dpdisablelinkphy can pass linkres without initializing hpodplinkenc and it is necessary to check for null before dereferencing.
This fixes 2 FORWARD_NULL issues reported by Coverity.
[
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-0c05787f",
"digest": {
"function_hash": "188852950651698036686179367048425888032",
"length": 490.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0beca868cde8742240cd0038141c30482d2b7eb8",
"signature_type": "Function",
"target": {
"function": "disable_hpo_dp_link_output",
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-118e6d30",
"digest": {
"line_hashes": [
"318163804712305643946923482271393996987",
"51435758290337319284429266322489835287",
"196378986849536494160682736616342157085",
"55359264086590158915216382378699943314",
"172648091153617682573222587665834323176",
"185570480254544742677535725603041779876",
"132979020914439108582202838072744014366"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0508a4e95ac1aefd851ceb97ea050d8abb93262c",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-1fbf116a",
"digest": {
"line_hashes": [
"318163804712305643946923482271393996987",
"51435758290337319284429266322489835287",
"196378986849536494160682736616342157085",
"55359264086590158915216382378699943314",
"172648091153617682573222587665834323176",
"185570480254544742677535725603041779876",
"132979020914439108582202838072744014366"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0beca868cde8742240cd0038141c30482d2b7eb8",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-51a635be",
"digest": {
"line_hashes": [
"318163804712305643946923482271393996987",
"51435758290337319284429266322489835287",
"196378986849536494160682736616342157085",
"55359264086590158915216382378699943314",
"172648091153617682573222587665834323176",
"185570480254544742677535725603041779876",
"132979020914439108582202838072744014366"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be2ca7a2c1561390d28bf2f92654d819659ba510",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-9515933e",
"digest": {
"line_hashes": [
"246813126298715076633465970282025506413",
"257420440004336971104730072998064083937",
"235662402742819228735719288735945166977",
"43247773691239382327418985153197270581",
"199521084078665238737502423196720296466",
"66951886031097095008208970168439121778",
"217966388325532108721636524997270026727"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c22a62288194f072eb3a51045b700fce1c18d9e",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-9762caab",
"digest": {
"function_hash": "188852950651698036686179367048425888032",
"length": 490.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@530e29452b955c30cf2102fa4d07420dc6e0c953",
"signature_type": "Function",
"target": {
"function": "disable_hpo_dp_link_output",
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-aa7c1c8d",
"digest": {
"function_hash": "188852950651698036686179367048425888032",
"length": 490.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be2ca7a2c1561390d28bf2f92654d819659ba510",
"signature_type": "Function",
"target": {
"function": "disable_hpo_dp_link_output",
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-b0e43164",
"digest": {
"function_hash": "149512887919680261918869882231305478349",
"length": 361.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c22a62288194f072eb3a51045b700fce1c18d9e",
"signature_type": "Function",
"target": {
"function": "disable_hpo_dp_link_output",
"file": "drivers/gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-e5712472",
"digest": {
"function_hash": "188852950651698036686179367048425888032",
"length": 490.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0508a4e95ac1aefd851ceb97ea050d8abb93262c",
"signature_type": "Function",
"target": {
"function": "disable_hpo_dp_link_output",
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-47704-f6e0edf1",
"digest": {
"line_hashes": [
"318163804712305643946923482271393996987",
"51435758290337319284429266322489835287",
"196378986849536494160682736616342157085",
"55359264086590158915216382378699943314",
"172648091153617682573222587665834323176",
"185570480254544742677535725603041779876",
"132979020914439108582202838072744014366"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@530e29452b955c30cf2102fa4d07420dc6e0c953",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c"
}
}
]