{"id":"CVE-2022-50179","aliases":["CVE-2022-50179"],"related":[],"kind":"vulnerability","state":"published","title":"ath9k: fix use-after-free in ath9k_hif_usb_rx_cb","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nath9k: fix use-after-free in ath9k_hif_usb_rx_cb\n\nSyzbot reported use-after-free Read in ath9k_hif_usb_rx_cb() [0]. The\nproblem was in incorrect htc_handle->drv_priv initialization.\n\nProbable call trace which can trigger use-after-free:\n\nath9k_htc_probe_device()\n  /* htc_handle->drv_priv = priv; */\n  ath9k_htc_wait_for_target()      <--- Failed\n  ieee80211_free_hw()\t\t   <--- priv pointer is freed\n\n<IRQ>\n...\nath9k_hif_usb_rx_cb()\n  ath9k_hif_usb_rx_stream()\n   RX_STAT_INC()\t\t<--- htc_handle->drv_priv access\n\nIn order to not add fancy protection for drv_priv we can move\nhtc_handle->drv_priv initialization at the end of the\nath9k_htc_probe_device() and add helper macro to make\nall *_STAT_* macros NULL safe, since syzbot has reported related NULL\nderef in that macros [1]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nath9k: fix use-after-free in ath9k_hif_usb_rx_cb\n\nSyzbot reported use-after-free Read in ath9k_hif_usb_rx_cb() [0]. The\nproblem was in incorrect htc_handle->drv_priv initialization.\n\nProbable call trace which can trigger use-after-free:\n\nath9k_htc_probe_device()\n  /* htc_handle->drv_priv = priv; */\n  ath9k_htc_wait_for_target()      <--- Failed\n  ieee80211_free_hw()\t\t   <--- priv pointer is freed\n\n<IRQ>\n...\nath9k_hif_usb_rx_cb()\n  ath9k_hif_usb_rx_stream()\n   RX_STAT_INC()\t\t<--- htc_handle->drv_priv access\n\nIn order to not add fancy protection for drv_priv we can move\nhtc_handle->drv_priv initialization at the end of the\nath9k_htc_probe_device() and add helper macro to make\nall *_STAT_* macros NULL safe, since syzbot has reported related NULL\nderef in that macros [1]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ath9k: corrección del Use-After-Free en ath9k_hif_usb_rx_cb. Syzbot reportó una lectura de Use-After-Free en ath9k_hif_usb_rx_cb() [0]. El problema residía en una inicialización incorrecta de htc_handle-&gt;drv_priv. Posible rastreo de llamadas que puede activar el Use-After-Free: ath9k_htc_probe_device() /* htc_handle-&gt;drv_priv = priv; */ ath9k_htc_wait_for_target() &lt;--- Error en ieee80211_free_hw() &lt;--- el puntero privado se liberó  ... ath9k_hif_usb_rx_cb() ath9k_hif_usb_rx_stream() RX_STAT_INC() &lt;--- acceso a htc_handle-&gt;drv_priv Para no agregar protección sofisticada para drv_priv, podemos mover la inicialización de htc_handle-&gt;drv_priv al final de ath9k_htc_probe_device() y agregar una macro auxiliar para hacer que todas las macros *_STAT_* sean seguras para NULL, ya que syzbot informó una desreferencia NULL relacionada en esas macros [1]","source":"nvd"}],"published":"2025-06-18T11:03:28.841Z","modified":"2026-11-05T20:17:26.423Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"ab7a0ddf5f1cdec63cb21840369873806fc36d80","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"e9e21206b8ea62220b486310c61277e7ebfe7cec","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"eccd7c3e2596b574241a7670b5b53f5322f470e5","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"03ca957c5f7b55660957eda20b5db4110319ac7a","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"b66ebac40f64336ae2d053883bee85261060bd27","status":"affected"},{"type":"git","introduced":"fb9987d0f748c983bb795a86f47522313f701a08","fixed":"0ac4827f78c7ffe8eef074bc010e7e34bc22f533","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.35","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.35","status":"unaffected"},{"type":"semver","introduced":"4.14.291","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.256","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.211","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.137","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","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":"2.6.35","fixed":"4.14.291"},{"status":"affected","introduced":"4.15","fixed":"4.19.256"},{"status":"affected","introduced":"4.20","fixed":"5.4.211"},{"status":"affected","introduced":"5.5","fixed":"5.10.137"},{"status":"affected","introduced":"5.11","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/62bc1ea5c7401d77eaf73d0c6a15f3d2e742856e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab7a0ddf5f1cdec63cb21840369873806fc36d80","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9e21206b8ea62220b486310c61277e7ebfe7cec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eccd7c3e2596b574241a7670b5b53f5322f470e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03ca957c5f7b55660957eda20b5db4110319ac7a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b14ab47937ba441e75e8dbb9fbfc9c55efa41c6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b66ebac40f64336ae2d053883bee85261060bd27","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ac4827f78c7ffe8eef074bc010e7e34bc22f533","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:06:30.724Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50179","url":"https://www.cve.org/CVERecord?id=CVE-2022-50179","licence":"CVE Terms of Use","modified":"2026-11-05T20:10:27.991Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50179","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50179","licence":"Public domain","modified":"2026-11-05T20:17:26.423Z"}],"updatedAt":"2026-11-25T22:58:21.092Z","epss":{"score":0.00272,"percentile":0.20886,"date":"2026-12-01T12:00:22.000Z"}}