drm/xe/oa: Limit num_syncs to prevent oversized allocations
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f8dd66bfb4e184c71bd26418a00546ebe7f5c17a, Kernel 6.18.3, Kernel 338849090ee610ff6d11e5e90857d2c27a4121ab and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c8507a25cebd179db935dd266a33c51bef1b1e80 <f8dd66bfb4e184c71bd26418a00546ebe7f5c17a, >=6.13.1 <6.18.3, =6.13, =6.19, >=c8507a25cebd179db935dd266a33c51bef1b1e80 <338849090ee610ff6d11e5e90857d2c27a4121ab, >=6.12.17 <6.12.64, >=803d418b73387fda392ddd83eace757ac25cf15d <b963636331fb4f3f598d80492e2fa834757198eb | f8dd66bfb4e184c71bd26418a00546ebe7f5c17a, 6.18.3, 338849090ee610ff6d11e5e90857d2c27a4121ab, 6.12.64, b963636331fb4f3f598d80492e2fa834757198eb |
| linux-kernel: Kernel | >=6.12.17 <6.12.64, >=6.13.0 <6.18.3 | 6.12.64, 6.18.3 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket