{"id":"CVE-2022-50305","aliases":["CVE-2022-50305"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-15T14:46:00.558Z","modified":"2026-11-05T20:17:33.410Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"b60ee210a76cabdc2dd5396de299a1860b4945cd","fixed":"b85102a3aa3810a09eb55692e8cd6ffbb304e57d","status":"affected"},{"type":"git","introduced":"89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68","fixed":"390a1a98288a53b2e7555097d83c6e55d579b166","status":"affected"},{"type":"git","introduced":"89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68","fixed":"1b41beaa7a58467505ec3023af8aad74f878b888","status":"affected"},{"type":"semver","introduced":"6.0.11","fixed":"6.0.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0.11","fixed":"6.0.16"},{"status":"affected","introduced":"6.1.1","fixed":"6.1.2"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b85102a3aa3810a09eb55692e8cd6ffbb304e57d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/390a1a98288a53b2e7555097d83c6e55d579b166","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b41beaa7a58467505ec3023af8aad74f878b888","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:09:21.410Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50305","url":"https://www.cve.org/CVERecord?id=CVE-2022-50305","licence":"CVE Terms of Use","modified":"2026-11-05T20:10:33.903Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50305","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50305","licence":"Public domain","modified":"2026-11-05T20:17:33.410Z"}],"updatedAt":"2026-11-25T22:58:21.156Z","epss":{"score":0.00168,"percentile":0.0645,"date":"2026-12-01T12:00:22.000Z"}}