# CVE-2021-42327: dplinksettingswrite in drivers/gpu/drm/amd/display/amdgpudm/amdgpudmdebugfs.c in the Linux kernel through 5.14.14 allows a heap-based buffe…

- Severity: Medium 6.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 60% of CVEs (2026-12-01)
- Published: 2021-10-21T00:00:00.000Z
- Modified: 2026-06-17T04:09:39.263Z
- Weaknesses: CWE-787
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: up to 5.14.14
- fedoraproject fedora: 35
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given

## Every score

- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c> (vendor-advisory)
- <https://www.mail-archive.com/amd-gfx%40lists.freedesktop.org/msg69080.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDDEW4APTYKJK365HC2JZIVXYUV7ZRN7/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20211118-0005/> (third-party-advisory)
- <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f23750b5b3d98653b31d4469592935ef6364ad67>

## Sources

- CVE List: [CVE-2021-42327](https://www.cve.org/CVERecord?id=CVE-2021-42327), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-42327](https://nvd.nist.gov/vuln/detail/CVE-2021-42327), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42327 · Whole record: https://cve.day/CVE-2021-42327.json · Rebuilt by cve.day 2026-11-25T22:58:04.717Z
