CVE-2024-43901 (GCVE-0-2024-43901)
Vulnerability from cvelistv5
Published
2024-08-26 10:11
Modified
2025-07-11 17:20
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix NULL pointer dereference for DTN log in DCN401
When users run the command:
cat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log
The following NULL pointer dereference happens:
[ +0.000003] BUG: kernel NULL pointer dereference, address: NULL
[ +0.000005] #PF: supervisor instruction fetch in kernel mode
[ +0.000002] #PF: error_code(0x0010) - not-present page
[ +0.000002] PGD 0 P4D 0
[ +0.000004] Oops: 0010 [#1] PREEMPT SMP NOPTI
[ +0.000003] RIP: 0010:0x0
[ +0.000008] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[...]
[ +0.000002] PKRU: 55555554
[ +0.000002] Call Trace:
[ +0.000002] <TASK>
[ +0.000003] ? show_regs+0x65/0x70
[ +0.000006] ? __die+0x24/0x70
[ +0.000004] ? page_fault_oops+0x160/0x470
[ +0.000006] ? do_user_addr_fault+0x2b5/0x690
[ +0.000003] ? prb_read_valid+0x1c/0x30
[ +0.000005] ? exc_page_fault+0x8c/0x1a0
[ +0.000005] ? asm_exc_page_fault+0x27/0x30
[ +0.000012] dcn10_log_color_state+0xf9/0x510 [amdgpu]
[ +0.000306] ? srso_alias_return_thunk+0x5/0xfbef5
[ +0.000003] ? vsnprintf+0x2fb/0x600
[ +0.000009] dcn10_log_hw_state+0xfd0/0xfe0 [amdgpu]
[ +0.000218] ? __mod_memcg_lruvec_state+0xe8/0x170
[ +0.000008] ? srso_alias_return_thunk+0x5/0xfbef5
[ +0.000002] ? debug_smp_processor_id+0x17/0x20
[ +0.000003] ? srso_alias_return_thunk+0x5/0xfbef5
[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5
[ +0.000002] ? set_ptes.isra.0+0x2b/0x90
[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5
[ +0.000002] ? _raw_spin_unlock+0x19/0x40
[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5
[ +0.000002] ? do_anonymous_page+0x337/0x700
[ +0.000004] dtn_log_read+0x82/0x120 [amdgpu]
[ +0.000207] full_proxy_read+0x66/0x90
[ +0.000007] vfs_read+0xb0/0x340
[ +0.000005] ? __count_memcg_events+0x79/0xe0
[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5
[ +0.000003] ? count_memcg_events.constprop.0+0x1e/0x40
[ +0.000003] ? handle_mm_fault+0xb2/0x370
[ +0.000003] ksys_read+0x6b/0xf0
[ +0.000004] __x64_sys_read+0x19/0x20
[ +0.000003] do_syscall_64+0x60/0x130
[ +0.000004] entry_SYSCALL_64_after_hwframe+0x6e/0x76
[ +0.000003] RIP: 0033:0x7fdf32f147e2
[...]
This error happens when the color log tries to read the gamut remap
information from DCN401 which is not initialized in the dcn401_dpp_funcs
which leads to a null pointer dereference. This commit addresses this
issue by adding a proper guard to access the gamut_remap callback in
case the specific ASIC did not implement this function.
References
Impacted products
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-43901",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-09-10T15:28:50.219513Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-09-12T17:33:07.936Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "1e68b7ce6bc6073579fe8713ec6b85aa9cd2e351",
"status": "affected",
"version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
"versionType": "git"
},
{
"lessThan": "5af757124792817f8eb1bd0c80ad60fab519586b",
"status": "affected",
"version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.15"
},
{
"lessThan": "4.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"version": "6.10.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.11",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.10.5",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.11",
"versionStartIncluding": "4.15",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix NULL pointer dereference for DTN log in DCN401\n\nWhen users run the command:\n\ncat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log\n\nThe following NULL pointer dereference happens:\n\n[ +0.000003] BUG: kernel NULL pointer dereference, address: NULL\n[ +0.000005] #PF: supervisor instruction fetch in kernel mode\n[ +0.000002] #PF: error_code(0x0010) - not-present page\n[ +0.000002] PGD 0 P4D 0\n[ +0.000004] Oops: 0010 [#1] PREEMPT SMP NOPTI\n[ +0.000003] RIP: 0010:0x0\n[ +0.000008] Code: Unable to access opcode bytes at 0xffffffffffffffd6.\n[...]\n[ +0.000002] PKRU: 55555554\n[ +0.000002] Call Trace:\n[ +0.000002] \u003cTASK\u003e\n[ +0.000003] ? show_regs+0x65/0x70\n[ +0.000006] ? __die+0x24/0x70\n[ +0.000004] ? page_fault_oops+0x160/0x470\n[ +0.000006] ? do_user_addr_fault+0x2b5/0x690\n[ +0.000003] ? prb_read_valid+0x1c/0x30\n[ +0.000005] ? exc_page_fault+0x8c/0x1a0\n[ +0.000005] ? asm_exc_page_fault+0x27/0x30\n[ +0.000012] dcn10_log_color_state+0xf9/0x510 [amdgpu]\n[ +0.000306] ? srso_alias_return_thunk+0x5/0xfbef5\n[ +0.000003] ? vsnprintf+0x2fb/0x600\n[ +0.000009] dcn10_log_hw_state+0xfd0/0xfe0 [amdgpu]\n[ +0.000218] ? __mod_memcg_lruvec_state+0xe8/0x170\n[ +0.000008] ? srso_alias_return_thunk+0x5/0xfbef5\n[ +0.000002] ? debug_smp_processor_id+0x17/0x20\n[ +0.000003] ? srso_alias_return_thunk+0x5/0xfbef5\n[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5\n[ +0.000002] ? set_ptes.isra.0+0x2b/0x90\n[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5\n[ +0.000002] ? _raw_spin_unlock+0x19/0x40\n[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5\n[ +0.000002] ? do_anonymous_page+0x337/0x700\n[ +0.000004] dtn_log_read+0x82/0x120 [amdgpu]\n[ +0.000207] full_proxy_read+0x66/0x90\n[ +0.000007] vfs_read+0xb0/0x340\n[ +0.000005] ? __count_memcg_events+0x79/0xe0\n[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5\n[ +0.000003] ? count_memcg_events.constprop.0+0x1e/0x40\n[ +0.000003] ? handle_mm_fault+0xb2/0x370\n[ +0.000003] ksys_read+0x6b/0xf0\n[ +0.000004] __x64_sys_read+0x19/0x20\n[ +0.000003] do_syscall_64+0x60/0x130\n[ +0.000004] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n[ +0.000003] RIP: 0033:0x7fdf32f147e2\n[...]\n\nThis error happens when the color log tries to read the gamut remap\ninformation from DCN401 which is not initialized in the dcn401_dpp_funcs\nwhich leads to a null pointer dereference. This commit addresses this\nissue by adding a proper guard to access the gamut_remap callback in\ncase the specific ASIC did not implement this function."
}
],
"providerMetadata": {
"dateUpdated": "2025-07-11T17:20:07.269Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/1e68b7ce6bc6073579fe8713ec6b85aa9cd2e351"
},
{
"url": "https://git.kernel.org/stable/c/5af757124792817f8eb1bd0c80ad60fab519586b"
}
],
"title": "drm/amd/display: Fix NULL pointer dereference for DTN log in DCN401",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2024-43901",
"datePublished": "2024-08-26T10:11:00.255Z",
"dateReserved": "2024-08-17T09:11:59.292Z",
"dateUpdated": "2025-07-11T17:20:07.269Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2024-43901\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-08-26T11:15:04.673\",\"lastModified\":\"2024-08-27T14:38:44.187\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amd/display: Fix NULL pointer dereference for DTN log in DCN401\\n\\nWhen users run the command:\\n\\ncat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log\\n\\nThe following NULL pointer dereference happens:\\n\\n[ +0.000003] BUG: kernel NULL pointer dereference, address: NULL\\n[ +0.000005] #PF: supervisor instruction fetch in kernel mode\\n[ +0.000002] #PF: error_code(0x0010) - not-present page\\n[ +0.000002] PGD 0 P4D 0\\n[ +0.000004] Oops: 0010 [#1] PREEMPT SMP NOPTI\\n[ +0.000003] RIP: 0010:0x0\\n[ +0.000008] Code: Unable to access opcode bytes at 0xffffffffffffffd6.\\n[...]\\n[ +0.000002] PKRU: 55555554\\n[ +0.000002] Call Trace:\\n[ +0.000002] \u003cTASK\u003e\\n[ +0.000003] ? show_regs+0x65/0x70\\n[ +0.000006] ? __die+0x24/0x70\\n[ +0.000004] ? page_fault_oops+0x160/0x470\\n[ +0.000006] ? do_user_addr_fault+0x2b5/0x690\\n[ +0.000003] ? prb_read_valid+0x1c/0x30\\n[ +0.000005] ? exc_page_fault+0x8c/0x1a0\\n[ +0.000005] ? asm_exc_page_fault+0x27/0x30\\n[ +0.000012] dcn10_log_color_state+0xf9/0x510 [amdgpu]\\n[ +0.000306] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000003] ? vsnprintf+0x2fb/0x600\\n[ +0.000009] dcn10_log_hw_state+0xfd0/0xfe0 [amdgpu]\\n[ +0.000218] ? __mod_memcg_lruvec_state+0xe8/0x170\\n[ +0.000008] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? debug_smp_processor_id+0x17/0x20\\n[ +0.000003] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? set_ptes.isra.0+0x2b/0x90\\n[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? _raw_spin_unlock+0x19/0x40\\n[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? do_anonymous_page+0x337/0x700\\n[ +0.000004] dtn_log_read+0x82/0x120 [amdgpu]\\n[ +0.000207] full_proxy_read+0x66/0x90\\n[ +0.000007] vfs_read+0xb0/0x340\\n[ +0.000005] ? __count_memcg_events+0x79/0xe0\\n[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000003] ? count_memcg_events.constprop.0+0x1e/0x40\\n[ +0.000003] ? handle_mm_fault+0xb2/0x370\\n[ +0.000003] ksys_read+0x6b/0xf0\\n[ +0.000004] __x64_sys_read+0x19/0x20\\n[ +0.000003] do_syscall_64+0x60/0x130\\n[ +0.000004] entry_SYSCALL_64_after_hwframe+0x6e/0x76\\n[ +0.000003] RIP: 0033:0x7fdf32f147e2\\n[...]\\n\\nThis error happens when the color log tries to read the gamut remap\\ninformation from DCN401 which is not initialized in the dcn401_dpp_funcs\\nwhich leads to a null pointer dereference. This commit addresses this\\nissue by adding a proper guard to access the gamut_remap callback in\\ncase the specific ASIC did not implement this function.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: corrige la desreferencia del puntero NULL para el registro DTN en DCN401 Cuando los usuarios ejecutan el comando: cat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log El siguiente puntero NULL ocurre la desreferencia: [+0.000003] ERROR: desreferencia del puntero NULL del kernel, direcci\u00f3n: NULL [+0.000005] #PF: b\u00fasqueda de instrucciones del supervisor en modo kernel [+0.000002] #PF: c\u00f3digo_error(0x0010) - p\u00e1gina no presente [+0.000002] PGD 0 P4D 0 [ +0.000004] Ups: 0010 [#1] PREEMPT SMP NOPTI [ +0.000003] RIP: 0010:0x0 [ +0.000008] C\u00f3digo: No se puede acceder a los bytes del c\u00f3digo de operaci\u00f3n en 0xffffffffffffffd6. [...] [ +0.000002] PKRU: 55555554 [ +0.000002] Seguimiento de llamadas: [ +0.000002] [ +0.000003] ? show_regs+0x65/0x70 [+0.000006]? __die+0x24/0x70 [ +0.000004] ? page_fault_oops+0x160/0x470 [+0.000006]? do_user_addr_fault+0x2b5/0x690 [+0.000003]? prb_read_valid+0x1c/0x30 [+0.000005]? exc_page_fault+0x8c/0x1a0 [+0.000005]? asm_exc_page_fault+0x27/0x30 [ +0.000012] dcn10_log_color_state+0xf9/0x510 [amdgpu] [ +0.000306] ? srso_alias_return_thunk+0x5/0xfbef5 [+0.000003]? vsnprintf+0x2fb/0x600 [ +0.000009] dcn10_log_hw_state+0xfd0/0xfe0 [amdgpu] [ +0.000218] ? __mod_memcg_lruvec_state+0xe8/0x170 [ +0.000008] ? srso_alias_return_thunk+0x5/0xfbef5 [+0.000002]? debug_smp_processor_id+0x17/0x20 [+0.000003]? srso_alias_return_thunk+0x5/0xfbef5 [+0.000002]? srso_alias_return_thunk+0x5/0xfbef5 [+0.000002]? set_ptes.isra.0+0x2b/0x90 [ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5 [+0.000002]? _raw_spin_unlock+0x19/0x40 [+0.000004]? srso_alias_return_thunk+0x5/0xfbef5 [+0.000002]? do_anonymous_page+0x337/0x700 [ +0.000004] dtn_log_read+0x82/0x120 [amdgpu] [ +0.000207] full_proxy_read+0x66/0x90 [ +0.000007] vfs_read+0xb0/0x340 [ +0.000005] ? __count_memcg_events+0x79/0xe0 [+0.000002]? srso_alias_return_thunk+0x5/0xfbef5 [+0.000003]? count_memcg_events.constprop.0+0x1e/0x40 [+0.000003]? handle_mm_fault+0xb2/0x370 [ +0.000003] ksys_read+0x6b/0xf0 [ +0.000004] __x64_sys_read+0x19/0x20 [ +0.000003] do_syscall_64+0x60/0x130 [ +0.000004] _64_after_hwframe+0x6e/0x76 [+0.000003] RIP: 0033:0x7fdf32f147e2 [...] Este error ocurre cuando el registro de color intenta leer la informaci\u00f3n de reasignaci\u00f3n de gama de DCN401 que no est\u00e1 inicializada en dcn401_dpp_funcs, lo que conduce a una desreferencia del puntero nulo. Esta confirmaci\u00f3n soluciona este problema agregando una protecci\u00f3n adecuada para acceder a la devoluci\u00f3n de llamada gamut_remap en caso de que el ASIC espec\u00edfico no haya implementado esta funci\u00f3n.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"6.10.5\",\"matchCriteriaId\":\"E4CB0927-C720-465B-99F2-3E47215515F2\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1e68b7ce6bc6073579fe8713ec6b85aa9cd2e351\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5af757124792817f8eb1bd0c80ad60fab519586b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-43901\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:28:50.219513Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:15.178Z\"}}], \"cna\": {\"title\": \"drm/amd/display: Fix NULL pointer dereference for DTN log in DCN401\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c\", \"lessThan\": \"1e68b7ce6bc6073579fe8713ec6b85aa9cd2e351\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c\", \"lessThan\": \"5af757124792817f8eb1bd0c80ad60fab519586b\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.10.5\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/1e68b7ce6bc6073579fe8713ec6b85aa9cd2e351\"}, {\"url\": \"https://git.kernel.org/stable/c/5af757124792817f8eb1bd0c80ad60fab519586b\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amd/display: Fix NULL pointer dereference for DTN log in DCN401\\n\\nWhen users run the command:\\n\\ncat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log\\n\\nThe following NULL pointer dereference happens:\\n\\n[ +0.000003] BUG: kernel NULL pointer dereference, address: NULL\\n[ +0.000005] #PF: supervisor instruction fetch in kernel mode\\n[ +0.000002] #PF: error_code(0x0010) - not-present page\\n[ +0.000002] PGD 0 P4D 0\\n[ +0.000004] Oops: 0010 [#1] PREEMPT SMP NOPTI\\n[ +0.000003] RIP: 0010:0x0\\n[ +0.000008] Code: Unable to access opcode bytes at 0xffffffffffffffd6.\\n[...]\\n[ +0.000002] PKRU: 55555554\\n[ +0.000002] Call Trace:\\n[ +0.000002] \u003cTASK\u003e\\n[ +0.000003] ? show_regs+0x65/0x70\\n[ +0.000006] ? __die+0x24/0x70\\n[ +0.000004] ? page_fault_oops+0x160/0x470\\n[ +0.000006] ? do_user_addr_fault+0x2b5/0x690\\n[ +0.000003] ? prb_read_valid+0x1c/0x30\\n[ +0.000005] ? exc_page_fault+0x8c/0x1a0\\n[ +0.000005] ? asm_exc_page_fault+0x27/0x30\\n[ +0.000012] dcn10_log_color_state+0xf9/0x510 [amdgpu]\\n[ +0.000306] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000003] ? vsnprintf+0x2fb/0x600\\n[ +0.000009] dcn10_log_hw_state+0xfd0/0xfe0 [amdgpu]\\n[ +0.000218] ? __mod_memcg_lruvec_state+0xe8/0x170\\n[ +0.000008] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? debug_smp_processor_id+0x17/0x20\\n[ +0.000003] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? set_ptes.isra.0+0x2b/0x90\\n[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? _raw_spin_unlock+0x19/0x40\\n[ +0.000004] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000002] ? do_anonymous_page+0x337/0x700\\n[ +0.000004] dtn_log_read+0x82/0x120 [amdgpu]\\n[ +0.000207] full_proxy_read+0x66/0x90\\n[ +0.000007] vfs_read+0xb0/0x340\\n[ +0.000005] ? __count_memcg_events+0x79/0xe0\\n[ +0.000002] ? srso_alias_return_thunk+0x5/0xfbef5\\n[ +0.000003] ? count_memcg_events.constprop.0+0x1e/0x40\\n[ +0.000003] ? handle_mm_fault+0xb2/0x370\\n[ +0.000003] ksys_read+0x6b/0xf0\\n[ +0.000004] __x64_sys_read+0x19/0x20\\n[ +0.000003] do_syscall_64+0x60/0x130\\n[ +0.000004] entry_SYSCALL_64_after_hwframe+0x6e/0x76\\n[ +0.000003] RIP: 0033:0x7fdf32f147e2\\n[...]\\n\\nThis error happens when the color log tries to read the gamut remap\\ninformation from DCN401 which is not initialized in the dcn401_dpp_funcs\\nwhich leads to a null pointer dereference. This commit addresses this\\nissue by adding a proper guard to access the gamut_remap callback in\\ncase the specific ASIC did not implement this function.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.5\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"4.15\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-07-11T17:20:07.269Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-43901\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-07-11T17:20:07.269Z\", \"dateReserved\": \"2024-08-17T09:11:59.292Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-08-26T10:11:00.255Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…