CVE-2021-47315

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before d0d04b95e8ed0223844a1d58497c686fe2e4a955Affected
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before 6b3b002de90738e3c85853a682ce7e0fa078d42bAffected
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before 94bc2fe46102d1e060fc749c0c19511e76c9995fAffected
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before d9213d4f372d30b5bc4d921795d6bed0c0e3eebfAffected
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before 8d071d270afba468708faca5f7b6d9e656f75e27Affected
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before 83af5816308b490b05fc8fa27fc1bdc769df200aAffected
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before 28f71fd81ebd3b386bf5c7c5539664156f7d72c1Affected
  • a20cbdeffce247a2b6fb83cd8d22433994068565 to before 3b132ab67fc7a358fff35e808fa65d4bea452521Affected
LinuxLinux
  • 3.3Affected
  • before 3.3Not affected
  • 4.9.276 through 4.9.*Not affected
  • 4.14.240 through 4.14.*Not affected
  • 4.19.198 through 4.19.*Not affected
  • 5.4.134 through 5.4.*Not affected
  • 5.10.52 through 5.10.*Not affected
  • 5.12.19 through 5.12.*Not affected
  • 5.13.4 through 5.13.*Not affected
  • 5.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.