CVE-2022-49328 json
mt76: fix use-after-free by removing a non-RCU wcid pointer
published 2025-02-26 20 mo ago modified 2026-08-15 2 mo ago also EUVD-2022-54478
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
mt76: fix use-after-free by removing a non-RCU wcid pointer
Fixes an issue caught by KASAN about use-after-free in mt76_txq_schedule by protecting mtxq->wcid with rcu_lock between mt76_txq_schedule and sta_info_[alloc, free].
[18853.876689] ================================================================== [18853.876751] BUG: KASAN: use-after-free in mt76_txq_schedule+0x204/0xaf8 [mt76] [18853.876773] Read of size 8 at addr ffffffaf989a2138 by task mt76-tx phy0/883 [18853.876786] [18853.876810] CPU: 5 PID: 883 Comm: mt76-tx phy0 Not tainted 5.10.100-fix-510-56778d365941-kasan #5 0b01fbbcf41a530f52043508fec2e31a4215
[18853.876840] Call trace: [18853.876861] dump_backtrace+0x0/0x3ec [18853.876878] show_stack+0x20/0x2c [18853.876899] dump_stack+0x11c/0x1ac [18853.876918] print_address_description+0x74/0x514 [18853.876934] kasan_report+0x134/0x174 [18853.876948] __asan_report_load8_noabort+0x44/0x50 [18853.876976] mt76_txq_schedule+0x204/0xaf8 [mt76 074e03e4640e97fe7405ee1fab547b81c4fa45d2] [18853.877002] mt76_txq_schedule_all+0x2c/0x48 [mt76 074e03e4640e97fe7405ee1fab547b81c4fa45d2] [18853.877030] mt7921_tx_worker+0xa0/0x1cc [mt7921_common f0875ebac9d7b4754e1010549e7db50fbd90a047] [18853.877054] __mt76_worker_fn+0x190/0x22c [mt76 074e03e4640e97fe7405ee1fab547b81c4fa45d2] [18853.877071] kthread+0x2f8/0x3b8 [18853.877087] ret_from_fork+0x10/0x30 [18853.877098] [18853.877112] Allocated by task 941: [18853.877131] kasan_save_stack+0x38/0x68 [18853.877147] __kasan_kmalloc+0xd4/0xfc [18853.877163] kasan_kmalloc+0x10/0x1c [18853.877177] __kmalloc+0x264/0x3c4 [18853.877294] sta_info_alloc+0x460/0xf88 [mac80211] [18853.877410] ieee80211_prep_connection+0x204/0x1ee0 [mac80211] [18853.877523] ieee80211_mgd_auth+0x6c4/0xa4c [mac80211] [18853.877635] ieee80211_auth+0x20/0x2c [mac80211] [18853.877733] rdev_auth+0x7c/0x438 [cfg80211] [18853.877826] cfg80211_mlme_auth+0x26c/0x390 [cfg80211] [18853.877919] nl80211_authenticate+0x6d4/0x904 [cfg80211] [18853.877938] genl_rcv_msg+0x748/0x93c [18853.877954] netlink_rcv_skb+0x160/0x2a8 [18853.877969] genl_rcv+0x3c/0x54 [18853.877985] netlink_unicast_kernel+0x104/0x1ec [18853.877999] netlink_unicast+0x178/0x268 [18853.878015] netlink_sendmsg+0x3cc/0x5f0 [18853.878030] sock_sendmsg+0xb4/0xd8 [18853.878043] ____sys_sendmsg+0x2f8/0x53c [18853.878058] ___sys_sendmsg+0xe8/0x150 [18853.878071] __sys_sendmsg+0xc4/0x1f4 [18853.878087] __arm64_compat_sys_sendmsg+0x88/0x9c [18853.878101] el0_svc_common+0x1b4/0x390 [18853.878115] do_el0_svc_compat+0x8c/0xdc [18853.878131] el0_svc_compat+0x10/0x1c [18853.878146] el0_sync_compat_handler+0xa8/0xcc [18853.878161] el0_sync_compat+0x188/0x1c0 [18853.878171] [18853.878183] Freed by task 10927: [18853.878200] kasan_save_stack+0x38/0x68 [18853.878215] kasan_set_track+0x28/0x3c [18853.878228] kasan_set_free_info+0x24/0x48 [18853.878244] __kasan_slab_free+0x11c/0x154 [18853.878259] kasan_slab_free+0x14/0x24 [18853.878273] slab_free_freelist_hook+0xac/0x1b0 [18853.878287] kfree+0x104/0x390 [18853.878402] sta_info_free+0x198/0x210 [mac80211] [18853.878515] __sta_info_destroy_part2+0x230/0x2d4 [mac80211] [18853.878628] __sta_info_flush+0x300/0x37c [mac80211] [18853.878740] ieee80211_set_disassoc+0x2cc/0xa7c [mac80211] [18853.878851] ieee80211_mgd_deauth+0x4a4/0x10a0 [mac80211] [18853.878962] ieee80211_deauth+0x20/0x2c [mac80211] [18853.879057] rdev_deauth+0x7c/0x438 [cfg80211] [18853.879150] cfg80211_mlme_deauth+0x274/0x414 [cfg80211] [18853.879243] cfg80211_mlme_down+0xe4/0x118 [cfg80211] [18853.879335] cfg80211_disconnect+0x218/0x2d8 [cfg80211] [18853.879427] __cfg80211_leave+0x17c/0x240 [cfg80211] [18853.879519] cfg80211_leave+0x3c/0x58 [cfg80211] [18853.879611] wiphy_suspend+0xdc/0x200 [cfg80211] [18853.879628] dpm_run_callback+0x58/0x408 [18853.879642] __device_suspend+0x4cc/0x864 [18853.879658] async_suspend+0x34/0xf4 [18 ---truncated---
Patch / fix
- Linux Linux 5.15.58, 5.17.14, 5.18.3, 5.19
- linux Debian 14, Debian 13, Debian 12 5.18.5-1
debian advisories DEBIAN-CVE-2022-49328
- linux Ubuntu 22.04 LTS 5.15.0-50.56
- linux-aws Ubuntu 22.04 LTS 5.15.0-1021.25
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1019.25
- linux-gke Ubuntu 22.04 LTS 5.15.0-1017.20
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1015.17
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1019.23
- linux-azure Ubuntu 22.04 LTS 5.15.0-1021.26
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1004.6
ubuntu advisories UBUNTU-CVE-2022-49328
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-284.11.1.el9_2
- perf RHEL 9 5.14.0-284.11.1.el9_2
- rtla RHEL 9 5.14.0-284.11.1.el9_2
- bpftool RHEL 9 7.0.0-284.11.1.el9_2
- kernel-64k RHEL 9 5.14.0-284.11.1.el9_2
- kernel-core RHEL 9 5.14.0-284.11.1.el9_2
- kernel-tools RHEL 9 5.14.0-284.11.1.el9_2
- python3-perf RHEL 9 5.14.0-284.11.1.el9_2
red hat advisories RHSA-2025:10828RHSA-2025:10179RHSA-2025:9498RHSA-2025:9494RHSA-2025:9493RHSA-2023:2458
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.100.1
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.100.1
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.100.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.100.1.150500.6.47.1
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.115.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.115.1
suse advisories SUSE-SU-2025:1241-1SUSE-SU-2025:1183-1SUSE-SU-2025:1176-1SUSE-SU-2025:1027-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49328 updated cvss 7.0
kernel: mt76: fix use-after-free by removing a non-RCU wcid pointer
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix available
-
Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-284.11.1.el9_2, rtla 5.14.0-284.11.1.el9_2, kernel-devel-matched 5.14.0-284.11.1.el9_2, kernel-64k-devel-matched 5.14.0-284.11.1.el9_2, kernel-debug-devel-matched 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, +5 morefixed: vendor fix RHSA-2023:2458
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.134.1.el9_0, kernel-devel-matched 5.14.0-70.134.1.el9_0, kernel-debug-devel-matched 5.14.0-70.134.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.134.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.134.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.134.1.el9_0, +2 morefixed: vendor fix RHSA-2025:9494
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-477.10.1.el8_8, kernel 4.18.0-477.10.1.el8_8, bpftool 4.18.0-477.10.1.el8_8, kernel-core 4.18.0-477.10.1.el8_8, kernel-tools 4.18.0-477.10.1.el8_8, python3-perf 4.18.0-477.10.1.el8_8, +15 morefixed: vendor fix RHSA-2023:2951
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.0.0-284.11.1.el9_2, kernel 5.14.0-284.11.1.el9_2, kernel-64k 5.14.0-284.11.1.el9_2, kernel-core 5.14.0-284.11.1.el9_2, kernel-tools 5.14.0-284.11.1.el9_2, python3-perf 5.14.0-284.11.1.el9_2, +28 morefixed: vendor fix RHSA-2023:2458
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.156.1.el8_2, kernel 4.18.0-193.156.1.el8_2, bpftool 4.18.0-193.156.1.el8_2, kernel-core 4.18.0-193.156.1.el8_2, kernel-tools 4.18.0-193.156.1.el8_2, python3-perf 4.18.0-193.156.1.el8_2, +8 morefixed: vendor fix RHSA-2025:10179
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.162.1.el8_4, kernel 4.18.0-305.162.1.el8_4, bpftool 4.18.0-305.162.1.el8_4, kernel-core 4.18.0-305.162.1.el8_4, kernel-tools 4.18.0-305.162.1.el8_4, python3-perf 4.18.0-305.162.1.el8_4, +8 morefixed: vendor fix RHSA-2025:10828
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.149.1.el8_6, kernel 4.18.0-372.149.1.el8_6, bpftool 4.18.0-372.149.1.el8_6, kernel-core 4.18.0-372.149.1.el8_6, kernel-tools 4.18.0-372.149.1.el8_6, python3-perf 4.18.0-372.149.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.149.1.el8_6, kernel 4.18.0-372.149.1.el8_6, bpftool 4.18.0-372.149.1.el8_6, kernel-core 4.18.0-372.149.1.el8_6, kernel-tools 4.18.0-372.149.1.el8_6, python3-perf 4.18.0-372.149.1.el8_6, +15 morefixed: vendor fix RHSA-2025:9498
show 7 moreshow fewer
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.134.1.el9_0, bpftool 5.14.0-70.134.1.el9_0, kernel-core 5.14.0-70.134.1.el9_0, kernel-tools 5.14.0-70.134.1.el9_0, python3-perf 5.14.0-70.134.1.el9_0, kernel-modules 5.14.0-70.134.1.el9_0, +14 morefixed: vendor fix RHSA-2025:9494
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.162.1.el8_4, kernel 4.18.0-305.162.1.el8_4, bpftool 4.18.0-305.162.1.el8_4, kernel-core 4.18.0-305.162.1.el8_4, kernel-tools 4.18.0-305.162.1.el8_4, python3-perf 4.18.0-305.162.1.el8_4, +8 morefixed: vendor fix RHSA-2025:10828
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.149.1.el8_6, kernel 4.18.0-372.149.1.el8_6, bpftool 4.18.0-372.149.1.el8_6, kernel-core 4.18.0-372.149.1.el8_6, kernel-tools 4.18.0-372.149.1.el8_6, python3-perf 4.18.0-372.149.1.el8_6, +8 morefixed: vendor fix RHSA-2025:9498
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.10.1.el8_8fixed: vendor fix RHSA-2023:2951
-
Red Hat Enterprise Linux CRB (v. 9) kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.11.1.el9_2fixed: vendor fix RHSA-2023:2458
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-kvm 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-core 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-modules 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-debug-kvm 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-debug-core 5.14.0-70.134.1.rt21.206.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-core 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-modules 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-debug-core 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-debug-modules 5.14.0-70.134.1.rt21.206.el9_0, kernel-rt-modules-extra 5.14.0-70.134.1.rt21.206.el9_0, +2 morefixed: vendor fix RHSA-2025:9493
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
Sources
- CVE List CVE-2022-49328
- NVD CVE-2022-49328
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.