# CVE-2021-47283: net:sfc: fix non-freed irq in legacy irq mode

> 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-28)
- **CWE:** CWE-772
- **Published:** 2024-05-21T14:20:08.828Z
- **Modified:** 2026-06-17T04:17:06.013Z

## Who should check

- Anyone running Linux \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 8d717c9135a3340ae62d1699484850bfb4112b0c; \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 81c4d1d83f88e15b26f4522a35cba6ffd8c5dfdd; \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036
- Anyone running Linux 5.9

## Description

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

net:sfc: fix non-freed irq in legacy irq mode

SFC driver can be configured via modparam to work using MSI-X, MSI or
legacy IRQ interrupts. In the last one, the interrupt was not properly
released on module remove.

It was not freed because the flag irqs\_hooked was not set during
initialization in the case of using legacy IRQ.

Example of (trimmed) trace during module remove without this fix:

remove\_proc\_entry: removing non-empty directory 'irq/125', leaking at least '0000:3b:00.1'
WARNING: CPU: 39 PID: 3658 at fs/proc/generic.c:715 remove\_proc\_entry+0x15c/0x170
...trimmed...
Call Trace:
 unregister\_irq\_proc+0xe3/0x100
 free\_desc+0x29/0x70
 irq\_free\_descs+0x47/0x70
 mp\_unmap\_irq+0x58/0x60
 acpi\_unregister\_gsi\_ioapic+0x2a/0x40
 acpi\_pci\_irq\_disable+0x78/0xb0
 pci\_disable\_device+0xd1/0x100
 efx\_pci\_remove+0xa1/0x1e0 \[sfc\]
 pci\_device\_remove+0x38/0xa0
 \_\_device\_release\_driver+0x177/0x230
 driver\_detach+0xcb/0x110
 bus\_remove\_driver+0x58/0xd0
 pci\_unregister\_driver+0x2a/0xb0
 efx\_exit\_module+0x24/0xf40 \[sfc\]
 \_\_do\_sys\_delete\_module.constprop.0+0x171/0x280
 ? exit\_to\_user\_mode\_prepare+0x83/0x1d0
 do\_syscall\_64+0x3d/0x80
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
RIP: 0033:0x7f9f9385800b
...trimmed...

## Affected and fixed versions

- Linux: \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 8d717c9135a3340ae62d1699484850bfb4112b0c; \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 81c4d1d83f88e15b26f4522a35cba6ffd8c5dfdd; \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036 (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- Upgrade Linux to 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036 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-47283. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47283.md
Affected: Linux >= e6a43910d55d09dae65772ad571d4c61e459b17a, < 8d717c9135a3340ae62d1699484850bfb4112b0c; >= e6a43910d55d09dae65772ad571d4c61e459b17a, < 81c4d1d83f88e15b26f4522a35cba6ffd8c5dfdd; >= e6a43910d55d09dae65772ad571d4c61e459b17a, < 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036; Linux 5.9
Fixed in: Linux 8d717c9135a3340ae62d1699484850bfb4112b0c, Linux 81c4d1d83f88e15b26f4522a35cba6ffd8c5dfdd, Linux 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036

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

There is no confirmed exploitation: CVE-2021-47283 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-28).

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

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

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

Linux \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 8d717c9135a3340ae62d1699484850bfb4112b0c; \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 81c4d1d83f88e15b26f4522a35cba6ffd8c5dfdd; \>= e6a43910d55d09dae65772ad571d4c61e459b17a, \< 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036; Linux 5.9.

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

Yes. Fixed in Linux 8d717c9135a3340ae62d1699484850bfb4112b0c, Linux 81c4d1d83f88e15b26f4522a35cba6ffd8c5dfdd, Linux 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036. Upgrade Linux to 8f03eeb6e0a0a0b8d617ee0a4bce729e47130036 or later.

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

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/8d717c9135a3340ae62d1699484850bfb4112b0c>
- patch: <https://git.kernel.org/stable/c/81c4d1d83f88e15b26f4522a35cba6ffd8c5dfdd>
- patch: <https://git.kernel.org/stable/c/8f03eeb6e0a0a0b8d617ee0a4bce729e47130036>

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

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