{"id":"CVE-2022-50829","aliases":["CVE-2022-50829"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()\n\nIt is possible that skb is freed in ath9k_htc_rx_msg(), then\nusb_submit_urb() fails and we try to free skb again. It causes\nuse-after-free bug. Moreover, if alloc_skb() fails, urb->context becomes\nNULL but rx_buf is not freed and there can be a memory leak.\n\nThe patch removes unnecessary nskb and makes skb processing more clear: it\nis supposed that ath9k_htc_rx_msg() either frees old skb or passes its\nmanaging to another callback function.\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()\n\nIt is possible that skb is freed in ath9k_htc_rx_msg(), then\nusb_submit_urb() fails and we try to free skb again. It causes\nuse-after-free bug. Moreover, if alloc_skb() fails, urb->context becomes\nNULL but rx_buf is not freed and there can be a memory leak.\n\nThe patch removes unnecessary nskb and makes skb processing more clear: it\nis supposed that ath9k_htc_rx_msg() either frees old skb or passes its\nmanaging to another callback function.\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.","source":"cvelist"}],"published":"2025-12-30T12:10:51.434Z","modified":"2026-06-17T05:24:15.630Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"5e8751a977a49a6e00cce1a8da5ca16da83f9c8c","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"f127c2b4c967025e5c3a4ce7e13b79135d46a33d","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"988bd27de2484faf17afe0408db2e3d9e5ac61fc","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"98d9172822dc6f38138333941984bd759a89d419","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"355f16f756aad0c95cdaa0c14a34ab4137d32815","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"53b9bb1a00c4285ee7f58a11129dbea015db61bc","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"71fc0ad671a62c494d2aec731baeabd3bfe6c95d","status":"affected"},{"type":"git","introduced":"3deff76095c4ac4252e27c537db3041f619c23a2","fixed":"dd95f2239fc846795fc926787c3ae0ca701c9840","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.0","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5e8751a977a49a6e00cce1a8da5ca16da83f9c8c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f127c2b4c967025e5c3a4ce7e13b79135d46a33d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/988bd27de2484faf17afe0408db2e3d9e5ac61fc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98d9172822dc6f38138333941984bd759a89d419","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/355f16f756aad0c95cdaa0c14a34ab4137d32815","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53b9bb1a00c4285ee7f58a11129dbea015db61bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71fc0ad671a62c494d2aec731baeabd3bfe6c95d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd95f2239fc846795fc926787c3ae0ca701c9840","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50829","url":"https://www.cve.org/CVERecord?id=CVE-2022-50829","licence":"CVE Terms of Use","modified":"2026-05-11T19:25:55.400Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50829","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50829","licence":"Public domain","modified":"2026-06-17T05:24:15.630Z"}],"updatedAt":"2026-11-25T22:58:21.372Z","epss":{"score":0.00304,"percentile":0.25018,"date":"2026-12-01T12:00:22.000Z"}}