drm/xe/oa: Limit num_syncs to prevent oversized allocations (Linux Linux)

CVE-2025-71076
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe/oa: Limit num_syncs to prevent oversized allocations The OA open parameters did not validate num_syncs, allowing userspace to pass arbitrarily large values, potentially leading to excessive allocations. Add check to ensure that num_syncs does not exceed DRM_XE_MAX_SYNCS, returning -EINVAL when the limit is violated. v2: use XE_IOCTL_DBG() and drop duplicated check. (Ashutosh) (cherry picked from commit e057b2d2b8d815df3858a87dffafa2af37e5945b)

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 803d418b73387fda392ddd83eace757ac25cf15d < b963636331fb4f3f598d80492e2fa834757198eb ; affected c8507a25cebd179db935dd266a33c51bef1b1e80 < 338849090ee610ff6d11e5e90857d2c27a4121ab ; affected c8507a25cebd179db935dd266a33c51bef1b1e80 < f8dd66bfb4e184c71bd26418a00546ebe7f5c17a ; affected 6.12.17 < 6.12.64
Linux · Linuxaffected 6.13 ; unaffected 0 < 6.13 ; unaffected 6.12.64 ≤ 6.12.* ; unaffected 6.18.3 ≤ 6.18.* ; unaffected 6.19 ≤ *

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