| Name | CVE-2021-42327 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| linux (PTS) | bullseye | 5.10.223-1 | fixed |
| bullseye (security) | 5.10.244-1 | fixed |
| bookworm | 6.1.148-1 | fixed |
| bookworm (security) | 6.1.153-1 | fixed |
| trixie | 6.12.43-1 | fixed |
| trixie (security) | 6.12.48-1 | fixed |
| forky, sid | 6.16.12-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| linux | source | stretch | (not affected) | | | |
| linux | source | buster | (not affected) | | | |
| linux | source | bullseye | 5.10.84-1 | | | |
| linux | source | (unstable) | 5.14.16-1 | | | |
Notes
[buster] - linux <not-affected> (Vulnerability introduced later)
[stretch] - linux <not-affected> (Vulnerability introduced later)
https://lists.freedesktop.org/archives/amd-gfx/2021-October/070170.html