CVE-2021-47315Published May 21, 2024 · May 21Updated Jun 17
memory: fsl_ifc: fix leak of IO mapping on probe failure
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a20cbdeffce247a2b6fb83cd8d22433994068565 · < 83af5816308b490b05fc8fa27fc1bdc769df200a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's fsl_ifc driver fails to unmap I/O memory when controller probing fails. This can leak an I/O mapping; the input does not establish how an attacker could trigger the failure or whether authentication or user interaction is required.
Engineers running the Linux kernel with the fsl_ifc driver should check whether their kernel is affected; affected versions are not specified.