drm/amdgpu: Fix size validation for non-exclusive domains (v4) (Linux Linux)

CVE-2022-50527
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix size validation for non-exclusive domains (v4) Fix amdgpu_bo_validate_size() to check whether the TTM domain manager for the requested memory exists, else we get a kernel oops when dereferencing "man". v2: Make the patch standalone, i.e. not dependent on local patches. v3: Preserve old behaviour and just check that the manager pointer is not NULL. v4: Complain if GTT domain requested and it is uninitialized--most likely a bug.

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 a751612d4cb77779669da0a6d19fbc4f7e72ba6f < 80546eef216854a7bd47e39e828f04b406c00599 ; affected a751612d4cb77779669da0a6d19fbc4f7e72ba6f < 8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1 ; affected a751612d4cb77779669da0a6d19fbc4f7e72ba6f < 7554886daa31eacc8e7fac9e15bbce67d10b8f1f
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 6.0.19 ≤ 6.0.* ; unaffected 6.1.5 ≤ 6.1.* ; unaffected 6.2 ≤ *

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