drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes (Linux Linux)

CVE-2024-41089
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes In nv17_tv_get_hd_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). The same applies to drm_cvt_mode(). Add a check to avoid null pointer dereference.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6ee738610f41b59733f63718f0bdbcba7d3a3f12 < ffabad4aa91e33ced3c6ae793fb37771b3e9cb51 ; affected 6ee738610f41b59733f63718f0bdbcba7d3a3f12 < 1c9f2e60150b4f13789064370e37f39e6e060f50 ; affected 6ee738610f41b59733f63718f0bdbcba7d3a3f12 < 56fc4d3b0bdef691831cd95715a7ca3ebea98b2d ; affected 6ee738610f41b59733f63718f0bdbcba7d3a3f12 < 5eecb49a6c268dc229005bf6e8167d4001dc09a0 ; affected 6ee738610f41b59733f63718f0bdbcba7d3a3f12 < 30cbf6ffafbbdd8a6e4e5f0a2e9a9827ee83f3ad ; affected 6ee738610f41b59733f63718f0bdbcba7d3a3f12 < 7ece609b0ce7a7ea8acdf512a77d1fee26621637
Linux · Linuxaffected 2.6.33 ; unaffected 0 < 2.6.33 ; unaffected 4.19.317 ≤ 4.19.* ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD