Security Advisory

CVE-2022-50305

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2025-09-15 14:46:00
Last updated 2026-05-23 15:24:12
Assigner Linux
State PUBLISHED

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove() sof_es8336_remove() calls cancel_delayed_work(). However, that function does not wait until the work function finishes. This means that the callback function may still be running after the drivers remove function has finished, which would result in a use-after-free. Fix by calling cancel_delayed_work_sync(), which ensures that the work is properly cancelled, no longer running, and unable to re-schedule itself.