{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50305","id":"CVE-2022-50305","title":"ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()\n\nsof_es8336_remove() calls cancel_delayed_work(). However, that\nfunction does not wait until the work function finishes. This\nmeans that the callback function may still be running after\nthe driver's remove function has finished, which would result\nin a use-after","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()\n\nsof_es8336_remove() calls cancel_delayed_work(). However, that\nfunction does not wait until the work function finishes. This\nmeans that the callback function may still be running after\nthe driver's remove function has finished, which would result\nin a use-after-free.\n\nFix by calling cancel_delayed_work_sync(), which ensures that\nthe work is properly cancelled, no longer running, and unable\nto re-schedule itself.","published":"2025-09-15T14:46:00.558Z","updated":"2026-11-17T07:00:31.332160350Z","reserved":"2025-09-15T14:18:36.812Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b60ee210a76cabdc2dd5396de299a1860b4945cd","lessThan":"b85102a3aa3810a09eb55692e8cd6ffbb304e57d","status":"affected","versionType":"git"},{"version":"89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68","lessThan":"390a1a98288a53b2e7555097d83c6e55d579b166","status":"affected","versionType":"git"},{"version":"89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68","lessThan":"1b41beaa7a58467505ec3023af8aad74f878b888","status":"affected","versionType":"git"},{"version":"6.0.11","lessThan":"6.0.16","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","lessThan":"6.1","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b85102a3aa3810a09eb55692e8cd6ffbb304e57d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/390a1a98288a53b2e7555097d83c6e55d579b166","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1b41beaa7a58467505ec3023af8aad74f878b888","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50305.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50305","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00168,"epssPercentile":0.06146,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50305","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50305","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50305","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50305","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}