{"id":"CVE-2022-49968","aliases":["CVE-2022-49968"],"related":[],"kind":"vulnerability","state":"published","title":"ieee802154/adf7242: defer destroy_workqueue call","summary":"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\")","summarySource":"cvelist","descriptions":[{"lang":"en","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\")","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ieee802154/adf7242: aplazar la llamada a destroy_workqueue Existe una posible condición de ejecución (use-after-free) como la siguiente (FREE) | (USE) adf7242_remove | adf7242_channel cancel_delayed_work_sync | destroy_workqueue (1) | adf7242_cmd_rx | mod_delayed_work (2) | La causa raíz de esta ejecución es que la capa superior (ieee802154) desconoce este evento de desconexión y la función adf7242_channel se puede llamar sin ninguna comprobación. Para solucionar esto, podemos añadir una escritura de bandera al principio de adf7242_remove y añadir la comprobación de bandera en adf7242_channel. O podemos simplemente aplazar la operación destructiva como en el commit 3e0588c291d6 (\"hamradio: defer ax25 kfree after unregister_netdev\"), que permite que ieee802154_unregister_hw() gestione la sincronización. Este parche utiliza la segunda opción.","source":"nvd"}],"published":"2025-06-18T11:00:32.443Z","modified":"2026-08-05T08:56:55.772Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362","CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"58e9683d14752debc6f22daf6b23e031787df31f","fixed":"dede80aaf01f4b6e8657d23726cb4a3da226ec4c","status":"affected"},{"type":"git","introduced":"58e9683d14752debc6f22daf6b23e031787df31f","fixed":"bed12d7531df1417fc92c691999ff95e03835008","status":"affected"},{"type":"git","introduced":"58e9683d14752debc6f22daf6b23e031787df31f","fixed":"23a29932715ca43bceb2eae1bdb770995afe7271","status":"affected"},{"type":"git","introduced":"58e9683d14752debc6f22daf6b23e031787df31f","fixed":"9f8558c5c642c62c450c98c99b7d18a709fff485","status":"affected"},{"type":"git","introduced":"58e9683d14752debc6f22daf6b23e031787df31f","fixed":"15f3b89bd521d5770d36a61fc04a77c293138ba6","status":"affected"},{"type":"git","introduced":"58e9683d14752debc6f22daf6b23e031787df31f","fixed":"afe7116f6d3b888778ed6d95e3cf724767b9aedf","status":"affected"},{"type":"git","version":"a2363e2d88bf50022ee643c49ee5d4f7e8c915ea","status":"affected"},{"type":"semver","introduced":"4.17.19","fixed":"4.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"4.19.258","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.213","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.142","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.66","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.8","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.17.19","fixed":"4.18"},{"status":"affected","introduced":"4.18.1","fixed":"4.19.258"},{"status":"affected","introduced":"4.20","fixed":"5.4.213"},{"status":"affected","introduced":"5.5","fixed":"5.10.142"},{"status":"affected","introduced":"5.11","fixed":"5.15.66"},{"status":"affected","introduced":"5.16","fixed":"5.19.8"},{"status":"affected","version":"4.18"},{"status":"affected","version":"4.18"},{"status":"affected","version":"4.18"},{"status":"affected","version":"4.18"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dede80aaf01f4b6e8657d23726cb4a3da226ec4c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bed12d7531df1417fc92c691999ff95e03835008","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23a29932715ca43bceb2eae1bdb770995afe7271","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f8558c5c642c62c450c98c99b7d18a709fff485","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15f3b89bd521d5770d36a61fc04a77c293138ba6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afe7116f6d3b888778ed6d95e3cf724767b9aedf","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49968","url":"https://www.cve.org/CVERecord?id=CVE-2022-49968","licence":"CVE Terms of Use","modified":"2026-08-05T08:56:55.772Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49968","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49968","licence":"Public domain","modified":"2026-08-04T10:18:01.260Z"}],"updatedAt":"2026-11-25T22:58:20.986Z","epss":{"score":0.0026,"percentile":0.10841,"date":"2026-11-30T12:00:22.000Z"}}