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

CVE-2026-80903
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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)

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected f0ab9cd205d852a9024b73c71c8d8b217a04e8f0 < fcf7943b0a38568c547d7b5702de1d8190480616 ; affected 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 < 948f346fe36e1d02353c3d61b1f6b66c6af91996 ; affected 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 < 027150e24e173a5dffe7f5ab3a6600618f634da2 ; affected 9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0 < 8d33c4987cd162527375a3905017ae129ba7c3fe ; affected 6.12.18 < 6.12.105
Linux · Linuxaffected 6.13 ; unaffected 0 < 6.13 ; unaffected 6.12.105 ≤ 6.12.* ; unaffected 6.18.46 ≤ 6.18.* ; unaffected 7.1.10 ≤ 7.1.* ; unaffected 7.2 ≤ *

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