CVE-2025-23133CWE-787

CVE-2025-23133

High · published April 16, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
16.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath11k: update channel list in reg notifier instead reg worker

Currently when ath11k gets a new channel list, it will be processed

according to the following steps:

1. update new channel list to cfg80211 and queue reg_work.

2. cfg80211 handles new channel list during reg_work.

3. update cfg80211's handled channel list to firmware by

ath11k_reg_update_chan_list().

But ath11k will immediately execute step 3 after reg_work is just

queued. Since step 2 is asynchronous, cfg80211 may not have completed

handling the new channel list, which may leading to an out-of-bounds

write error:

BUG: KASAN: slab-out-of-bounds in ath11k_reg_update_chan_list

Call Trace:

ath11k_reg_update_chan_list+0xbfe/0xfe0 [ath11k]

kfree+0x109/0x3a0

ath11k_regd_update+0x1cf/0x350 [ath11k]

ath11k_regd_update_work+0x14/0x20 [ath11k]

process_one_work+0xe35/0x14c0

Should ensure step 2 is completely done before executing step 3. Thus

Wen raised patch[1]. When flag NL80211_REGDOM_SET_BY_DRIVER is set,

cfg80211 will notify ath11k after step 2 is done.

So enable the flag NL80211_REGDOM_SET_BY_DRIVER then cfg80211 will

notify ath11k after step 2 is done. At this time, there will be no

KASAN bug during the execution of the step 3.

[1] https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00260 · 16.7th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-04-16T19:16Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15.79, < 5.165.16
linux/linux_kernel≥ 6.0.9, < 6.16.1
linux/linux_kernel≥ 6.1.1, < 6.12.466.12.46
linux/linux_kernel≥ 6.13, < 6.14.26.14.2
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 16 APR 14:13Z
    wifi: ath11k: update channel list in reg notifier instead reg worker
    cvelistv5