# CVE-2022-49986: scsi: storvsc: Remove WQ\_MEM\_RECLAIM from storvsc\_error\_wq

> 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, NVD) `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.21% (percentile 7, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-06-18T11:00:47.985Z
- **Modified:** 2026-06-17T05:19:41.183Z

## Who should check

- Anyone running Linux \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< b692c238ddfa61f00d97c4c1f021425d132ba96f; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< b4c928ace9a123629eeb14ec5d7ee8f73e5ac668; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< 46fcb0fc884db78a0384be92cc2a51927e6581b8; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< cd2a50d0a097a42b6de283377da98ff757505120; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< 828f57ac75eaccd6607ee4d1468d34e983e32c68; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< d957e7ffb2c72410bcc1a514153a46719255a5da
- Anyone running Linux 4.15

## Description

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

scsi: storvsc: Remove WQ\_MEM\_RECLAIM from storvsc\_error\_wq

storvsc\_error\_wq workqueue should not be marked as WQ\_MEM\_RECLAIM as it
doesn't need to make forward progress under memory pressure.  Marking this
workqueue as WQ\_MEM\_RECLAIM may cause deadlock while flushing a
non-WQ\_MEM\_RECLAIM workqueue.  In the current state it causes the following
warning:

\[   14.506347\] ------------\[ cut here \]------------
\[   14.506354\] workqueue: WQ\_MEM\_RECLAIM storvsc\_error\_wq\_0:storvsc\_remove\_lun is flushing !WQ\_MEM\_RECLAIM events\_freezable\_power\_:disk\_events\_workfn
\[   14.506360\] WARNING: CPU: 0 PID: 8 at \<-snip-\>kernel/workqueue.c:2623 check\_flush\_dependency+0xb5/0x130
\[   14.506390\] CPU: 0 PID: 8 Comm: kworker/u4:0 Not tainted 5.4.0-1086-azure \#91~18.04.1-Ubuntu
\[   14.506391\] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v4.1 05/09/2022
\[   14.506393\] Workqueue: storvsc\_error\_wq\_0 storvsc\_remove\_lun
\[   14.506395\] RIP: 0010:check\_flush\_dependency+0xb5/0x130
		\<-snip-\>
\[   14.506408\] Call Trace:
\[   14.506412\]  \_\_flush\_work+0xf1/0x1c0
\[   14.506414\]  \_\_cancel\_work\_timer+0x12f/0x1b0
\[   14.506417\]  ? kernfs\_put+0xf0/0x190
\[   14.506418\]  cancel\_delayed\_work\_sync+0x13/0x20
\[   14.506420\]  disk\_block\_events+0x78/0x80
\[   14.506421\]  del\_gendisk+0x3d/0x2f0
\[   14.506423\]  sr\_remove+0x28/0x70
\[   14.506427\]  device\_release\_driver\_internal+0xef/0x1c0
\[   14.506428\]  device\_release\_driver+0x12/0x20
\[   14.506429\]  bus\_remove\_device+0xe1/0x150
\[   14.506431\]  device\_del+0x167/0x380
\[   14.506432\]  \_\_scsi\_remove\_device+0x11d/0x150
\[   14.506433\]  scsi\_remove\_device+0x26/0x40
\[   14.506434\]  storvsc\_remove\_lun+0x40/0x60
\[   14.506436\]  process\_one\_work+0x209/0x400
\[   14.506437\]  worker\_thread+0x34/0x400
\[   14.506439\]  kthread+0x121/0x140
\[   14.506440\]  ? process\_one\_work+0x400/0x400
\[   14.506441\]  ? kthread\_park+0x90/0x90
\[   14.506443\]  ret\_from\_fork+0x35/0x40
\[   14.506445\] ---\[ end trace 2d9633159fdc6ee7 \]---

## Affected and fixed versions

- Linux: \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< b692c238ddfa61f00d97c4c1f021425d132ba96f; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< b4c928ace9a123629eeb14ec5d7ee8f73e5ac668; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< 46fcb0fc884db78a0384be92cc2a51927e6581b8; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< cd2a50d0a097a42b6de283377da98ff757505120; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< 828f57ac75eaccd6607ee4d1468d34e983e32c68; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< d957e7ffb2c72410bcc1a514153a46719255a5da (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49986.md
Affected: Linux >= 436ad941335386c5fc7faa915a8fbdfe8c908084, < b692c238ddfa61f00d97c4c1f021425d132ba96f; >= 436ad941335386c5fc7faa915a8fbdfe8c908084, < b4c928ace9a123629eeb14ec5d7ee8f73e5ac668; >= 436ad941335386c5fc7faa915a8fbdfe8c908084, < 46fcb0fc884db78a0384be92cc2a51927e6581b8; >= 436ad941335386c5fc7faa9…
Fixed in: Linux 46fcb0fc884db78a0384be92cc2a51927e6581b8, Linux 828f57ac75eaccd6607ee4d1468d34e983e32c68

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-49986 being exploited?

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

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

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

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

Linux \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< b692c238ddfa61f00d97c4c1f021425d132ba96f; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< b4c928ace9a123629eeb14ec5d7ee8f73e5ac668; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< 46fcb0fc884db78a0384be92cc2a51927e6581b8; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< cd2a50d0a097a42b6de283377da98ff757505120; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< 828f57ac75eaccd6607ee4d1468d34e983e32c68; \>= 436ad941335386c5fc7faa915a8fbdfe8c908084, \< d957e7ffb2c72410bcc1a514153a46719255a5da; Linux 4.15.

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

Yes. Fixed in Linux 46fcb0fc884db78a0384be92cc2a51927e6581b8, Linux 828f57ac75eaccd6607ee4d1468d34e983e32c68. No fix listed yet: follow the vendor advisory.

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

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/b692c238ddfa61f00d97c4c1f021425d132ba96f>
- patch: <https://git.kernel.org/stable/c/b4c928ace9a123629eeb14ec5d7ee8f73e5ac668>
- patch: <https://git.kernel.org/stable/c/46fcb0fc884db78a0384be92cc2a51927e6581b8>
- patch: <https://git.kernel.org/stable/c/cd2a50d0a097a42b6de283377da98ff757505120>
- patch: <https://git.kernel.org/stable/c/828f57ac75eaccd6607ee4d1468d34e983e32c68>
- patch: <https://git.kernel.org/stable/c/d957e7ffb2c72410bcc1a514153a46719255a5da>

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

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