{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49968","id":"CVE-2022-49968","title":"ieee802154/adf7242: defer destroy_workqueue call","description":"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 (","descriptionLong":"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\")","published":"2025-06-18T11:00:32.443Z","updated":"2026-11-17T07:00:38.365226397Z","reserved":"2025-06-18T10:57:27.384Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"58e9683d14752debc6f22daf6b23e031787df31f","lessThan":"dede80aaf01f4b6e8657d23726cb4a3da226ec4c","status":"affected","versionType":"git"},{"version":"58e9683d14752debc6f22daf6b23e031787df31f","lessThan":"bed12d7531df1417fc92c691999ff95e03835008","status":"affected","versionType":"git"},{"version":"58e9683d14752debc6f22daf6b23e031787df31f","lessThan":"23a29932715ca43bceb2eae1bdb770995afe7271","status":"affected","versionType":"git"},{"version":"58e9683d14752debc6f22daf6b23e031787df31f","lessThan":"9f8558c5c642c62c450c98c99b7d18a709fff485","status":"affected","versionType":"git"},{"version":"58e9683d14752debc6f22daf6b23e031787df31f","lessThan":"15f3b89bd521d5770d36a61fc04a77c293138ba6","status":"affected","versionType":"git"},{"version":"58e9683d14752debc6f22daf6b23e031787df31f","lessThan":"afe7116f6d3b888778ed6d95e3cf724767b9aedf","status":"affected","versionType":"git"},{"version":"a2363e2d88bf50022ee643c49ee5d4f7e8c915ea","status":"affected","versionType":"git"},{"version":"4.17.19","lessThan":"4.18","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"4.19.258","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.213","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.142","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.66","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.8","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362","CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/dede80aaf01f4b6e8657d23726cb4a3da226ec4c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bed12d7531df1417fc92c691999ff95e03835008","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/23a29932715ca43bceb2eae1bdb770995afe7271","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9f8558c5c642c62c450c98c99b7d18a709fff485","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/15f3b89bd521d5770d36a61fc04a77c293138ba6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/afe7116f6d3b888778ed6d95e3cf724767b9aedf","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49968.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49968","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00236,"epssPercentile":0.14777,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49968","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49968","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49968","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49968","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}