# CVE-2021-47315: memory: fsl_ifc: fix leak of IO mapping on probe failure

- 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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:31.925Z
- Modified: 2026-06-17T04:17:10.580Z
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

memory: fsl_ifc: fix leak of IO mapping on probe failure

On probe error the driver should unmap the IO memory.  Smatch reports:

  drivers/memory/fsl_ifc.c:298 fsl_ifc_ctrl_probe() warn: 'fsl_ifc_ctrl_dev->gregs' not released on lines: 298.

(As written by CVE List.)

## Affected

- Linux Linux: from a20cbdeffce247a2b6fb83cd8d22433994068565 before d0d04b95e8ed0223844a1d58497c686fe2e4a955; from a20cbdeffce247a2b6fb83cd8d22433994068565 before 6b3b002de90738e3c85853a682ce7e0fa078d42b; from a20cbdeffce247a2b6fb83cd8d22433994068565 before 94bc2fe46102d1e060fc749c0c19511e76c9995f; from a20cbdeffce247a2b6fb83cd8d22433994068565 before d9213d4f372d30b5bc4d921795d6bed0c0e3eebf; from a20cbdeffce247a2b6fb83cd8d22433994068565 before 8d071d270afba468708faca5f7b6d9e656f75e27; from a20cbdeffce247a2b6fb83cd8d22433994068565 before 83af5816308b490b05fc8fa27fc1bdc769df200a; from a20cbdeffce247a2b6fb83cd8d22433994068565 before 28f71fd81ebd3b386bf5c7c5539664156f7d72c1; from a20cbdeffce247a2b6fb83cd8d22433994068565 before 3b132ab67fc7a358fff35e808fa65d4bea452521; 3.3 (not affected: before 3.3; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.134 up to 5.4.*; from 5.10.52 up to 5.10.*; from 5.12.19 up to 5.12.*; from 5.13.4 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 3.3 before 4.4.276; from 4.5 before 4.9.276; from 4.10 before 4.14.240; from 4.15 before 4.19.198; from 4.20 before 5.4.134; from 5.5 before 5.10.52; from 5.11 before 5.12.19; from 5.13 before 5.13.4

## References

- <https://git.kernel.org/stable/c/d0d04b95e8ed0223844a1d58497c686fe2e4a955> (patch)
- <https://git.kernel.org/stable/c/6b3b002de90738e3c85853a682ce7e0fa078d42b> (patch)
- <https://git.kernel.org/stable/c/94bc2fe46102d1e060fc749c0c19511e76c9995f> (patch)
- <https://git.kernel.org/stable/c/d9213d4f372d30b5bc4d921795d6bed0c0e3eebf> (patch)
- <https://git.kernel.org/stable/c/8d071d270afba468708faca5f7b6d9e656f75e27> (patch)
- <https://git.kernel.org/stable/c/83af5816308b490b05fc8fa27fc1bdc769df200a> (patch)
- <https://git.kernel.org/stable/c/28f71fd81ebd3b386bf5c7c5539664156f7d72c1> (patch)
- <https://git.kernel.org/stable/c/3b132ab67fc7a358fff35e808fa65d4bea452521> (patch)
- <https://git.kernel.org/stable/c/b7a2bcb4a3731d68f938207f75ed3e1d41774510> (patch)
- <https://git.kernel.org/stable/c/bd051b3e184fa56eeb6276ee913ba4d48069024b> (patch)

## Sources

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

---

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