{"id":"CVE-2026-98319","aliases":["CVE-2026-98319"],"related":[],"kind":"vulnerability","state":"published","title":"drm: Fix drm_pending_vblank_event leak in error path for out_fence_ptr","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Fix drm_pending_vblank_event leak in error path for out_fence_ptr\n\nWhen an out_fence_ptr is provided but DRM_MODE_PAGE_FLIP_EVENT is not\nset, a drm_pending_vblank_event will be allocated. If later, there is an\nallocation failure or another failure at setup_out_fence(), that event\nwill not have base.fence set and it will not be released at\ncomplete_signaling().\n\nRelease the event and set crtc_state->event to NULL just like in the\nDRM_MODE_PAGE_FLIP_EVENT case when there is a failure at\ndrm_event_reserve_init(). That is, prepare_signaling() releases the\nevent and there is nothing to be done at complete_signaling(). Use\ndrm_event_cancel_free() as that will also undo drm_event_reserve_init()\nin case it has been called.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Fix drm_pending_vblank_event leak in error path for out_fence_ptr\n\nWhen an out_fence_ptr is provided but DRM_MODE_PAGE_FLIP_EVENT is not\nset, a drm_pending_vblank_event will be allocated. If later, there is an\nallocation failure or another failure at setup_out_fence(), that event\nwill not have base.fence set and it will not be released at\ncomplete_signaling().\n\nRelease the event and set crtc_state->event to NULL just like in the\nDRM_MODE_PAGE_FLIP_EVENT case when there is a failure at\ndrm_event_reserve_init(). That is, prepare_signaling() releases the\nevent and there is nothing to be done at complete_signaling(). Use\ndrm_event_cancel_free() as that will also undo drm_event_reserve_init()\nin case it has been called.","source":"cvelist"}],"published":"2026-10-06T08:46:13.948Z","modified":"2026-10-19T10:18:34.030Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"3d6576ed3de01e8a378397b7020e33ae3d40aa6c","status":"affected"},{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"86c33f740aa27e9cdc1259f0cc59c9c58f545e4b","status":"affected"},{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"88c450e23b8fd4f1dcd329562f5e81ef05f3d941","status":"affected"},{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"780716e2e019186fa6e5aad097a44b87b0b5388f","status":"affected"},{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"d0be0516b5224eb5b6f42f8564a8deadb20ae16b","status":"affected"},{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"daefd7ff159b0d1fb8c9e64430dcbe2aca1bdd09","status":"affected"},{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"b9a68a9ccaada15d8dd0102c188cc6b868ff800b","status":"affected"},{"type":"git","introduced":"92c715fca907686f5298220ece53423e38ba3aed","fixed":"9eb1a393c89a79c4210230d23e7d88d239c61d7b","status":"affected"},{"type":"git","version":"4cd462c7f2b6fcc208aebf44f2c831681feaa925","status":"affected"},{"type":"semver","introduced":"4.9.10","fixed":"4.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.10","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3d6576ed3de01e8a378397b7020e33ae3d40aa6c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86c33f740aa27e9cdc1259f0cc59c9c58f545e4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88c450e23b8fd4f1dcd329562f5e81ef05f3d941","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/780716e2e019186fa6e5aad097a44b87b0b5388f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d0be0516b5224eb5b6f42f8564a8deadb20ae16b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/daefd7ff159b0d1fb8c9e64430dcbe2aca1bdd09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9a68a9ccaada15d8dd0102c188cc6b868ff800b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9eb1a393c89a79c4210230d23e7d88d239c61d7b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98319","url":"https://www.cve.org/CVERecord?id=CVE-2026-98319","licence":"CVE Terms of Use","modified":"2026-10-19T09:17:29.834Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98319","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98319","licence":"Public domain","modified":"2026-10-19T10:18:34.030Z"}],"updatedAt":"2026-11-25T22:59:42.328Z","epss":{"score":0.00184,"percentile":0.08416,"date":"2026-12-01T12:00:22.000Z"}}