drm/amd/display: avoid using null object of framebuffer (Linux Linux)

CVE-2024-46694
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: avoid using null object of framebuffer Instead of using state->fb->obj[0] directly, get object from framebuffer by calling drm_gem_fb_get_obj() and return error code when object is null to avoid using null object of framebuffer. (cherry picked from commit 73dd0ad9e5dad53766ea3e631303430116f834b3)

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 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 093ee72ed35c2338c87c26b6ba6f0b7789c9e14e ; affected 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < f6f5e39a3fe7cbdba190f42b28b40bdff03c8cf0 ; affected 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 49e1b214f3239b78967c6ddb8f8ec47ae047b051 ; affected 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 3b9a33235c773c7a3768060cf1d2cf8a9153bc37
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.108 ≤ 6.1.* ; unaffected 6.6.49 ≤ 6.6.* ; unaffected 6.10.8 ≤ 6.10.* ; unaffected 6.11 ≤ *

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