2084AI Security Observatory

CVE

CVE-2022-50305

CVE-2022-50305HIGH 7.8EPSS 6%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.1.1, < 6.1.2Fixed in 6.1.2
  • 6.1This version only
  • 6.1-rc8This version only
  • 6.1-rc7This version only
  • 6.1-rc6This version only
  • ≥ 6.0.11, < 6.0.16Fixed in 6.0.16

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.