CVE-2021-47315

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

No CVSS score yet EPSS 0.25%

Published 21 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47315

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47315 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 23 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before d0d04b95e8ed0223844a1d58497c686fe2e4a955
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before 6b3b002de90738e3c85853a682ce7e0fa078d42b
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before 94bc2fe46102d1e060fc749c0c19511e76c9995f
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before d9213d4f372d30b5bc4d921795d6bed0c0e3eebf
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before 8d071d270afba468708faca5f7b6d9e656f75e27
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before 83af5816308b490b05fc8fa27fc1bdc769df200a
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before 28f71fd81ebd3b386bf5c7c5539664156f7d72c1
affected from a20cbdeffce247a2b6fb83cd8d22433994068565, before 3b132ab67fc7a358fff35e808fa65d4bea452521
Other versions: unaffected
Linux
affected 3.3
unaffected before 3.3
unaffected from 4.9.276 up to and including 4.9.*
unaffected from 4.14.240 up to and including 4.14.*
unaffected from 4.19.198 up to and including 4.19.*
unaffected from 5.4.134 up to and including 5.4.*
unaffected from 5.10.52 up to and including 5.10.*
unaffected from 5.12.19 up to and including 5.12.*
unaffected from 5.13.4 up to and including 5.13.*
unaffected 5.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47315 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47315

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47315
trivy image --scanners vuln IMAGE | grep CVE-2021-47315

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47315 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.