CVE-2022-50305

published 15 Sep 2025 · updated 17 Nov 2026

ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.0.16, Kernel 6.1.2, Kernel 390a1a98288a53b2e7555097d83c6e55d579b166 and 2 more.

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 driver's 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.0.11 <6.0.16, >=6.1.1 <6.1.2, =6.1, >=89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 <390a1a98288a53b2e7555097d83c6e55d579b166, >=b60ee210a76cabdc2dd5396de299a1860b4945cd <b85102a3aa3810a09eb55692e8cd6ffbb304e57d, >=89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 <1b41beaa7a58467505ec3023af8aad74f878b8886.0.16, 6.1.2, 390a1a98288a53b2e7555097d83c6e55d579b166, b85102a3aa3810a09eb55692e8cd6ffbb304e57d, 1b41beaa7a58467505ec3023af8aad74f878b888
linux-kernel: Kernel>=6.0.11 <6.0.16, >=6.1.0 <6.1.26.0.16, 6.1.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50305 severity on Zeptric[![CVE-2022-50305](https://zeptric.io/badge/cve/CVE-2022-50305.svg)](https://zeptric.io/cve/CVE-2022-50305)