CVE-2024-50117 drm/amd: Guard against bad data for ATIF ACPI method

High 7.3 Published Updated

A NULL pointer dereference in the Linux kernel AMD GPU driver allows a local attacker to cause a system crash via malformed ACPI data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50117?

CVE-2024-50117 is a high-severity vulnerability in Linux kernel, published on 5 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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)

Weakness: CWE-476

Which versions are affected by CVE-2024-50117?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50117?

Apply the vendor's patch.

Is CVE-2024-50117 being exploited?

There is no known exploitation of CVE-2024-50117 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-52471, AZL-52500, BELL-CVE-2024-50117, DEBIAN-CVE-2024-50117, GHSA-5wxq-6p7v-m87w, UBUNTU-CVE-2024-50117.

Is CVE-2024-50117 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free