Use-after-free in Linux kernel - CVE-2026-31584
Published: April 25, 2026
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to use-after-free in fops_vcodec_release() and the mtk_venc_worker workqueue handler when releasing an encoder context while queued or running encode work is still active. A local user can trigger the encoder release path during encode operations to cause a denial of service.
The issue is caused by a race condition between the release path and the workqueue lifecycle after the multimedia job is considered complete.