CVE-2022-49968
MediumIn the Linux kernel, the following vulnerability has been resolved: ieee802154/adf7242: defer destroy_workqueue call There is a possible race condition (use-after-free) like below (FREE) | (USE) adf7242_remove | adf7242_channel cancel_delayed_work_sync | destroy_workqueue (1) | adf7242_cmd_rx | mod_delayed_work (2) | The root cause for this race is that the upper layer (ieee802154) is unaware of this detaching event and the function adf7242_channel can be called without any checks. To fix this, we can add a flag write at the beginning of adf7242_remove and add flag check in adf7242_channel. Or we can just defer the destructive operation like other commit 3e0588c291d6 ("hamradio: defer ax25 kfree after unregister_netdev") which let the ieee802154_unregister_hw() to handle the synchronization. This patch takes the second option. runs")
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2022-49968 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.17.19,
4.18
and later are affected. Fixed in
4.19.258,
5.4.213,
5.10.142,
5.15.66,
5.19.8,
6.0
and their respective stable series.
References
The following references provide additional information about CVE-2022-49968 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/15f3b89bd521d5770d36a61fc04a77c293138ba6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/23a29932715ca43bceb2eae1bdb770995afe7271
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9f8558c5c642c62c450c98c99b7d18a709fff485
Frequently asked questions
-
What is CVE-2022-49968?
CVE-2022-49968 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 4.17.19 onward and has been patched in 4.19.258, 5.4.213, 5.10.142 and others. CVE-2022-49968 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49968?
CVE-2022-49968 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49968?
Yes — CVE-2022-49968 has been patched. Fixed versions include 4.19.258, 5.4.213, 5.10.142 and others. If you are running Linux kernel 4.17.19 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49968 actively exploited?
No — CVE-2022-49968 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →