Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-80903

drm/xe/oa: Fix sync entry leak on OA config emit failure

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe/oa: Fix sync entry leak on OA config emit failure xe_oa_emit_oa_config() releases the sync entries and the syncs array only on its success path. When it fails before the point of no return (fence allocation, config buffer allocation or batch submission), it returns without touching stream->syncs. The stream open path handles such failures in the caller, but xe_oa_config_locked() propagates the error without any cleanup, so the syncs array and the fence references held by the parsed entries are leaked. The next config ioctl overwrites stream->syncs, making the memory unreachable for good. Clean up the parsed syncs when xe_oa_emit_oa_config() fails, matching the cleanup done by the stream open error path. (cherry picked from commit 8af97b3da2cfce04e6b457c6eb17ed3c1daf912b)

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

  • f0ab9cd205d852a9024b73c71c8d8b217a04e8f0 to < fcf7943b0a38568c547d7b5702de1d8190480616affected
  • 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 to < 948f346fe36e1d02353c3d61b1f6b66c6af91996affected
  • 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 to < 027150e24e173a5dffe7f5ab3a6600618f634da2affected
  • 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 to < 8d33c4987cd162527375a3905017ae129ba7c3feaffected
  • 6.12.18 to < 6.12.105affected

Linux Linux

Default version status: affected

  • 6.13affected
  • 0 to < 6.13unaffected
  • 6.12.105 to ≤ 6.12.*unaffected
  • 6.18.46 to ≤ 6.18.*unaffected
  • 7.1.10 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References