drm: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used (Linux Linux)

CVE-2026-89816
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
É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: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used Commit 1c6ceeee6ebb ("drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits") fixed a very similar issue when the event was allocated by drm_atomic_helper_setup_commit() itself. However, if the event is allocated in prepare_signaling(), it will also be set to NULL in complete_signaling(), which prevents drm_crtc_commit from being put in __drm_atomic_helper_crtc_destroy_state(). Dropping the reference when the event is set to NULL at complete_signaling() fixes the leak. The leak can be reproduced by sending a signal to the thread using DRM_MODE_PAGE_FLIP_EVENT and using a sw_sync fence to cause the atomic ioctl to block at drm_atomic_helper_wait_for_fences(). It happened both with amdgpu and vkms.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 24835e442f289813aa568d142a755672a740503c < c5517b71101f61a45144e3cf77a19626355272de ; affected 24835e442f289813aa568d142a755672a740503c < 866a04137dac7e82a3848851061ff7ed15c2847e ; affected 24835e442f289813aa568d142a755672a740503c < 6a6a7aae4681a20cd32789fea9a487aaafa0e7a3 ; affected 24835e442f289813aa568d142a755672a740503c < e2f27b5ed9084feb7bae9ef2bc80de37c92280b1 ; affected 24835e442f289813aa568d142a755672a740503c < ff73f5f43d032c3da3c534c517f661e8dfeb358a ; affected 24835e442f289813aa568d142a755672a740503c < 66b1b309886337745d395bbc158440ab196305ce
Linux · Linuxaffected 4.11 ; unaffected 0 < 4.11 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

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