In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check null pointers before used
[WHAT & HOW] Poniters, such as dc->clkmgr, are null checked previously in the same function, so Coverity warns "implies that "dc->clkmgr" might be null". As a result, these pointers need to be checked when used again.
This fixes 10 FORWARD_NULL issues reported by Coverity.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c"
},
"id": "CVE-2024-49921-196ec478",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"64370223070527968870204309818299509176",
"236638404423728880176097670705797903411",
"229048639172020671303318062022043006298",
"291008904708781746446244183845289912762"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c"
},
"id": "CVE-2024-49921-32822bef",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"76795836100803959671863550342145461671",
"156999651560350864323861262519288587725",
"265361523192012955678180953953807908583",
"83115237420219795594606127061465789618"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c",
"function": "dcn35_init_hw"
},
"id": "CVE-2024-49921-32cb65ce",
"signature_type": "Function",
"digest": {
"function_hash": "300608970406722460424931938511832295902",
"length": 6871.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c"
},
"id": "CVE-2024-49921-384194ac",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"324100817985160267262156906857283340052",
"328700311773745662050900684805336779647",
"165512839571362222656996288179358494798",
"235317273712385245637018873225785623870",
"97221651967949933429599233669670136098",
"27370827029704817212652920582950840665"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c"
},
"id": "CVE-2024-49921-5062784c",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"76795836100803959671863550342145461671",
"156999651560350864323861262519288587725",
"265361523192012955678180953953807908583",
"83115237420219795594606127061465789618"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c"
},
"id": "CVE-2024-49921-705c3429",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"228298275877507963312214118698251143131",
"73306166266512930141619949305230022622",
"221334961026378844543821085955942525203",
"176018787529723055890710433642282211187",
"324100817985160267262156906857283340052",
"328700311773745662050900684805336779647",
"165512839571362222656996288179358494798",
"235317273712385245637018873225785623870",
"97221651967949933429599233669670136098",
"27370827029704817212652920582950840665",
"270141590102326412247550762062084510774",
"157512429232130629105348802277983599549",
"191347631346753714057781527027397736738",
"248716709495324043021501839862871438818"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c",
"function": "dp_verify_link_cap_with_retries"
},
"id": "CVE-2024-49921-76edaedc",
"signature_type": "Function",
"digest": {
"function_hash": "231807891994642602868418142626308951541",
"length": 918.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c",
"function": "dcn31_init_hw"
},
"id": "CVE-2024-49921-7d9e5a8d",
"signature_type": "Function",
"digest": {
"function_hash": "638977706064270579506781233751749996",
"length": 5034.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c",
"function": "dcn10_init_hw"
},
"id": "CVE-2024-49921-7f45e709",
"signature_type": "Function",
"digest": {
"function_hash": "187040792016338534002483921649380501557",
"length": 3906.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c",
"function": "dcn35_calc_blocks_to_gate"
},
"id": "CVE-2024-49921-8513bf30",
"signature_type": "Function",
"digest": {
"function_hash": "262268785320022101006359902876028220761",
"length": 2857.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c",
"function": "hubp2_is_flip_pending"
},
"id": "CVE-2024-49921-89c7479b",
"signature_type": "Function",
"digest": {
"function_hash": "294464821760801585904422275968325028002",
"length": 595.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c",
"function": "dce110_edp_backlight_control"
},
"id": "CVE-2024-49921-9175b16d",
"signature_type": "Function",
"digest": {
"function_hash": "199149714509505076384962753629331180684",
"length": 2704.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c"
},
"id": "CVE-2024-49921-94ac2637",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"228298275877507963312214118698251143131",
"73306166266512930141619949305230022622",
"221334961026378844543821085955942525203",
"176018787529723055890710433642282211187",
"324100817985160267262156906857283340052",
"328700311773745662050900684805336779647",
"165512839571362222656996288179358494798",
"235317273712385245637018873225785623870",
"97221651967949933429599233669670136098",
"27370827029704817212652920582950840665",
"270141590102326412247550762062084510774",
"157512429232130629105348802277983599549",
"191347631346753714057781527027397736738",
"248716709495324043021501839862871438818"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c"
},
"id": "CVE-2024-49921-9e904144",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"9264493756929427214715357119493975712",
"168933373053881452283626565333845080652",
"199257924402277244024324356799340165184",
"281662420165676268456451276932030685588",
"93065954537359475485773750407718798510",
"96304819681517336667249964240798544232",
"94725775579494098644491098741379577439",
"227069263435455138221477347497806706124"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c"
},
"id": "CVE-2024-49921-a10639c8",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"76795836100803959671863550342145461671",
"156999651560350864323861262519288587725",
"265361523192012955678180953953807908583",
"83115237420219795594606127061465789618"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c",
"function": "hubp1_is_flip_pending"
},
"id": "CVE-2024-49921-a1c953af",
"signature_type": "Function",
"digest": {
"function_hash": "294464821760801585904422275968325028002",
"length": 595.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c",
"function": "dcn10_init_hw"
},
"id": "CVE-2024-49921-aa665c17",
"signature_type": "Function",
"digest": {
"function_hash": "187040792016338534002483921649380501557",
"length": 3906.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c",
"function": "dce11_pplib_apply_display_requirements"
},
"id": "CVE-2024-49921-b23d6d33",
"signature_type": "Function",
"digest": {
"function_hash": "339177012486739414473633652921341367057",
"length": 1899.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c"
},
"id": "CVE-2024-49921-b3fa4818",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"76795836100803959671863550342145461671",
"156999651560350864323861262519288587725",
"265361523192012955678180953953807908583",
"83115237420219795594606127061465789618"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c"
},
"id": "CVE-2024-49921-b61e32cb",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"261273945657874096102508656019131021352",
"120267635798440099938150809266889384699",
"269331738166312457342907466394147260152",
"24030785652515190256630998511536325555",
"228469663625894796319642569569802304329",
"12600548117702675868225677202658393129",
"44899127137819035900246213035422006065",
"328352788508081759789853135864057602467"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c",
"function": "dcn35_init_hw"
},
"id": "CVE-2024-49921-b7d34d20",
"signature_type": "Function",
"digest": {
"function_hash": "300608970406722460424931938511832295902",
"length": 6871.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c"
},
"id": "CVE-2024-49921-babdc655",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"64370223070527968870204309818299509176",
"236638404423728880176097670705797903411",
"229048639172020671303318062022043006298",
"291008904708781746446244183845289912762"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c",
"function": "dce11_pplib_apply_display_requirements"
},
"id": "CVE-2024-49921-bb846cee",
"signature_type": "Function",
"digest": {
"function_hash": "339177012486739414473633652921341367057",
"length": 1899.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c",
"function": "hubp2_is_flip_pending"
},
"id": "CVE-2024-49921-bc245b91",
"signature_type": "Function",
"digest": {
"function_hash": "294464821760801585904422275968325028002",
"length": 595.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c"
},
"id": "CVE-2024-49921-be8a82dd",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"324100817985160267262156906857283340052",
"328700311773745662050900684805336779647",
"165512839571362222656996288179358494798",
"235317273712385245637018873225785623870",
"97221651967949933429599233669670136098",
"27370827029704817212652920582950840665"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c",
"function": "dp_verify_link_cap_with_retries"
},
"id": "CVE-2024-49921-d0ca4ce6",
"signature_type": "Function",
"digest": {
"function_hash": "231807891994642602868418142626308951541",
"length": 918.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c"
},
"id": "CVE-2024-49921-d24cfc8e",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"70860293202971460249560085008292779938",
"203852179081229892655737621559332908850",
"189245952662325379412035218093257270438",
"141089908749357160423852794079471720968"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c",
"function": "dcn35_calc_blocks_to_gate"
},
"id": "CVE-2024-49921-deca7467",
"signature_type": "Function",
"digest": {
"function_hash": "262268785320022101006359902876028220761",
"length": 2857.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c"
},
"id": "CVE-2024-49921-eda2ca87",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"261273945657874096102508656019131021352",
"120267635798440099938150809266889384699",
"269331738166312457342907466394147260152",
"24030785652515190256630998511536325555",
"228469663625894796319642569569802304329",
"12600548117702675868225677202658393129",
"44899127137819035900246213035422006065",
"328352788508081759789853135864057602467"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c"
},
"id": "CVE-2024-49921-f19e69f1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"70860293202971460249560085008292779938",
"203852179081229892655737621559332908850",
"189245952662325379412035218093257270438",
"141089908749357160423852794079471720968"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c",
"function": "dcn31_init_hw"
},
"id": "CVE-2024-49921-f28744e2",
"signature_type": "Function",
"digest": {
"function_hash": "638977706064270579506781233751749996",
"length": 5034.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c",
"function": "hubp1_is_flip_pending"
},
"id": "CVE-2024-49921-fbb2912e",
"signature_type": "Function",
"digest": {
"function_hash": "294464821760801585904422275968325028002",
"length": 595.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be1fb44389ca3038ad2430dac4234669bc177ee3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c",
"function": "dce110_edp_backlight_control"
},
"id": "CVE-2024-49921-fe755f6b",
"signature_type": "Function",
"digest": {
"function_hash": "199149714509505076384962753629331180684",
"length": 2704.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b35bf1a82eb29841b67ff5643ba83762250fc24",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c"
},
"id": "CVE-2024-49921-feedd7c4",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"9264493756929427214715357119493975712",
"168933373053881452283626565333845080652",
"199257924402277244024324356799340165184",
"281662420165676268456451276932030685588",
"93065954537359475485773750407718798510",
"96304819681517336667249964240798544232",
"94725775579494098644491098741379577439",
"227069263435455138221477347497806706124"
]
},
"deprecated": false,
"signature_version": "v1"
}
]