{"id":"DEBIAN-CVE-2022-50179","details":"In the Linux kernel, the following vulnerability has been resolved:  ath9k: fix use-after-free in ath9k_hif_usb_rx_cb  Syzbot reported use-after-free Read in ath9k_hif_usb_rx_cb() [0]. The problem was in incorrect htc_handle-\u003edrv_priv initialization.  Probable call trace which can trigger use-after-free:  ath9k_htc_probe_device()   /* htc_handle-\u003edrv_priv = priv; */   ath9k_htc_wait_for_target()      \u003c--- Failed   ieee80211_free_hw()\t\t   \u003c--- priv pointer is freed  \u003cIRQ\u003e ... ath9k_hif_usb_rx_cb()   ath9k_hif_usb_rx_stream()    RX_STAT_INC()\t\t\u003c--- htc_handle-\u003edrv_priv access  In order to not add fancy protection for drv_priv we can move htc_handle-\u003edrv_priv initialization at the end of the ath9k_htc_probe_device() and add helper macro to make all *_STAT_* macros NULL safe, since syzbot has reported related NULL deref in that macros [1]","modified":"2026-09-01T16:05:34.812211068Z","published":"2025-06-18T11:15:48.330Z","upstream":["CVE-2022-50179"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-50179"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50179.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50179.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50179.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}