CVE-2022-49309: drivers: staging: rtl8723bs: Fix deadlock in rtw_surveydone_event_callback()
Vulnerability summary
CVE-2022-49309 is a medium (CVSS 5.5) Improper Locking vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.7% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 12-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: drivers: staging: rtl8723bs: Fix deadlock in rtw_surveydone_event_callback() There is a deadlock in rtw_surveydone_event_callback(), which is shown below: (Thread 1) | (Thread 2) | _set_timer() rtw_surveydone_event_callback()| mod_timer() spin_lock_bh() //(1) | (wait a time) ... | rtw_scan_timeout_handler() del_timer_sync() | spin_lock_bh() //(2) (wait timer to stop) | ... We hold pmlmepriv->lock in position (1) of thread 1 and use del_timer_sync() to wait timer to stop, but timer handler also need pmlmepriv->lock in position (2) of thread 2. As a result, rtw_surveydone_event_callback() will block forever. This patch extracts del_timer_sync() from the protection of spin_lock_bh(), which could let timer handler to obtain the needed lock. What`s more, we change spin_lock_bh() in rtw_scan_timeout_handler() to spin_lock_irq(). Otherwise, spin_lock_bh() will also cause deadlock() in timer handler.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.20% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu113 products
- linuxAll versions (No fix recorded) | < 5.15.0-48.54
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1020.24
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ fb127a61c9d8dfd9b370ee173344d01711f3c698, < c84e5c819600ee0628f61b33d145258ae0f3d7a7 | ≥ fb127a61c9d8dfd9b370ee173344d01711f3c698, < f89f6c3ebf69623b8ea48200bd690e9e210335a1 | ≥ fb127a61c9d8dfd9b370ee173344d01711f3c698, < ce129d3efd181da5fd56f4360cc8827122afa67e | ≥ fb127a61c9d8dfd9b370ee173344d01711f3c698, < 2c41f5c341853f84b7bc2f32605d4e2782e8c279 | ≥ fb127a61c9d8dfd9b370ee173344d01711f3c698, < cc7ad0d77b51c872d629bcd98aea463a3c4109e7 | 5.10
- linux_kernel< 5.15.47 | ≥ 5.16, < 5.17.15 | ≥ 5.18, < 5.18.4
Debian1 product
- linux< 5.18.5-1
3 vendors · 116 products