{"id":"CVE-2022-49968","summary":"ieee802154/adf7242: defer destroy_workqueue call","details":"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\")","modified":"2026-11-13T04:01:41.657288883Z","published":"2025-06-18T11:00:32.443Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02537-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49968.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/15f3b89bd521d5770d36a61fc04a77c293138ba6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23a29932715ca43bceb2eae1bdb770995afe7271"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f8558c5c642c62c450c98c99b7d18a709fff485"},{"type":"WEB","url":"https://git.kernel.org/stable/c/afe7116f6d3b888778ed6d95e3cf724767b9aedf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bed12d7531df1417fc92c691999ff95e03835008"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dede80aaf01f4b6e8657d23726cb4a3da226ec4c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49968.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49968"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"58e9683d14752debc6f22daf6b23e031787df31f"},{"fixed":"dede80aaf01f4b6e8657d23726cb4a3da226ec4c"},{"fixed":"bed12d7531df1417fc92c691999ff95e03835008"},{"fixed":"23a29932715ca43bceb2eae1bdb770995afe7271"},{"fixed":"9f8558c5c642c62c450c98c99b7d18a709fff485"},{"fixed":"15f3b89bd521d5770d36a61fc04a77c293138ba6"},{"fixed":"afe7116f6d3b888778ed6d95e3cf724767b9aedf"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a2363e2d88bf50022ee643c49ee5d4f7e8c915ea"}]}],"versions":["v4.17.19"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49968.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.17.19"},{"fixed":"4.18"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.18.0"},{"fixed":"4.19.258"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.213"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49968.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}