# CVE-2021-47513: net: dsa: felix: Fix memory leak in felix_setup_mmio_filtering

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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: 2024-05-24T15:09:28.028Z
- Modified: 2026-06-17T04:17:40.027Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

net: dsa: felix: Fix memory leak in felix_setup_mmio_filtering

Avoid a memory leak if there is not a CPU port defined.

Addresses-Coverity-ID: 1492897 ("Resource leak")
Addresses-Coverity-ID: 1492899 ("Resource leak")

(As written by CVE List.)

## Affected

- Linux Linux: from 8d5f7954b7c8de54902a8beda141064a7e2e6ee0 before 973a0373e88cc19129bd6ef0ec193040535397d9; from 8d5f7954b7c8de54902a8beda141064a7e2e6ee0 before e8b1d7698038e76363859fb47ae0a262080646f5; 6b55eadb0b1da827f198364c426ace72c16c49b0; from 5.14.14 before 5.15; 5.15 (not affected: before 5.15; from 5.15.8 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.15 before 5.15.8

## References

- <https://git.kernel.org/stable/c/973a0373e88cc19129bd6ef0ec193040535397d9> (patch)
- <https://git.kernel.org/stable/c/e8b1d7698038e76363859fb47ae0a262080646f5> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47513 · Whole record: https://cve.day/CVE-2021-47513.json · Rebuilt by cve.day 2026-11-25T22:58:08.894Z
