CVE-2025-21729
published high CVSS 3.1 · 7.8wifi: rtw89: fix race between cancel_hw_scan and hw_scan completion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux895907779752606f6a4795abfc008509f8e38314 to < 02d78fb7fa1f4f4d6ecc6034e81c6db38385ce96 · 895907779752606f6a4795abfc008509f8e38314 to < 7368f88b2e62d043cd64fe7bdd5c3c2a2f9795b0 · 895907779752606f6a4795abfc008509f8e38314 to < 2403cb3c235d5e339b580cc3a825493769fadca8 · 895907779752606f6a4795abfc008509f8e38314 to < 5afcd6fcd1e1c1fd6bcc9a360c121d10eddade67 · 895907779752606f6a4795abfc008509f8e38314 to < ba4bb0402c60e945c4c396c51f0acac3c3e3ea5c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.13 through 6.12.* (unaffected · semver) · 6.13.2 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: fix race between cancel_hw_scan and hw_scan completion The rtwdev->scanning flag isn't protected by mutex originally, so cancel_hw_scan can pass the condition, but suddenly hw_scan completion unset the flag and calls ieee80211_scan_completed() that will free local->hw_scan_req. Then, cancel_hw_scan raises null-ptr-deref and use-after-free. Fix it by moving the check condition to where protected by mutex. KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f] CPU: 2 PID: 6922 Comm: kworker/2:2 Tainted: G OE Hardware name: LENOVO 2356AD1/2356AD1, BIOS G7ETB6WW (2.76 ) 09/10/2019 Workqueue: events cfg80211_conn_work [cfg80211] RIP: 0010:rtw89_fw_h2c_scan_offload_be+0xc33/0x13c3 [rtw89_core] Code: 00 45 89 6c 24 1c 0f 85 23 01 00 00 48 8b 85 20 ff ff ff 48 8d RSP: 0018:ffff88811fd9f068 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88811fd9f258 RCX: 0000000000000001 RDX: 0000000000000011 RSI: 0000000000000001 RDI: 0000000000000089 RBP: ffff88811fd9f170 R08: 0000000000000000 R09: 0000000000000000 R10: ffff88811fd9f108 R11: 0000000000000000 R12: ffff88810e47f960 R13: 0000000000000000 R14: 000000000000ffff R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881d6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007531dfca55b0 CR3: 00000001be296004 CR4: 00000000001706e0 Call Trace: <TASK> ? show_regs+0x61/0x73 ? __die_body+0x20/0x73 ? die_addr+0x4f/0x7b ? exc_general_protection+0x191/0x1db ? asm_exc_general_protection+0x27/0x30 ? rtw89_fw_h2c_scan_offload_be+0xc33/0x13c3 [rtw89_core] ? rtw89_fw_h2c_scan_offload_be+0x458/0x13c3 [rtw89_core] ? __pfx_rtw89_fw_h2c_scan_offload_be+0x10/0x10 [rtw89_core] ? do_raw_spin_lock+0x75/0xdb ? __pfx_do_raw_spin_lock+0x10/0x10 rtw89_hw_scan_offload+0xb5e/0xbf7 [rtw89_core] ? _raw_spin_unlock+0xe/0x24 ? __mutex_lock.constprop.0+0x40c/0x471 ? __pfx_rtw89_hw_scan_offload+0x10/0x10 [rtw89_core] ? __mutex_lock_slowpath+0x13/0x1f ? mutex_lock+0xa2/0xdc ? __pfx_mutex_lock+0x10/0x10 rtw89_hw_scan_abort+0x58/0xb7 [rtw89_core] rtw89_ops_cancel_hw_scan+0x120/0x13b [rtw89_core] ieee80211_scan_cancel+0x468/0x4d0 [mac80211] ieee80211_prep_connection+0x858/0x899 [mac80211] ieee80211_mgd_auth+0xbea/0xdde [mac80211] ? __pfx_ieee80211_mgd_auth+0x10/0x10 [mac80211] ? cfg80211_find_elem+0x15/0x29 [cfg80211] ? is_bss+0x1b7/0x1d7 [cfg80211] ieee80211_auth+0x18/0x27 [mac80211] cfg80211_mlme_auth+0x3bb/0x3e7 [cfg80211] cfg80211_conn_do_work+0x410/0xb81 [cfg80211] ? __pfx_cfg80211_conn_do_work+0x10/0x10 [cfg80211] ? __kasan_check_read+0x11/0x1f ? psi_group_change+0x8bc/0x944 ? __kasan_check_write+0x14/0x22 ? mutex_lock+0x8e/0xdc ? __pfx_mutex_lock+0x10/0x10 ? __pfx___radix_tree_lookup+0x10/0x10 cfg80211_conn_work+0x245/0x34d [cfg80211] ? __pfx_cfg80211_conn_work+0x10/0x10 [cfg80211] ? update_cfs_rq_load_avg+0x3bc/0x3d7 ? sched_clock_noinstr+0x9/0x1a ? sched_clock+0x10/0x24 ? sched_clock_cpu+0x7e/0x42e ? newidle_balance+0x796/0x937 ? __pfx_sched_clock_cpu+0x10/0x10 ? __pfx_newidle_balance+0x10/0x10 ? __kasan_check_read+0x11/0x1f ? psi_group_change+0x8bc/0x944 ? _raw_spin_unlock+0xe/0x24 ? raw_spin_rq_unlock+0x47/0x54 ? raw_spin_rq_unlock_irq+0x9/0x1f ? finish_task_switch.isra.0+0x347/0x586 ? __schedule+0x27bf/0x2892 ? mutex_unlock+0x80/0xd0 ? do_raw_spin_lock+0x75/0xdb ? __pfx___schedule+0x10/0x10 process_scheduled_works+0x58c/0x821 worker_thread+0x4c7/0x586 ? __kasan_check_read+0x11/0x1f kthread+0x285/0x294 ? __pfx_worker_thread+0x10/0x10 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x29/0x6f ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1b/0x30 </TASK>
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is `ieee80211_ops::cancel_hw_scan`, reached only through local wireless-stack operations (nl80211 TRIGGER_SCAN plus a connect/auth that triggers `ieee80211_scan_cancel`); no attacker-supplied frame is parsed on this path. An adjacent attacker can only indirectly nudge the local supplicant into scan/reconnect cycles, so delivery is local. AC:L - The attacker drives both sides of the race — it starts the hardware scan and issues the connect that invokes cancel_hw_scan — and the window is wide because the cancel thread blocks on `rtwdev->mutex` for the entire duration of the firmware-driven completion work. The sequence can be repeated indefinitely until the race is won. PR:L - Only the ability to request scans and connections is needed; on typical desktop and mobile deployments an ordinary logged-in user can drive both through NetworkManager/wpa_supplicant (polkit/Settings), and the underlying nl80211 gate is the namespaced `GENL_UNS_ADMIN_PERM` capability rather than real root. UI:N - No victim action is needed — the attacker issues the scan and connect requests itself, and the crash trace shows the trigger arriving from the automatic `cfg80211_conn_work` SME reconnect path. S:U - The corruption and the crash are confined to the kernel's own memory and the rtw89 driver state; no VM, IOMMU, or sandbox boundary is crossed. C:H - `rtwvif->scan_req`/`scan_ies` dangle into the kfree'd, heap-sprayable `local->hw_scan_req`, and the driver dereferences pointers read out of it (`req->channels[idx]`, `req->ies`), giving an attacker-groomable read primitive that can disclose kernel memory. I:H - The use-after-free on `local->hw_scan_req` lets an attacker reclaim the freed allocation and control the fields the driver uses to build firmware H2C commands and channel lists, which is exploitable for memory corruption and control-flow influence. A:H - The documented outcome is a kernel oops (`null-ptr-deref` on `req->no_cck`) inside a workqueue while `rtwdev->mutex` and the wiphy mutex are held, killing the worker with locks held and leaving the wireless device — and potentially the system — hung.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 895907779752606f6a4795abfc008509f8e38314 to < 02d78fb7fa1f4f4d6ecc6034e81c6db38385ce96 (affected · git)895907779752606f6a4795abfc008509f8e38314 to < 7368f88b2e62d043cd64fe7bdd5c3c2a2f9795b0 (affected · git)895907779752606f6a4795abfc008509f8e38314 to < 2403cb3c235d5e339b580cc3a825493769fadca8 (affected · git)895907779752606f6a4795abfc008509f8e38314 to < 5afcd6fcd1e1c1fd6bcc9a360c121d10eddade67 (affected · git)895907779752606f6a4795abfc008509f8e38314 to < ba4bb0402c60e945c4c396c51f0acac3c3e3ea5c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.13 through 6.12.* (unaffected · semver)6.13.2 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
5- https://git.kernel.org/stable/c/02d78fb7fa1f4f4d6ecc6034e81c6db38385ce96
- https://git.kernel.org/stable/c/2403cb3c235d5e339b580cc3a825493769fadca8
- https://git.kernel.org/stable/c/5afcd6fcd1e1c1fd6bcc9a360c121d10eddade67
- https://git.kernel.org/stable/c/7368f88b2e62d043cd64fe7bdd5c3c2a2f9795b0
- https://git.kernel.org/stable/c/ba4bb0402c60e945c4c396c51f0acac3c3e3ea5c
Provider assertions
2Linux · cna
wifi: rtw89: fix race between cancel_hw_scan and hw_scan completion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e70f7480c4e6324b39433a3b6797ad8ab75aeb13eed6a6042172d566f9d18386
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record