CVE-2022-50305

HIGH

Linux Kernel 6.0.11-6.0.15, 6.1.0-6.1.1 - Use-After-Free in sof_es8336_remove

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0015
EPSS Percentile 4.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (13)
linux/Kernel < 6.0.16linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 6.1
Linux/Linux 6.0.11 - 6.0.16
Linux/Linux 6.0.16 - 6.0.*
Linux/Linux 6.1
Linux/Linux 6.1.2 - 6.1.*
Linux/Linux 6.2
Linux/Linux 89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 - 1b41beaa7a58467505ec3023af8aad74f878b888
Linux/Linux 89cdb224f2abe37ec4ac21ba0d9ddeb5a6a9cf68 - 390a1a98288a53b2e7555097d83c6e55d579b166
... and 3 more
Published Sep 15, 2025
Tracked Since Feb 18, 2026