drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked() (Linux Linux)

CVE-2025-68190
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked() kcalloc() may fail. When WS is non-zero and allocation fails, ectx.ws remains NULL while ectx.ws_size is set, leading to a potential NULL pointer dereference in atom_get_src_int() when accessing WS entries. Return -ENOMEM on allocation failure to avoid the NULL dereference.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 0b52e3192181b4de58844faedd2928e5c6ca0e06 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 47252c7d5559d8776ad336be9c955d8404e7ae69 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 88d198836f628c57536c6c71d13e90c5d15fbf1a ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 73853208a497a036596dcf9efbff8ce927651d3a ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 35f3fb86bb0158a298d6834e7e110dcaf07f490c ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 997e28d3d00a1d30649629515e4402612921205b
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

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