CVE-2021-47315

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

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.14.2403.3 ≤ v < 4.19.1983.3 ≤ v < 4.4.2763.3 ≤ v < 4.9.2763.3 ≤ v < 5.10.523.3 ≤ v < 5.12.193.3 ≤ v < 5.13.43.3 ≤ v < 5.143.3 ≤ v < 5.4.1344.10 ≤ v < 4.14.2404.15 ≤ v < 4.19.1984.20 ≤ v < 5.4.1344.5 ≤ v < 4.9.2765.11 ≤ v < 5.12.195.13 ≤ v < 5.13.45.5 ≤ v < 5.10.523.3a20cbdeffce247a2b6fb83cd8d22433994068565
Vendor states this is fixed in 28f71fd81ebd3b386bf5c7c5539664156f7d72c1 (fixed)
Vendor states this is fixed in 3b132ab67fc7a358fff35e808fa65d4bea452521 (fixed)
Vendor states this is fixed in 6b3b002de90738e3c85853a682ce7e0fa078d42b (fixed)
Vendor states this is fixed in 83af5816308b490b05fc8fa27fc1bdc769df200a (fixed)
Vendor states this is fixed in 8d071d270afba468708faca5f7b6d9e656f75e27 (fixed)
Vendor states this is fixed in 94bc2fe46102d1e060fc749c0c19511e76c9995f (fixed)
Vendor states this is fixed in d0d04b95e8ed0223844a1d58497c686fe2e4a955 (fixed)
Vendor states this is fixed in d9213d4f372d30b5bc4d921795d6bed0c0e3eebf (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.14.240 (unaffected)
Vendor states this is fixed in 4.19.198 (unaffected)
Affected range stops below 4.4.276, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.9.276 (unaffected)
Vendor states this is fixed in 5.10.52 (unaffected)
Vendor states this is fixed in 5.12.19 (unaffected)
Vendor states this is fixed in 5.13.4 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.4.134 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/28f71fd81ebd3b386bf5c7c5539664156f7d72c1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b132ab67fc7a358fff35e808fa65d4bea452521
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b3b002de90738e3c85853a682ce7e0fa078d42b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/83af5816308b490b05fc8fa27fc1bdc769df200a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8d071d270afba468708faca5f7b6d9e656f75e27
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/94bc2fe46102d1e060fc749c0c19511e76c9995f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d0d04b95e8ed0223844a1d58497c686fe2e4a955
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d9213d4f372d30b5bc4d921795d6bed0c0e3eebf

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-617

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card