Skip to content
OpenAdvisories

Description

dp_link_settings_write in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c in the Linux kernel through 5.14.14 allows a heap-based buffer overflow by an attacker who can write a string to the AMD GPU display drivers debug filesystem. There are no checks on size within parse_write_buffer_into_params when it uses the size of copy_from_user to copy a userspace buffer into a 40-byte heap buffer.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.14.16-1 —
Debian 13 linux 5.14.16-1 —
Debian 12 linux 5.14.16-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS linux-aws-5.11 +1 5.11.0-1028.31~20.04.1 USN-5265-1
Ubuntu 20.04 LTS linux-aws-5.13 5.13.0-1012.13~20.04.1 USN-5265-1
Ubuntu 20.04 LTS linux-azure-5.11 5.11.0-1028.31~20.04.2 USN-5265-1
Ubuntu 20.04 LTS linux-azure-5.13 5.13.0-1013.15~20.04.1 —
Ubuntu 20.04 LTS linux-gcp-5.11 5.11.0-1029.33~20.04.3 USN-5265-1
Ubuntu 20.04 LTS linux-gcp-5.13 5.13.0-1013.16~20.04.1 —
Ubuntu 20.04 LTS linux-hwe-5.13 5.13.0-28.31~20.04.1 USN-5265-1
Ubuntu 20.04 LTS linux-intel-5.13 5.13.0-1010.10 USN-5362-1
Ubuntu 20.04 LTS linux-oem-5.13 5.13.0-1029.36 USN-5265-1
Ubuntu 20.04 LTS linux-oem-5.14 5.14.0-1008.8 USN-5165-1
Ubuntu 20.04 LTS linux-oracle-5.13 5.13.0-1016.20~20.04.1 —
Ubuntu 20.04 LTS linux-riscv +10 No fix yet —
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
ReleasePackageFixed inAdvisory
SLE Micro 5.5 kernel-rt +1 5.14.21-150500.13.58.1 SUSE-SU-2024:2008-1
SLE Micro 5.4 kernel-rt +1 5.14.21-150400.15.106.1 SUSE-SU-2025:0231-1
SLE Micro 5.3 kernel-rt +1 5.14.21-150400.15.106.1 SUSE-SU-2025:0231-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Live Patching 15 SP5 kernel-livepatch-SLE15-SP5-RT_Update_16 1-150500.11.3.1 SUSE-SU-2024:2008-1
SUSE Real Time Module 15 SP5 kernel-rt +3 5.14.21-150500.13.58.1 SUSE-SU-2024:2008-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 kernel-rt +3 5.14.21-150500.13.58.1 SUSE-SU-2024:2008-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.10.78.1-1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 6

References