CVE-2026-98319: drm: Fix drm_pending_vblank_event leak in error path for out_fence_ptr

Published Oct 6, 2026
·
Updated

drm: Fix drmpendingvblankevent leak in error path for outfenceptr

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the error path for out_fence_ptr setup, use drm_event_cancel_free() to release the event and undo drm_event_reserve_init(), then set crtc_state->event to NULL.

Event History

Oct 6, 2026
CVE Published
via MITRE·08:46 AM
Data Sourced
via MITRE·08:46 AM
Description
Data Sourced
via NVD·09:18 AM
Description
Oct 7, 2026
Data Sourced
via Microsoft·08:19 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions trigger the leak?

The leak occurs when an out_fence_ptr is supplied without DRM_MODE_PAGE_FLIP_EVENT and a later failure happens during setup_out_fence(), such as an allocation failure or another setup error.

2

What is leaked if the error path is reached?

A drm_pending_vblank_event can remain unreleased because its base.fence is not set, preventing complete_signaling() from releasing it.

3

What should be done if the affected error path is encountered?

The event should be released with drm_event_cancel_free(), and crtc_state->event should be set to NULL. This also undoes drm_event_reserve_init() if it was already called.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203