Description
In the Linux kernel, the following vulnerability has been resolved: drm: Fix drm_pending_vblank_event leak in error path for out_fence_ptr When an out_fence_ptr is provided but DRM_MODE_PAGE_FLIP_EVENT is not set, a drm_pending_vblank_event will be allocated. If later, there is an allocation failure or another failure at setup_out_fence(), that event will not have base.fence set and it will not be released at complete_signaling(). Release the event and set crtc_state->event to NULL just like in the DRM_MODE_PAGE_FLIP_EVENT case when there is a failure at drm_event_reserve_init(). That is, prepare_signaling() releases the event and there is nothing to be done at complete_signaling(). Use drm_event_cancel_free() as that will also undo drm_event_reserve_init() in case it has been called.
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
92c715fca907686f5298220ece53423e38ba3aed to < 3d6576ed3de01e8a378397b7020e33ae3d40aa6caffected92c715fca907686f5298220ece53423e38ba3aed to < 86c33f740aa27e9cdc1259f0cc59c9c58f545e4baffected92c715fca907686f5298220ece53423e38ba3aed to < 88c450e23b8fd4f1dcd329562f5e81ef05f3d941affected92c715fca907686f5298220ece53423e38ba3aed to < 780716e2e019186fa6e5aad097a44b87b0b5388faffected92c715fca907686f5298220ece53423e38ba3aed to < d0be0516b5224eb5b6f42f8564a8deadb20ae16baffected92c715fca907686f5298220ece53423e38ba3aed to < daefd7ff159b0d1fb8c9e64430dcbe2aca1bdd09affected92c715fca907686f5298220ece53423e38ba3aed to < b9a68a9ccaada15d8dd0102c188cc6b868ff800baffected92c715fca907686f5298220ece53423e38ba3aed to < 9eb1a393c89a79c4210230d23e7d88d239c61d7baffected4cd462c7f2b6fcc208aebf44f2c831681feaa925affected4.9.10 to < 4.10affected
Linux Linux
Default version status: affected
4.10affected0 to < 4.10unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3d6576ed3de01e8a378397b7020e33ae3d40aa6c ↗
- https://git.kernel.org/stable/c/86c33f740aa27e9cdc1259f0cc59c9c58f545e4b ↗
- https://git.kernel.org/stable/c/88c450e23b8fd4f1dcd329562f5e81ef05f3d941 ↗
- https://git.kernel.org/stable/c/780716e2e019186fa6e5aad097a44b87b0b5388f ↗
- https://git.kernel.org/stable/c/d0be0516b5224eb5b6f42f8564a8deadb20ae16b ↗
- https://git.kernel.org/stable/c/daefd7ff159b0d1fb8c9e64430dcbe2aca1bdd09 ↗
- https://git.kernel.org/stable/c/b9a68a9ccaada15d8dd0102c188cc6b868ff800b ↗
- https://git.kernel.org/stable/c/9eb1a393c89a79c4210230d23e7d88d239c61d7b ↗