drm/xe/oa: Fix sync entry leak on OA config emit failure
Published Sep 4, 2026
No CVSS score
EPSS 0.21%
Description
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 6.12.18StatusaffectedConstraints<6.12.105
- Version
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.13StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.13
- Version 6.12.105StatusunaffectedConstraints<=6.12.*
- Version 6.18.46StatusunaffectedConstraints<=6.18.*
- Version 7.1.10StatusunaffectedConstraints<=7.1.*
- Version 7.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||
| Linux | Linux | unaffected |
| |||||||||||||||||||||
| Linux | Linux | affected |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Sep–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.21% (0.00209) | 9.93th | v5 (v2026.06.15) |
| Sep 5, 2026 | 0.16% (0.00156) | 5.10th | v5 (v2026.06.15) |
No CWE recorded.
References (4)
- https://git.kernel.org/stable/c/027150e24e173a5dffe7f5ab3a6600618f634da2
- https://git.kernel.org/stable/c/8d33c4987cd162527375a3905017ae129ba7c3fe
- https://git.kernel.org/stable/c/948f346fe36e1d02353c3d61b1f6b66c6af91996
- https://git.kernel.org/stable/c/fcf7943b0a38568c547d7b5702de1d8190480616
Change history (0)
No recorded changes yet.