CVE-2022-49315

drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:10 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop() There is a deadlock in rtllib_beacons_stop(), which is shown below: (Thread 1) | (Thread 2) | rtllib_send_beacon() rtllib_beacons_stop() | mod_timer() spin_lock_irqsave() //(1) | (wait a time) ... | rtllib_send_beacon_cb() del_timer_sync() | spin_lock_irqsave() //(2) (wait timer to stop) | ... We hold ieee->beacon_lock in position (1) of thread 1 and use del_timer_sync() to wait timer to stop, but timer handler also need ieee->beacon_lock in position (2) of thread 2. As a result, rtllib_beacons_stop() will block forever. This patch extracts del_timer_sync() from the protection of spin_lock_irqsave(), which could let timer handler to obtain the needed lock.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.3183.2 ≤ v < 4.14.2833.2 ≤ v < 4.19.2473.2 ≤ v < 4.9.3183.2 ≤ v < 5.10.1223.2 ≤ v < 5.15.473.2 ≤ v < 5.17.153.2 ≤ v < 5.18.43.2 ≤ v < 5.193.2 ≤ v < 5.4.1984.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.475.16 ≤ v < 5.17.155.18 ≤ v < 5.18.45.5 ≤ v < 5.10.1223.294a799425eee8225a1e3fbe5f473d2ef04002577
Vendor states this is fixed in 08bacf871c019163ccd1389d0bc957a43324967a (fixed)
Vendor states this is fixed in 0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada (fixed)
Vendor states this is fixed in 381045dc64d23a2229c47c5524c06bfc33d34446 (fixed)
Vendor states this is fixed in 4681129fda9e8555392eaaadb239ec6a6e2b3e12 (fixed)
Vendor states this is fixed in 46c861009bf437a18417df24cea0d181741b7d72 (fixed)
Vendor states this is fixed in 64b05fa212c7e4d057676e8b7e7120c6eb2f615b (fixed)
Vendor states this is fixed in 9b6bdbd9337de3917945847bde262a34a87a6303 (fixed)
Vendor states this is fixed in fef451f0fbbe85dbd2962b18379d02e2965610db (fixed)
Vendor states this is fixed in ffd4c4d5293e4985092ea45ba21cad9326e2e434 (fixed)
Vendor states this is fixed in 3.2 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.122 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08bacf871c019163ccd1389d0bc957a43324967a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/381045dc64d23a2229c47c5524c06bfc33d34446
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4681129fda9e8555392eaaadb239ec6a6e2b3e12
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46c861009bf437a18417df24cea0d181741b7d72
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/64b05fa212c7e4d057676e8b7e7120c6eb2f615b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9b6bdbd9337de3917945847bde262a34a87a6303
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fef451f0fbbe85dbd2962b18379d02e2965610db

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card