# CVE-2024-36004: i40e: Do not use WQ\_MEM\_RECLAIM flag for workqueue

> 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.34% (percentile 20, 2026-11-26)
- **Published:** 2024-05-20T09:48:04.926Z
- **Modified:** 2026-10-15T01:18:20.563Z

## Who should check

- Anyone running Linux \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 09b54d29f05129b092f7c793a70b689ffb3c7b2c; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 546d0fe9d76e8229a67369f9cb61e961d99038bd; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< fbbb2404340dd6178e281bd427c271f7d5ec1d22; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< ff7431f898dd00892a545b7d0ce7adf5b926944f; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 152ed360cf2d273f88fc99a518b7eb868aae2939; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 8d6105f637883c8c09825e962308c06e977de4f0; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 1594dac8b1ed78f9e75c263327e198a2e5e25b0e; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 2cc7d150550cc981aceedf008f5459193282425c
- Anyone running Linux 4.14

## Description

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

i40e: Do not use WQ\_MEM\_RECLAIM flag for workqueue

Issue reported by customer during SRIOV testing, call trace:
When both i40e and the i40iw driver are loaded, a warning
in check\_flush\_dependency is being triggered. This seems
to be because of the i40e driver workqueue is allocated with
the WQ\_MEM\_RECLAIM flag, and the i40iw one is not.

Similar error was encountered on ice too and it was fixed by
removing the flag. Do the same for i40e too.

\[Feb 9 09:08\] ------------\[ cut here \]------------
\[  +0.000004\] workqueue: WQ\_MEM\_RECLAIM i40e:i40e\_service\_task \[i40e\] is
flushing !WQ\_MEM\_RECLAIM infiniband:0x0
\[  +0.000060\] WARNING: CPU: 0 PID: 937 at kernel/workqueue.c:2966
check\_flush\_dependency+0x10b/0x120
\[  +0.000007\] Modules linked in: snd\_seq\_dummy snd\_hrtimer snd\_seq
snd\_timer snd\_seq\_device snd soundcore nls\_utf8 cifs cifs\_arc4
nls\_ucs2\_utils rdma\_cm iw\_cm ib\_cm cifs\_md4 dns\_resolver netfs qrtr
rfkill sunrpc vfat fat intel\_rapl\_msr intel\_rapl\_common irdma
intel\_uncore\_frequency intel\_uncore\_frequency\_common ice ipmi\_ssif
isst\_if\_common skx\_edac nfit libnvdimm x86\_pkg\_temp\_thermal
intel\_powerclamp gnss coretemp ib\_uverbs rapl intel\_cstate ib\_core
iTCO\_wdt iTCO\_vendor\_support acpi\_ipmi mei\_me ipmi\_si intel\_uncore
ioatdma i2c\_i801 joydev pcspkr mei ipmi\_devintf lpc\_ich
intel\_pch\_thermal i2c\_smbus ipmi\_msghandler acpi\_power\_meter acpi\_pad
xfs libcrc32c ast sd\_mod drm\_shmem\_helper t10\_pi drm\_kms\_helper sg ixgbe
drm i40e ahci crct10dif\_pclmul libahci crc32\_pclmul igb crc32c\_intel
libata ghash\_clmulni\_intel i2c\_algo\_bit mdio dca wmi dm\_mirror
dm\_region\_hash dm\_log dm\_mod fuse
\[  +0.000050\] CPU: 0 PID: 937 Comm: kworker/0:3 Kdump: loaded Not
tainted 6.8.0-rc2-Feb-net\_dev-Qiueue-00279-gbd43c5687e05 \#1
\[  +0.000003\] Hardware name: Intel Corporation S2600BPB/S2600BPB, BIOS
SE5C620.86B.02.01.0013.121520200651 12/15/2020
\[  +0.000001\] Workqueue: i40e i40e\_service\_task \[i40e\]
\[  +0.000024\] RIP: 0010:check\_flush\_dependency+0x10b/0x120
\[  +0.000003\] Code: ff 49 8b 54 24 18 48 8d 8b b0 00 00 00 49 89 e8 48
81 c6 b0 00 00 00 48 c7 c7 b0 97 fa 9f c6 05 8a cc 1f 02 01 e8 35 b3 fd
ff \<0f\> 0b e9 10 ff ff ff 80 3d 78 cc 1f 02 00 75 94 e9 46 ff ff ff 90
\[  +0.000002\] RSP: 0018:ffffbd294976bcf8 EFLAGS: 00010282
\[  +0.000002\] RAX: 0000000000000000 RBX: ffff94d4c483c000 RCX:
0000000000000027
\[  +0.000001\] RDX: ffff94d47f620bc8 RSI: 0000000000000001 RDI:
ffff94d47f620bc0
\[  +0.000001\] RBP: 0000000000000000 R08: 0000000000000000 R09:
00000000ffff7fff
\[  +0.000001\] R10: ffffbd294976bb98 R11: ffffffffa0be65e8 R12:
ffff94c5451ea180
\[  +0.000001\] R13: ffff94c5ab5e8000 R14: ffff94c5c20b6e05 R15:
ffff94c5f1330ab0
\[  +0.000001\] FS:  0000000000000000(0000) GS:ffff94d47f600000(0000)
knlGS:0000000000000000
\[  +0.000002\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  +0.000001\] CR2: 00007f9e6f1fca70 CR3: 0000000038e20004 CR4:
00000000007706f0
\[  +0.000000\] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
\[  +0.000001\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
\[  +0.000001\] PKRU: 55555554
\[  +0.000001\] Call Trace:
\[  +0.000001\]  \<TASK\>
\[  +0.000002\]  ? \_\_warn+0x80/0x130
\[  +0.000003\]  ? check\_flush\_dependency+0x10b/0x120
\[  +0.000002\]  ? report\_bug+0x195/0x1a0
\[  +0.000005\]  ? handle\_bug+0x3c/0x70
\[  +0.000003\]  ? exc\_invalid\_op+0x14/0x70
\[  +0.000002\]  ? asm\_exc\_invalid\_op+0x16/0x20
\[  +0.000006\]  ? check\_flush\_dependency+0x10b/0x120
\[  +0.000002\]  ? check\_flush\_dependency+0x10b/0x120
\[  +0.000002\]  \_\_flush\_workqueue+0x126/0x3f0
\[  +0.000015\]  ib\_cache\_cleanup\_one+0x1c/0xe0 \[ib\_core\]
\[  +0.000056\]  \_\_ib\_unregister\_device+0x6a/0xb0 \[ib\_core\]
\[  +0.000023\]  ib\_unregister\_device\_and\_put+0x34/0x50 \[ib\_core\]
\[  +0.000020\]  i40iw\_close+0x4b/0x90 \[irdma\]
\[  +0.000022\]  i40e\_notify\_client\_of\_netdev\_close+0x54/0xc0 \[i40e\]
\[  +0.000035\]  i40e\_service\_task+0x126/0x190 \[i40e\]
\[  +0.000024\]  process\_one\_work+0x174/0x340
\[  +0.000003\]  worker\_th
---truncated---

## Affected and fixed versions

- Linux: \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 09b54d29f05129b092f7c793a70b689ffb3c7b2c; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 546d0fe9d76e8229a67369f9cb61e961d99038bd; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< fbbb2404340dd6178e281bd427c271f7d5ec1d22; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< ff7431f898dd00892a545b7d0ce7adf5b926944f; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 152ed360cf2d273f88fc99a518b7eb868aae2939; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 8d6105f637883c8c09825e962308c06e977de4f0; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 1594dac8b1ed78f9e75c263327e198a2e5e25b0e; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 2cc7d150550cc981aceedf008f5459193282425c (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 2cc7d150550cc981aceedf008f5459193282425c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-36004.md
Affected: Linux >= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, < 09b54d29f05129b092f7c793a70b689ffb3c7b2c; >= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, < 546d0fe9d76e8229a67369f9cb61e961d99038bd; >= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, < fbbb2404340dd6178e281bd427c271f7d5ec1d22; >= 4d5957cbdecdbb77d24c146…
Fixed in: Linux 09b54d29f05129b092f7c793a70b689ffb3c7b2c, Linux 546d0fe9d76e8229a67369f9cb61e961d99038bd, Linux 152ed360cf2d273f88fc99a518b7eb868aae2939, Linux 8d6105f637883c8c09825e962308c06e977de4f0, Linux 1594dac8b1ed78f9e75c263327e198a2e5e25b0e, Linux 2cc7d150550cc981aceedf008f5459193282425c

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-2024-36004 being exploited?

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

### How serious is CVE-2024-36004?

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

### Which versions are affected by CVE-2024-36004?

Linux \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 09b54d29f05129b092f7c793a70b689ffb3c7b2c; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 546d0fe9d76e8229a67369f9cb61e961d99038bd; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< fbbb2404340dd6178e281bd427c271f7d5ec1d22; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< ff7431f898dd00892a545b7d0ce7adf5b926944f; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 152ed360cf2d273f88fc99a518b7eb868aae2939; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 8d6105f637883c8c09825e962308c06e977de4f0; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 1594dac8b1ed78f9e75c263327e198a2e5e25b0e; \>= 4d5957cbdecdbb77d24c1465caadd801c07afa4a, \< 2cc7d150550cc981aceedf008f5459193282425c; Linux 4.14.

### Is there a fix for CVE-2024-36004?

Yes. Fixed in Linux 09b54d29f05129b092f7c793a70b689ffb3c7b2c, Linux 546d0fe9d76e8229a67369f9cb61e961d99038bd, Linux 152ed360cf2d273f88fc99a518b7eb868aae2939, Linux 8d6105f637883c8c09825e962308c06e977de4f0, Linux 1594dac8b1ed78f9e75c263327e198a2e5e25b0e, Linux 2cc7d150550cc981aceedf008f5459193282425c. Upgrade Linux to 2cc7d150550cc981aceedf008f5459193282425c or later.

### How do I check if I'm affected by CVE-2024-36004?

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/09b54d29f05129b092f7c793a70b689ffb3c7b2c>
- patch: <https://git.kernel.org/stable/c/546d0fe9d76e8229a67369f9cb61e961d99038bd>
- patch: <https://git.kernel.org/stable/c/fbbb2404340dd6178e281bd427c271f7d5ec1d22>
- patch: <https://git.kernel.org/stable/c/ff7431f898dd00892a545b7d0ce7adf5b926944f>
- patch: <https://git.kernel.org/stable/c/152ed360cf2d273f88fc99a518b7eb868aae2939>
- patch: <https://git.kernel.org/stable/c/8d6105f637883c8c09825e962308c06e977de4f0>
- patch: <https://git.kernel.org/stable/c/1594dac8b1ed78f9e75c263327e198a2e5e25b0e>
- patch: <https://git.kernel.org/stable/c/2cc7d150550cc981aceedf008f5459193282425c>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## 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-2024-36004>

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