CVE-2022-48710

drm/radeon: fix a possible null pointer dereference

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 3, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before b33f7d99c9226892c7794dc2500fae35966020c9Affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before 16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9fAffected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before 8a89bfeef9abe93371e3ea8796377f2d132eee29Affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before 28fd384c78d7d8ed8af0d086d778c3e438ba7f60Affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before fee8ae0a0bb66eb7730c22f44fbd7203f63c2eabAffected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before 7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9Affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before e938d24f0b7392e142b8aa434f18590d99dbe479Affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before 140d9807b96e1303f6f2675a7ae8710a2094bd17Affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to before a2b28708b645c5632dc93669ab06e97874c8244fAffected
LinuxLinux
  • 2.6.31Affected
  • before 2.6.31Not affected
  • 4.9.318 through 4.9.*Not affected
  • 4.14.283 through 4.14.*Not affected
  • 4.19.247 through 4.19.*Not affected
  • 5.4.198 through 5.4.*Not affected
  • 5.10.122 through 5.10.*Not affected
  • 5.15.47 through 5.15.*Not affected
  • 5.17.15 through 5.17.*Not affected
  • 5.18.4 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.