Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-71076

drm/xe/oa: Limit num_syncs to prevent oversized allocations

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)

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 803d418b73387fda392ddd83eace757ac25cf15d to < b963636331fb4f3f598d80492e2fa834757198ebaffected
  • c8507a25cebd179db935dd266a33c51bef1b1e80 to < 338849090ee610ff6d11e5e90857d2c27a4121abaffected
  • c8507a25cebd179db935dd266a33c51bef1b1e80 to < f8dd66bfb4e184c71bd26418a00546ebe7f5c17aaffected
  • 6.12.17 to < 6.12.64affected

Linux Linux

Default version status: affected

  • 6.13affected
  • 0 to < 6.13unaffected
  • 6.12.64 to ≤ 6.12.*unaffected
  • 6.18.3 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References