CVE-2022-50305
publishedASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb60ee210a76cabdc2dd5396de299a1860b4945cd to < b85102a3aa3810a09eb55692e8cd6ffbb304e57d · 89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 to < 390a1a98288a53b2e7555097d83c6e55d579b166 · 89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 to < 1b41beaa7a58467505ec3023af8aad74f878b888 · 6.0.11 to < 6.0.16 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b60ee210a76cabdc2dd5396de299a1860b4945cd to < b85102a3aa3810a09eb55692e8cd6ffbb304e57d (affected · git)89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 to < 390a1a98288a53b2e7555097d83c6e55d579b166 (affected · git)89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 to < 1b41beaa7a58467505ec3023af8aad74f878b888 (affected · git)6.0.11 to < 6.0.16 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
2Linux · cna
ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e0cd1ee048ff580146dac61c8e78673bc2bee2400ed029726bc1b890338b1b77
- Ingested
- 07 Nov 2026, 23:07:48 UTC
- Source record
- Official CVE record