{"id":"CVE-2022-50829","published":"2025-12-30T12:10:51Z","modified":"2026-05-11T19:25:55Z","title":"wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00284,"percentile":0.20707,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5e8751a977a49a6e00cce1a8da5ca16da83f9c8c","tags":[]},{"url":"https://git.kernel.org/stable/c/f127c2b4c967025e5c3a4ce7e13b79135d46a33d","tags":[]},{"url":"https://git.kernel.org/stable/c/0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f","tags":[]},{"url":"https://git.kernel.org/stable/c/988bd27de2484faf17afe0408db2e3d9e5ac61fc","tags":[]},{"url":"https://git.kernel.org/stable/c/98d9172822dc6f38138333941984bd759a89d419","tags":[]},{"url":"https://git.kernel.org/stable/c/355f16f756aad0c95cdaa0c14a34ab4137d32815","tags":[]},{"url":"https://git.kernel.org/stable/c/53b9bb1a00c4285ee7f58a11129dbea015db61bc","tags":[]},{"url":"https://git.kernel.org/stable/c/71fc0ad671a62c494d2aec731baeabd3bfe6c95d","tags":[]},{"url":"https://git.kernel.org/stable/c/dd95f2239fc846795fc926787c3ae0ca701c9840","tags":[]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":4.14}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3deff76095c4ac4252e27c537db3041f619c23a2, < 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < f127c2b4c967025e5c3a4ce7e13b79135d46a33d",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < 988bd27de2484faf17afe0408db2e3d9e5ac61fc",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < 98d9172822dc6f38138333941984bd759a89d419",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < 355f16f756aad0c95cdaa0c14a34ab4137d32815",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < 53b9bb1a00c4285ee7f58a11129dbea015db61bc",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < 71fc0ad671a62c494d2aec731baeabd3bfe6c95d",">= 3deff76095c4ac4252e27c537db3041f619c23a2, < dd95f2239fc846795fc926787c3ae0ca701c9840"]},{"vendor":"Linux","product":"Linux","versions":["3.0"]}],"euvd":{"id":"EUVD-2022-55869","exploited":false,"provenance":"source"}}