LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50305: ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel use-after-free risk in the SOF ES8336 audio driver removal path. A delayed work callback may still run after driver removal, touching freed memory. The public record does not provide a CVSS score, exploit evidence, or business-impact details.

Executive priority

Treat as a targeted Linux kernel maintenance item, not an emergency, unless critical fleets use the affected audio driver. Prioritize normal kernel patch cycles and confirm distribution coverage because severity and exploitability are not published.

Technical view

The vulnerable path is sof_es8336_remove() in the ASoC sof_es8336 driver. It used cancel_delayed_work(), which does not wait for running work to finish. The fix changes cancellation to cancel_delayed_work_sync(), preventing the callback from running or rescheduling after removal.

Likely exposure

Exposure appears limited to Linux systems using affected kernels with the ASoC SOF ES8336 audio driver present. The source bundle lists affected Linux versions and commits, but the version data is sparse and should be confirmed against distribution kernel advisories.

Exploitation context

No active exploitation is stated in the source bundle, and the CVE is not marked KEV. The record describes a race during driver removal, suggesting likely local or device-lifecycle trigger conditions, but exploitation requirements are not fully documented.

Researcher notes

The key bug class is asynchronous work cancellation during driver teardown. The public record supports the UAF condition and the synchronization fix, but does not establish exploitability, privilege impact, affected hardware breadth, or CVSS severity.

Mitigation direction

  • Update to a Linux kernel or vendor package containing the referenced stable fixes.
  • Check distribution advisories for backported fixes matching CVE-2022-50305.
  • If updates are unavailable, ask the vendor for supported mitigations.
  • Prioritize systems that load or depend on the sof_es8336 audio driver.

Validation and detection

  • Inventory kernel versions and whether the sof_es8336 driver is built or loaded.
  • Compare deployed kernel source or changelog against the referenced stable commits.
  • Check vendor security advisories for CVE-2022-50305 backport status.
  • Confirm patched code uses cancel_delayed_work_sync() in sof_es8336_remove().
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50305 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
0ADP providers
4Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxb60ee210a76cabdc2dd5396de299a1860b4945cd, 89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68, 89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68unaffected
LinuxLinux6.1, 0, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.