# CVE-2021-47410: drm/amdkfd: fix svm\_migrate\_fini warning

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-28)
- **Published:** 2024-05-21T15:04:01.984Z
- **Modified:** 2026-08-11T03:17:20.690Z

## Who should check

- Anyone running Linux \>= 814ab9930cfd709768439799eae3c7ef0a658b54, \< ac7d732b24f4061f8a732ada49b054ab38c63e15; \>= 814ab9930cfd709768439799eae3c7ef0a658b54, \< 197ae17722e989942b36e33e044787877f158574
- Anyone running Linux 5.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: fix svm\_migrate\_fini warning

Device manager releases device-specific resources when a driver
disconnects from a device, devm\_memunmap\_pages and
devm\_release\_mem\_region calls in svm\_migrate\_fini are redundant.

It causes below warning trace after patch "drm/amdgpu: Split
amdgpu\_device\_fini into early and late", so remove function
svm\_migrate\_fini.

BUG: https://gitlab.freedesktop.org/drm/amd/-/issues/1718

WARNING: CPU: 1 PID: 3646 at drivers/base/devres.c:795
devm\_release\_action+0x51/0x60
Call Trace:
    ? memunmap\_pages+0x360/0x360
    svm\_migrate\_fini+0x2d/0x60 \[amdgpu\]
    kgd2kfd\_device\_exit+0x23/0xa0 \[amdgpu\]
    amdgpu\_amdkfd\_device\_fini\_sw+0x1d/0x30 \[amdgpu\]
    amdgpu\_device\_fini\_sw+0x45/0x290 \[amdgpu\]
    amdgpu\_driver\_release\_kms+0x12/0x30 \[amdgpu\]
    drm\_dev\_release+0x20/0x40 \[drm\]
    release\_nodes+0x196/0x1e0
    device\_release\_driver\_internal+0x104/0x1d0
    driver\_detach+0x47/0x90
    bus\_remove\_driver+0x7a/0xd0
    pci\_unregister\_driver+0x3d/0x90
    amdgpu\_exit+0x11/0x20 \[amdgpu\]

## Affected and fixed versions

- Linux: \>= 814ab9930cfd709768439799eae3c7ef0a658b54, \< ac7d732b24f4061f8a732ada49b054ab38c63e15; \>= 814ab9930cfd709768439799eae3c7ef0a658b54, \< 197ae17722e989942b36e33e044787877f158574 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 197ae17722e989942b36e33e044787877f158574 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47410. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47410.md
Affected: Linux >= 814ab9930cfd709768439799eae3c7ef0a658b54, < ac7d732b24f4061f8a732ada49b054ab38c63e15; >= 814ab9930cfd709768439799eae3c7ef0a658b54, < 197ae17722e989942b36e33e044787877f158574; Linux 5.14
Fixed in: Linux 197ae17722e989942b36e33e044787877f158574

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47410 being exploited?

There is no confirmed exploitation: CVE-2021-47410 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2021-47410?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47410?

Linux \>= 814ab9930cfd709768439799eae3c7ef0a658b54, \< ac7d732b24f4061f8a732ada49b054ab38c63e15; \>= 814ab9930cfd709768439799eae3c7ef0a658b54, \< 197ae17722e989942b36e33e044787877f158574; Linux 5.14.

### Is there a fix for CVE-2021-47410?

Yes. Fixed in Linux 197ae17722e989942b36e33e044787877f158574. Upgrade Linux to 197ae17722e989942b36e33e044787877f158574 or later.

### How do I check if I'm affected by CVE-2021-47410?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ac7d732b24f4061f8a732ada49b054ab38c63e15>
- patch: <https://git.kernel.org/stable/c/197ae17722e989942b36e33e044787877f158574>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47410>

HTML: <https://flawdb.com/CVE-2021-47410> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47410>
