# CVE-2021-47424: i40e: Fix freeing of uninitialized misc IRQ vector

> 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.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-05-21T15:04:11.271Z
- **Modified:** 2026-06-17T04:17:26.420Z

## Who should check

- Anyone running Linux \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 60ad4cde0ad28921f9ea25b0201c774b95ffa4b4; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 17063cac4088b8e2fc0f633abddca5426ed58312; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 97aeed72af4f83ae51534f0a2473ff52f8d66236; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 75099439209d3cda439a1d9b00d19a50f0066fef; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 2e5a20573a926302b233b0c2e1077f5debc7ab2e
- Anyone running Linux 4.15

## Description

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

i40e: Fix freeing of uninitialized misc IRQ vector

When VSI set up failed in i40e\_probe() as part of PF switch set up
driver was trying to free misc IRQ vectors in
i40e\_clear\_interrupt\_scheme and produced a kernel Oops:

   Trying to free already-free IRQ 266
   WARNING: CPU: 0 PID: 5 at kernel/irq/manage.c:1731 \_\_free\_irq+0x9a/0x300
   Workqueue: events work\_for\_cpu\_fn
   RIP: 0010:\_\_free\_irq+0x9a/0x300
   Call Trace:
   ? synchronize\_irq+0x3a/0xa0
   free\_irq+0x2e/0x60
   i40e\_clear\_interrupt\_scheme+0x53/0x190 \[i40e\]
   i40e\_probe.part.108+0x134b/0x1a40 \[i40e\]
   ? kmem\_cache\_alloc+0x158/0x1c0
   ? acpi\_ut\_update\_ref\_count.part.1+0x8e/0x345
   ? acpi\_ut\_update\_object\_reference+0x15e/0x1e2
   ? strstr+0x21/0x70
   ? irq\_get\_irq\_data+0xa/0x20
   ? mp\_check\_pin\_attr+0x13/0xc0
   ? irq\_get\_irq\_data+0xa/0x20
   ? mp\_map\_pin\_to\_irq+0xd3/0x2f0
   ? acpi\_register\_gsi\_ioapic+0x93/0x170
   ? pci\_conf1\_read+0xa4/0x100
   ? pci\_bus\_read\_config\_word+0x49/0x70
   ? do\_pci\_enable\_device+0xcc/0x100
   local\_pci\_probe+0x41/0x90
   work\_for\_cpu\_fn+0x16/0x20
   process\_one\_work+0x1a7/0x360
   worker\_thread+0x1cf/0x390
   ? create\_worker+0x1a0/0x1a0
   kthread+0x112/0x130
   ? kthread\_flush\_work\_fn+0x10/0x10
   ret\_from\_fork+0x1f/0x40

The problem is that at that point misc IRQ vectors
were not allocated yet and we get a call trace
that driver is trying to free already free IRQ vectors.

Add a check in i40e\_clear\_interrupt\_scheme for \_\_I40E\_MISC\_IRQ\_REQUESTED
PF state before calling i40e\_free\_misc\_vector. This state is set only if
misc IRQ vectors were properly initialized.

## Affected and fixed versions

- Linux: \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 60ad4cde0ad28921f9ea25b0201c774b95ffa4b4; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 17063cac4088b8e2fc0f633abddca5426ed58312; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 97aeed72af4f83ae51534f0a2473ff52f8d66236; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 75099439209d3cda439a1d9b00d19a50f0066fef; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 2e5a20573a926302b233b0c2e1077f5debc7ab2e (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 2e5a20573a926302b233b0c2e1077f5debc7ab2e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47424.md
Affected: Linux >= c17401a1dd210a5f22ab1ec7c7366037c158a14c, < 60ad4cde0ad28921f9ea25b0201c774b95ffa4b4; >= c17401a1dd210a5f22ab1ec7c7366037c158a14c, < 17063cac4088b8e2fc0f633abddca5426ed58312; >= c17401a1dd210a5f22ab1ec7c7366037c158a14c, < 97aeed72af4f83ae51534f0a2473ff52f8d66236; >= c17401a1dd210a5f22ab1ec…
Fixed in: Linux 60ad4cde0ad28921f9ea25b0201c774b95ffa4b4, Linux 17063cac4088b8e2fc0f633abddca5426ed58312, Linux 97aeed72af4f83ae51534f0a2473ff52f8d66236, Linux 75099439209d3cda439a1d9b00d19a50f0066fef, Linux 2e5a20573a926302b233b0c2e1077f5debc7ab2e

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-2021-47424 being exploited?

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

### How serious is CVE-2021-47424?

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

### Which versions are affected by CVE-2021-47424?

Linux \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 60ad4cde0ad28921f9ea25b0201c774b95ffa4b4; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 17063cac4088b8e2fc0f633abddca5426ed58312; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 97aeed72af4f83ae51534f0a2473ff52f8d66236; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 75099439209d3cda439a1d9b00d19a50f0066fef; \>= c17401a1dd210a5f22ab1ec7c7366037c158a14c, \< 2e5a20573a926302b233b0c2e1077f5debc7ab2e; Linux 4.15.

### Is there a fix for CVE-2021-47424?

Yes. Fixed in Linux 60ad4cde0ad28921f9ea25b0201c774b95ffa4b4, Linux 17063cac4088b8e2fc0f633abddca5426ed58312, Linux 97aeed72af4f83ae51534f0a2473ff52f8d66236, Linux 75099439209d3cda439a1d9b00d19a50f0066fef, Linux 2e5a20573a926302b233b0c2e1077f5debc7ab2e. Upgrade Linux to 2e5a20573a926302b233b0c2e1077f5debc7ab2e or later.

### How do I check if I'm affected by CVE-2021-47424?

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/60ad4cde0ad28921f9ea25b0201c774b95ffa4b4>
- patch: <https://git.kernel.org/stable/c/17063cac4088b8e2fc0f633abddca5426ed58312>
- patch: <https://git.kernel.org/stable/c/97aeed72af4f83ae51534f0a2473ff52f8d66236>
- patch: <https://git.kernel.org/stable/c/75099439209d3cda439a1d9b00d19a50f0066fef>
- patch: <https://git.kernel.org/stable/c/2e5a20573a926302b233b0c2e1077f5debc7ab2e>

## 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-2021-47424>

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