Memory Leak in fsl_ifc on Probe Failure

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001373: memory: fsl_ifc: fix leak of IO mapping on probe failure. Affects Kernel versions >= a20cbdeffce247a2b6fb83cd8d22433994068565, < 94bc2fe46102d1e060fc749c0c19511e76c9995f. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The fsl_ifc is a memory driver in the Linux Kernel that provides support for the Freescale Integrated Flash Controller (IFC) found in certain Freescale processors. It is responsible for managing the IFC memory and providing access to it. The driver is used in various embedded systems and devices that utilize Freescale processors. However, a vulnerability has been discovered in the fsl_ifc driver that can lead to a memory leak when the driver fails to probe properly.

Vulnerability Detail

The vulnerability in the fsl_ifc driver occurs when the driver fails to properly handle a probe failure. During the probe process, the driver maps the IFC memory to the kernel's address space. If the probe fails, the driver does not properly clean up the mapping, resulting in a memory leak. An attacker could potentially exploit this vulnerability by repeatedly triggering probe failures, leading to a depletion of system memory and potentially causing a denial-of-service condition. The vulnerability was introduced in version v3.3 of the Linux Kernel and has been fixed in version v4.19.198.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Linux Kernel is not immediately feasible, a workaround for this vulnerability is to avoid triggering probe failures in the fsl_ifc driver. This can be achieved by ensuring that the driver is properly configured and all necessary dependencies are met before attempting to load the driver. Additionally, monitoring system logs for any probe failure messages related to the fsl_ifc driver can help identify potential issues and prevent the vulnerability from being exploited.

Conclusion

The memory leak vulnerability in the fsl_ifc driver can be mitigated by updating the Linux Kernel to version v4.19.198 or later. This update includes a fix for the vulnerability, ensuring that the driver properly cleans up IO mapping on probe failure. If immediate kernel update is not possible, implementing the provided workaround and monitoring system logs can help prevent exploitation of the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The fsl_ifc driver is a memory driver in the Linux Kernel that provides support for the Freescale Integrated Flash Controller (IFC) found in certain Freescale processors. It manages the IFC memory and provides access to it.

The vulnerability can lead to a memory leak in the fsl_ifc driver, potentially causing a depletion of system memory and a denial-of-service condition.

An attacker could exploit this vulnerability by repeatedly triggering probe failures in the fsl_ifc driver, leading to a memory leak and potential denial-of-service.

Yes, this vulnerability has been fixed in Linux Kernel version v4.19.198 by commit 94bc2fe46102d1e060fc749c0c19511e76c9995f.

A workaround for this vulnerability is to avoid triggering probe failures in the fsl_ifc driver and to monitor system logs for any related probe failure messages.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback