drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer (Linux Linux)

CVE-2024-49991
HIGH 7.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer Pass pointer reference to amdgpu_bo_unref to clear the correct pointer, otherwise amdgpu_bo_unref clear the local variable, the original pointer not set to NULL, this could cause use-after-free bug.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 130e0371b7d454bb4a861253c822b9f911ad5d19 < e7831613cbbcd9058d3658fbcdc5d5884ceb2e0c ; affected 130e0371b7d454bb4a861253c822b9f911ad5d19 < 30ceb873cc2e97348d9da2265b2d1ddf07f682e1 ; affected 130e0371b7d454bb4a861253c822b9f911ad5d19 < 71f3240f82987f0f070ea5bed559033de7d4c0e1 ; affected 130e0371b7d454bb4a861253c822b9f911ad5d19 < 6c9289806591807e4e3be9a23df8ee2069180055 ; affected 130e0371b7d454bb4a861253c822b9f911ad5d19 < c86ad39140bbcb9dc75a10046c2221f657e8083b
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 6.1.118 ≤ 6.1.* ; unaffected 6.6.55 ≤ 6.6.* ; unaffected 6.10.14 ≤ 6.10.* ; unaffected 6.11.3 ≤ 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