cbcvebase.
CVE-2021-42327
published 2021-10-21

CVE-2021-42327: 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…

PriorityP431medium6.7CVSS 3.1
AVLACLPRHUINSUCHIHAH
EPSS
0.83%
53.9th percentile
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.

Affected

22 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 5.14.16-1 (bookworm)linux 5.14.16-1 (bookworm)
debianlinux< linux 5.15.3-1 (bookworm)linux 5.15.3-1 (bookworm)
fedoraprojectfedora
linuxlinux
linuxlinux>= 918698d5c2b50433714d2042f55b55b090faa167 < 1336b886b162fdc84708096ea152a61c0e1fc09c1336b886b162fdc84708096ea152a61c0e1fc09c
linuxlinux>= 918698d5c2b50433714d2042f55b55b090faa167 < 9eb4bdd554fc31a5ef6bf645a20ff21618ce45a99eb4bdd554fc31a5ef6bf645a20ff21618ce45a9
linuxlinux>= 918698d5c2b50433714d2042f55b55b090faa167 < 3f4e54bd312d3dafb59daf2b97ffa08abebe60f53f4e54bd312d3dafb59daf2b97ffa08abebe60f5
linuxlinux_kernel<= 5.14.14
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.237-15.10.237-1
linuxlinux_kernel>= 0 < 5.10.84-15.10.84-1
linuxlinux_kernel>= 0 < 5.15.3-15.15.3-1
linuxlinux_kernel>= 0 < 5.14.16-15.14.16-1
linuxlinux_kernel>= 0 < 5.15.3-15.15.3-1
linuxlinux_kernel>= 0 < 5.14.16-15.14.16-1
linuxlinux_kernel>= 0 < 5.15.3-15.15.3-1
linuxlinux_kernel>= 0 < 5.14.16-15.14.16-1
linuxlinux_kernel>= 5.10 < 5.10.2365.10.236
linuxlinux_kernel>= 5.11 < 5.14.165.14.16
msrccbl2_kernel_5.10.78.1-1_on_cbl_mariner_2.0
msrccm1_kernel_5.10.78.1-1_on_cbl_mariner_1.0

CVSS provenance

nvdv3.16.7MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian6.7MEDIUM
vendor_msrc6.7MEDIUM
vendor_redhat6.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.