CVE-2022-50305 Details
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 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.
A use-after-free vulnerability has been identified in the Linux kernel's ASoC sof_es8336 driver. The issue arises in the sof_es8336_remove() function, which calls cancel_delayed_work() to cancel a scheduled work item. However, this function does not wait for the work item to complete, potentially allowing the callback to execute after the driver has been removed, leading to a use-after-free condition. This vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed by modifying the sof_es8336_remove() function to use cancel_delayed_work_sync(), which properly cancels the work item, ensuring it is not running and cannot re-schedule itself. Users should upgrade to the patched version of the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1b41beaa7a58467505ec3023af8aad74f878b888 | kernel.org | Patch |
| https://git.kernel.org/stable/c/390a1a98288a53b2e7555097d83c6e55d579b166 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b85102a3aa3810a09eb55692e8cd6ffbb304e57d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.0.11, < 6.0.16 >= 6.1.1, < 6.1.2 6.1 - 6.1 rc6 6.1 rc7 6.1 rc8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |