# CVE-2022-49864: drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-01T14:10:17.061Z
- Modified: 2026-06-17T05:19:20.610Z
- Weaknesses: CWE-476
- 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 NULL pointer dereference in svm_migrate_to_ram()

./drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:985:58-62: ERROR: p is NULL but dereferenced.

(As written by CVE List.)

## Affected

- Linux Linux: from 48ff079b28d82dbce000cc45c0fd35b6ae9ffbda before 3c1bb6187e566143f15dbf0367ae671584aead5b; from 48ff079b28d82dbce000cc45c0fd35b6ae9ffbda before 613d5a9a440828970f1543b962779401ac2c9c62; from 48ff079b28d82dbce000cc45c0fd35b6ae9ffbda before 5b994354af3cab770bf13386469c5725713679af; 5.14 (not affected: before 5.14; from 5.15.79 up to 5.15.*; from 6.0.9 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: before 5.15.79; from 5.16 before 6.0.9; 6.1

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3c1bb6187e566143f15dbf0367ae671584aead5b> (patch)
- <https://git.kernel.org/stable/c/613d5a9a440828970f1543b962779401ac2c9c62> (patch)
- <https://git.kernel.org/stable/c/5b994354af3cab770bf13386469c5725713679af> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-49864 · Whole record: https://cve.day/CVE-2022-49864.json · Rebuilt by cve.day 2026-11-25T22:58:20.908Z
