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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 771fe6b912fca54f03e8a72eb63058b582775362, < b33f7d99c9226892c7794dc2500fae35966020c9; >= 771fe6b912fca54f03e8a72eb63058b582775362, < 16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9f; >= 771fe6b912fca54f03e8a72eb63058b582775362, < 8a89bfeef9abe93371e3ea8796377f2d132eee29; >= 771fe6b912fca54f03e8a72eb63058b582775362, < 28fd384c78d7d8ed8af0d086d778c3e438ba7f60; >= 771fe6b912fca54f03e8a72eb63058b582775362, < fee8ae0a0bb66eb7730c22f44fbd7203f63c2eab; >= 771fe6b912fca54f03e8a72eb63058b582775362, < 7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9; >= 771fe6b912fca54f03e8a72eb63058b582775362, < e938d24f0b7392e142b8aa434f18590d99dbe479; >= 771fe6b912fca54f03e8a72eb63058b582775362, < 140d9807b96e1303f6f2675a7ae8710a2094bd17; >= 771fe6b912fca54f03e8a72eb63058b582775362, < a2b28708b645c5632dc93669ab06e97874c8244f |
| Linux | Linux | 2.6.31 |
References
- https://git.kernel.org/stable/c/140d9807b96e1303f6f2675a7ae8710a2094bd17Patch
- https://git.kernel.org/stable/c/16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9fPatch
- https://git.kernel.org/stable/c/28fd384c78d7d8ed8af0d086d778c3e438ba7f60Patch
- https://git.kernel.org/stable/c/7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9Patch
- https://git.kernel.org/stable/c/8a89bfeef9abe93371e3ea8796377f2d132eee29Patch
- https://git.kernel.org/stable/c/a2b28708b645c5632dc93669ab06e97874c8244fPatch
- https://git.kernel.org/stable/c/b33f7d99c9226892c7794dc2500fae35966020c9Patch
- https://git.kernel.org/stable/c/e938d24f0b7392e142b8aa434f18590d99dbe479Patch
- https://git.kernel.org/stable/c/fee8ae0a0bb66eb7730c22f44fbd7203f63c2eabPatch
- https://git.kernel.org/stable/c/140d9807b96e1303f6f2675a7ae8710a2094bd17Patch
- https://git.kernel.org/stable/c/16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9fPatch
- https://git.kernel.org/stable/c/28fd384c78d7d8ed8af0d086d778c3e438ba7f60Patch
- https://git.kernel.org/stable/c/7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9Patch
- https://git.kernel.org/stable/c/8a89bfeef9abe93371e3ea8796377f2d132eee29Patch
- https://git.kernel.org/stable/c/a2b28708b645c5632dc93669ab06e97874c8244fPatch
- https://git.kernel.org/stable/c/b33f7d99c9226892c7794dc2500fae35966020c9Patch
- https://git.kernel.org/stable/c/e938d24f0b7392e142b8aa434f18590d99dbe479Patch
- https://git.kernel.org/stable/c/fee8ae0a0bb66eb7730c22f44fbd7203f63c2eabPatch
Timeline
- Published
- May 21, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed