In the Linux kernel, the following vulnerability has been resolved:
drm/amd: Guard against bad data for ATIF ACPI method
If a BIOS provides bad data in response to an ATIF method call this causes a NULL pointer dereference in the caller.
? show_regs (arch/x86/kernel/dumpstack.c:478 (discriminator 1))
? __die (arch/x86/kernel/dumpstack.c:423 arch/x86/kernel/dumpstack.c:434)
? page_fault_oops (arch/x86/mm/fault.c:544 (discriminator 2) arch/x86/mm/fault.c:705 (discriminator 2))
? do_user_addr_fault (arch/x86/mm/fault.c:440 (discriminator 1) arch/x86/mm/fault.c:1232 (discriminator 1))
? acpi_ut_update_object_reference (drivers/acpi/acpica/utdelete.c:642)
? exc_page_fault (arch/x86/mm/fault.c:1542)
? asm_exc_page_fault (./arch/x86/include/asm/idtentry.h:623)
? amdgpu_atif_query_backlight_caps.constprop.0 (drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:387 (discriminator 2)) amdgpu
? amdgpu_atif_query_backlight_caps.constprop.0 (drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:386 (discriminator 1)) amdgpu
It has been encountered on at least one system, so guard for it.
(cherry picked from commit c9b7c809b89f24e9372a4e7f02d64c950b07fdee)
[
{
"id": "CVE-2024-50117-0db8c8ba",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@975ede2a7bec52b5da1428829b3439667c8a234b",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
},
{
"id": "CVE-2024-50117-18812244",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d7175f9c57b1abf9ecfbdfd53ea760761f52ffe",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-2cff0ee1",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd67af3c1762de4c2483ae4dbdd98f9ea8fa56e3",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-334b50a6",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43b4fa6e0e238c6e2662f4fb61d9f51c2785fb1d",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-4691c2e8",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6032287747f874b52dc8b9d7490e2799736e035f",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
},
{
"id": "CVE-2024-50117-4f8a3834",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@975ede2a7bec52b5da1428829b3439667c8a234b",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-52c5bdac",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf58f03931fdcf7b3c45cb76ac13244477a60f44",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-72ba99d4",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d7175f9c57b1abf9ecfbdfd53ea760761f52ffe",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
},
{
"id": "CVE-2024-50117-7a5088ad",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@43b4fa6e0e238c6e2662f4fb61d9f51c2785fb1d",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
},
{
"id": "CVE-2024-50117-7ee5b2c9",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58556dcbd5606a5daccaee73b2130bc16b48e025",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-855e4a00",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6032287747f874b52dc8b9d7490e2799736e035f",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-94304ba8",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58556dcbd5606a5daccaee73b2130bc16b48e025",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
},
{
"id": "CVE-2024-50117-abf824e7",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@234682910971732cd4da96fd95946e296e486b38",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
},
{
"id": "CVE-2024-50117-c7c66a50",
"signature_version": "v1",
"digest": {
"function_hash": "97107319729765443053435190516830202752",
"length": 763.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@234682910971732cd4da96fd95946e296e486b38",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c",
"function": "amdgpu_atif_call"
}
},
{
"id": "CVE-2024-50117-fbe74cf8",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf58f03931fdcf7b3c45cb76ac13244477a60f44",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
},
{
"id": "CVE-2024-50117-ff9cfbc4",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127899537293479259457558001217777044933",
"155472752700765017522233720467545048556",
"15276202227357542788895802395907531843",
"29788457332408140045278984070372790396",
"195965457252498993070610482111849453131",
"187841440518684833199986515022001761692",
"174034421278681337890686438441956583799",
"231185749949728456701130677843908333729",
"241426824251532938477361983266317480009",
"24346482410669764269123523835993707845",
"135920469619575867654639548370922915527",
"90972719762584095809225005488664653205",
"86168558773798936154420932852821793419",
"210788939291999803496766983182543148250",
"112217098840264927769167413777416552815"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd67af3c1762de4c2483ae4dbdd98f9ea8fa56e3",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c"
}
}
]