{"id":"CVE-2022-48710","summary":"drm/radeon: fix a possible null pointer dereference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: fix a possible null pointer dereference\n\nIn radeon_fp_native_mode(), the return value of drm_mode_duplicate()\nis assigned to mode, which will lead to a NULL pointer dereference\non failure of drm_mode_duplicate(). Add a check to avoid npd.\n\nThe failure status of drm_cvt_mode() on the other path is checked too.","modified":"2026-04-02T08:26:54.357200Z","published":"2024-05-21T15:30:37.579Z","related":["SUSE-SU-2024:1979-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2010-1","SUSE-SU-2024:2011-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:2185-1","SUSE-SU-2024:2189-1","SUSE-SU-2024:2190-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48710.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/140d9807b96e1303f6f2675a7ae8710a2094bd17"},{"type":"WEB","url":"https://git.kernel.org/stable/c/16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/28fd384c78d7d8ed8af0d086d778c3e438ba7f60"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a89bfeef9abe93371e3ea8796377f2d132eee29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2b28708b645c5632dc93669ab06e97874c8244f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b33f7d99c9226892c7794dc2500fae35966020c9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e938d24f0b7392e142b8aa434f18590d99dbe479"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fee8ae0a0bb66eb7730c22f44fbd7203f63c2eab"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48710.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48710"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"771fe6b912fca54f03e8a72eb63058b582775362"},{"fixed":"b33f7d99c9226892c7794dc2500fae35966020c9"},{"fixed":"16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9f"},{"fixed":"8a89bfeef9abe93371e3ea8796377f2d132eee29"},{"fixed":"28fd384c78d7d8ed8af0d086d778c3e438ba7f60"},{"fixed":"fee8ae0a0bb66eb7730c22f44fbd7203f63c2eab"},{"fixed":"7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9"},{"fixed":"e938d24f0b7392e142b8aa434f18590d99dbe479"},{"fixed":"140d9807b96e1303f6f2675a7ae8710a2094bd17"},{"fixed":"a2b28708b645c5632dc93669ab06e97874c8244f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48710.json"}}],"schema_version":"1.7.5"}