{"id":"CVE-2022-49968","published":"2025-06-18T11:00:32Z","modified":"2026-08-05T08:56:55Z","title":"ieee802154/adf7242: defer destroy_workqueue call","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nieee802154/adf7242: defer destroy_workqueue call\n\nThere is a possible race condition (use-after-free) like below\n\n  (FREE)                     |  (USE)\n  adf7242_remove             |  adf7242_channel\n   cancel_delayed_work_sync  |\n    destroy_workqueue (1)    |   adf7242_cmd_rx\n                             |    mod_delayed_work (2)\n                             |\n\nThe root cause for this race is that the upper layer (ieee802154) is\nunaware of this detaching event and the function adf7242_channel can\nbe called without any checks.\n\nTo fix this, we can add a flag write at the beginning of adf7242_remove\nand add flag check in adf7242_channel. Or we can just defer the\ndestructive operation like other commit 3e0588c291d6 (\"hamradio: defer\nax25 kfree after unregister_netdev\") which let the\nieee802154_unregister_hw() to handle the synchronization. This patch\ntakes the second option.\n\nruns\")","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00236,"percentile":0.1473,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/dede80aaf01f4b6e8657d23726cb4a3da226ec4c","tags":[]},{"url":"https://git.kernel.org/stable/c/bed12d7531df1417fc92c691999ff95e03835008","tags":[]},{"url":"https://git.kernel.org/stable/c/23a29932715ca43bceb2eae1bdb770995afe7271","tags":[]},{"url":"https://git.kernel.org/stable/c/9f8558c5c642c62c450c98c99b7d18a709fff485","tags":[]},{"url":"https://git.kernel.org/stable/c/15f3b89bd521d5770d36a61fc04a77c293138ba6","tags":[]},{"url":"https://git.kernel.org/stable/c/afe7116f6d3b888778ed6d95e3cf724767b9aedf","tags":[]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":2.95},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 58e9683d14752debc6f22daf6b23e031787df31f, < dede80aaf01f4b6e8657d23726cb4a3da226ec4c",">= 58e9683d14752debc6f22daf6b23e031787df31f, < bed12d7531df1417fc92c691999ff95e03835008",">= 58e9683d14752debc6f22daf6b23e031787df31f, < 23a29932715ca43bceb2eae1bdb770995afe7271",">= 58e9683d14752debc6f22daf6b23e031787df31f, < 9f8558c5c642c62c450c98c99b7d18a709fff485",">= 58e9683d14752debc6f22daf6b23e031787df31f, < 15f3b89bd521d5770d36a61fc04a77c293138ba6",">= 58e9683d14752debc6f22daf6b23e031787df31f, < afe7116f6d3b888778ed6d95e3cf724767b9aedf","a2363e2d88bf50022ee643c49ee5d4f7e8c915ea",">= 4.17.19, < 4.18"]},{"vendor":"Linux","product":"Linux","versions":["4.18"]}],"euvd":{"id":"EUVD-2022-55249","exploited":false,"provenance":"source"}}