drm/amdgpu: drop redundant sched job cleanup when cs is aborted (Linux Linux)

CVE-2023-53228
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: drop redundant sched job cleanup when cs is aborted Once command submission failed due to userptr invalidation in amdgpu_cs_submit, legacy code will perform cleanup of scheduler job. However, it's not needed at all, as former commit has integrated job cleanup stuff into amdgpu_job_free. Otherwise, because of double free, a NULL pointer dereference will occur in such scenario. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2457

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 49aa99f05dbc75b9ae360a74648c420a80f7ee49 < cdce1644d85e858c68fb5fa67d78eb1035bf34f4 ; affected f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 < c1564d4b105ae535eb3183ecaaa987685b20a888 ; affected f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 < ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4 ; affected f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 < 1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8 ; affected 6.1.160 < 6.1.167
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.2.16 ≤ 6.2.* ; unaffected 6.3.3 ≤ 6.3.* ; unaffected 6.4 ≤ *

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