# CVE-2021-47410: drm/amdkfd: fix svm_migrate_fini warning

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-21T15:04:01.984Z
- Modified: 2026-08-11T03:17:20.690Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 814ab9930cfd709768439799eae3c7ef0a658b54 before ac7d732b24f4061f8a732ada49b054ab38c63e15; from 814ab9930cfd709768439799eae3c7ef0a658b54 before 197ae17722e989942b36e33e044787877f158574; 5.14 (not affected: before 5.14; from 5.14.11 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 3.19 before 5.14.11; 5.15

## References

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

## Sources

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

---

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