Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-48710

drm/radeon: fix a possible null pointer dereference

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 771fe6b912fca54f03e8a72eb63058b582775362 to < b33f7d99c9226892c7794dc2500fae35966020c9affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < 16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9faffected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < 8a89bfeef9abe93371e3ea8796377f2d132eee29affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < 28fd384c78d7d8ed8af0d086d778c3e438ba7f60affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < fee8ae0a0bb66eb7730c22f44fbd7203f63c2eabaffected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < 7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < e938d24f0b7392e142b8aa434f18590d99dbe479affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < 140d9807b96e1303f6f2675a7ae8710a2094bd17affected
  • 771fe6b912fca54f03e8a72eb63058b582775362 to < a2b28708b645c5632dc93669ab06e97874c8244faffected

Linux Linux

Default version status: affected

  • 2.6.31affected
  • 0 to < 2.6.31unaffected
  • 4.9.318 to ≤ 4.9.*unaffected
  • 4.14.283 to ≤ 4.14.*unaffected
  • 4.19.247 to ≤ 4.19.*unaffected
  • 5.4.198 to ≤ 5.4.*unaffected
  • 5.10.122 to ≤ 5.10.*unaffected
  • 5.15.47 to ≤ 5.15.*unaffected
  • 5.17.15 to ≤ 5.17.*unaffected
  • 5.18.4 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References