In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix late derefrence ‘dsc’ check in ‘link_set_dsc_pps_packet()’
In link_set_dsc_pps_packet(), ‘struct display_stream_compressor *dsc’
was dereferenced in a DC_LOGGER_INIT(dsc->ctx->logger); before the ‘dsc’
NULL pointer check.
Fixes the below:
drivers/gpu/drm/amd/amdgpu/…/display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() warn: variable dereferenced before check ‘dsc’ (see line 903)
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/amd/display/dc/link/link_dpms.c"
],
"versions": [
{
"version": "1da177e4c3f4",
"lessThan": "6aa5ede66651",
"status": "affected",
"versionType": "git"
},
{
"version": "1da177e4c3f4",
"lessThan": "cf656fc7276e",
"status": "affected",
"versionType": "git"
},
{
"version": "1da177e4c3f4",
"lessThan": "3bb9b1f958c3",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/amd/display/dc/link/link_dpms.c"
],
"versions": [
{
"version": "6.6.15",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.7.3",
"lessThanOrEqual": "6.7.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.8",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]