CVE-2021-47315
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelfrom 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.4NVD

Classification

CWE-617

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: memoria: fsl_ifc: corrige la fuga de asignación de IO en caso de fallo de la sonda. En caso de error de la sonda, el controlador debe desasignar la memoria de IO. Informes de coincidencias: drivers/memory/fsl_ifc.c:298 fsl_ifc_ctrl_probe() advertencia: 'fsl_ifc_ctrl_dev->gregs' no publicado en las líneas: 298.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47315 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47315 changed 2026-06-17Public domain