# CVE-2022-49315: drivers: staging: rtl8192e: Fix deadlock in rtllib\_beacons\_stop()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-02-26T02:10:43.082Z
- **Modified:** 2026-06-17T05:17:41.500Z

## Who should check

- Anyone running Linux \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 4681129fda9e8555392eaaadb239ec6a6e2b3e12; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 381045dc64d23a2229c47c5524c06bfc33d34446; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 08bacf871c019163ccd1389d0bc957a43324967a; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 64b05fa212c7e4d057676e8b7e7120c6eb2f615b; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< fef451f0fbbe85dbd2962b18379d02e2965610db; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 46c861009bf437a18417df24cea0d181741b7d72; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< ffd4c4d5293e4985092ea45ba21cad9326e2e434; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 9b6bdbd9337de3917945847bde262a34a87a6303
- Anyone running Linux 3.2

## 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 and fixed versions

- Linux: \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 4681129fda9e8555392eaaadb239ec6a6e2b3e12; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 381045dc64d23a2229c47c5524c06bfc33d34446; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 08bacf871c019163ccd1389d0bc957a43324967a; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 64b05fa212c7e4d057676e8b7e7120c6eb2f615b; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< fef451f0fbbe85dbd2962b18379d02e2965610db; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 46c861009bf437a18417df24cea0d181741b7d72; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< ffd4c4d5293e4985092ea45ba21cad9326e2e434; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 9b6bdbd9337de3917945847bde262a34a87a6303 (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- Upgrade Linux to 9b6bdbd9337de3917945847bde262a34a87a6303 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49315.md
Affected: Linux >= 94a799425eee8225a1e3fbe5f473d2ef04002577, < 4681129fda9e8555392eaaadb239ec6a6e2b3e12; >= 94a799425eee8225a1e3fbe5f473d2ef04002577, < 381045dc64d23a2229c47c5524c06bfc33d34446; >= 94a799425eee8225a1e3fbe5f473d2ef04002577, < 08bacf871c019163ccd1389d0bc957a43324967a; >= 94a799425eee8225a1e3fbe…
Fixed in: Linux 4681129fda9e8555392eaaadb239ec6a6e2b3e12, Linux 381045dc64d23a2229c47c5524c06bfc33d34446, Linux 08bacf871c019163ccd1389d0bc957a43324967a, Linux 64b05fa212c7e4d057676e8b7e7120c6eb2f615b, Linux 0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada, Linux 46c861009bf437a18417df24cea0d181741b7d72, Linux 9b6bd…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49315 being exploited?

There is no confirmed exploitation: CVE-2022-49315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49315?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49315?

Linux \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 4681129fda9e8555392eaaadb239ec6a6e2b3e12; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 381045dc64d23a2229c47c5524c06bfc33d34446; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 08bacf871c019163ccd1389d0bc957a43324967a; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 64b05fa212c7e4d057676e8b7e7120c6eb2f615b; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< fef451f0fbbe85dbd2962b18379d02e2965610db; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 46c861009bf437a18417df24cea0d181741b7d72; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< ffd4c4d5293e4985092ea45ba21cad9326e2e434; \>= 94a799425eee8225a1e3fbe5f473d2ef04002577, \< 9b6bdbd9337de3917945847bde262a34a87a6303; Linux 3.2.

### Is there a fix for CVE-2022-49315?

Yes. Fixed in Linux 4681129fda9e8555392eaaadb239ec6a6e2b3e12, Linux 381045dc64d23a2229c47c5524c06bfc33d34446, Linux 08bacf871c019163ccd1389d0bc957a43324967a, Linux 64b05fa212c7e4d057676e8b7e7120c6eb2f615b, Linux 0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada, Linux 46c861009bf437a18417df24cea0d181741b7d72, Linux 9b6bdbd9337de3917945847bde262a34a87a6303. Upgrade Linux to 9b6bdbd9337de3917945847bde262a34a87a6303 or later.

### How do I check if I'm affected by CVE-2022-49315?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4681129fda9e8555392eaaadb239ec6a6e2b3e12>
- patch: <https://git.kernel.org/stable/c/381045dc64d23a2229c47c5524c06bfc33d34446>
- patch: <https://git.kernel.org/stable/c/08bacf871c019163ccd1389d0bc957a43324967a>
- patch: <https://git.kernel.org/stable/c/64b05fa212c7e4d057676e8b7e7120c6eb2f615b>
- patch: <https://git.kernel.org/stable/c/0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada>
- patch: <https://git.kernel.org/stable/c/fef451f0fbbe85dbd2962b18379d02e2965610db>
- patch: <https://git.kernel.org/stable/c/46c861009bf437a18417df24cea0d181741b7d72>
- patch: <https://git.kernel.org/stable/c/ffd4c4d5293e4985092ea45ba21cad9326e2e434>
- patch: <https://git.kernel.org/stable/c/9b6bdbd9337de3917945847bde262a34a87a6303>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49315>

HTML: <https://flawdb.com/CVE-2022-49315> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49315>
