# CVE-2022-48710: drm/radeon: fix a possible null pointer dereference

- 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.31%, higher than 17% of CVEs (2026-11-30)
- Published: 2024-05-21T15:30:37.579Z
- Modified: 2026-06-17T05:15:59.073Z
- 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/radeon: fix a possible null pointer dereference

In radeon_fp_native_mode(), the return value of drm_mode_duplicate()
is assigned to mode, which will lead to a NULL pointer dereference
on failure of drm_mode_duplicate(). Add a check to avoid npd.

The failure status of drm_cvt_mode() on the other path is checked too.

(As written by CVE List.)

## Affected

- Linux Linux: from 771fe6b912fca54f03e8a72eb63058b582775362 before b33f7d99c9226892c7794dc2500fae35966020c9; from 771fe6b912fca54f03e8a72eb63058b582775362 before 16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9f; from 771fe6b912fca54f03e8a72eb63058b582775362 before 8a89bfeef9abe93371e3ea8796377f2d132eee29; from 771fe6b912fca54f03e8a72eb63058b582775362 before 28fd384c78d7d8ed8af0d086d778c3e438ba7f60; from 771fe6b912fca54f03e8a72eb63058b582775362 before fee8ae0a0bb66eb7730c22f44fbd7203f63c2eab; from 771fe6b912fca54f03e8a72eb63058b582775362 before 7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9; from 771fe6b912fca54f03e8a72eb63058b582775362 before e938d24f0b7392e142b8aa434f18590d99dbe479; from 771fe6b912fca54f03e8a72eb63058b582775362 before 140d9807b96e1303f6f2675a7ae8710a2094bd17; from 771fe6b912fca54f03e8a72eb63058b582775362 before a2b28708b645c5632dc93669ab06e97874c8244f; 2.6.31 (not affected: before 2.6.31; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## References

- <https://git.kernel.org/stable/c/b33f7d99c9226892c7794dc2500fae35966020c9> (patch)
- <https://git.kernel.org/stable/c/16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9f> (patch)
- <https://git.kernel.org/stable/c/8a89bfeef9abe93371e3ea8796377f2d132eee29> (patch)
- <https://git.kernel.org/stable/c/28fd384c78d7d8ed8af0d086d778c3e438ba7f60> (patch)
- <https://git.kernel.org/stable/c/fee8ae0a0bb66eb7730c22f44fbd7203f63c2eab> (patch)
- <https://git.kernel.org/stable/c/7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9> (patch)
- <https://git.kernel.org/stable/c/e938d24f0b7392e142b8aa434f18590d99dbe479> (patch)
- <https://git.kernel.org/stable/c/140d9807b96e1303f6f2675a7ae8710a2094bd17> (patch)
- <https://git.kernel.org/stable/c/a2b28708b645c5632dc93669ab06e97874c8244f> (patch)

## Sources

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

---

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