# CVE-2022-49315: drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-02-26T02:10:43.082Z
- Modified: 2026-06-17T05:17:41.500Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 94a799425eee8225a1e3fbe5f473d2ef04002577 before 4681129fda9e8555392eaaadb239ec6a6e2b3e12; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before 381045dc64d23a2229c47c5524c06bfc33d34446; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before 08bacf871c019163ccd1389d0bc957a43324967a; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before 64b05fa212c7e4d057676e8b7e7120c6eb2f615b; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before 0f69d7d5e918aa43423d86bd17ddb11b1b5e8ada; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before fef451f0fbbe85dbd2962b18379d02e2965610db; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before 46c861009bf437a18417df24cea0d181741b7d72; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before ffd4c4d5293e4985092ea45ba21cad9326e2e434; from 94a799425eee8225a1e3fbe5f473d2ef04002577 before 9b6bdbd9337de3917945847bde262a34a87a6303; 3.2 (not affected: before 3.2; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-49315](https://www.cve.org/CVERecord?id=CVE-2022-49315), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49315](https://nvd.nist.gov/vuln/detail/CVE-2022-49315), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49315 · Whole record: https://cve.day/CVE-2022-49315.json · Rebuilt by cve.day 2026-11-25T22:58:20.395Z
