i2c: piix4: Fix a memory leak in the EFCH MMIO support
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i2c: piix4: Fix a memory leak in the EFCH MMIO support
The recently added support for EFCH MMIO regions introduced a memory leak in that code path. The leak is caused by the fact that release_resource() merely removes the resource from the tree but does not free its memory. We need to call release_mem_region() instead, which does free the memory. As a nice side effect, this brings back some symmetry between the legacy and MMIO paths.
From the CVE record · Linux
The Linux kernel’s i2c piix4 EFCH MMIO code path leaks memory because it removes a resource without freeing it. The input does not specify how an attacker could trigger the leak or whether network access, authentication, or user interaction is required.
Anyone running a Linux kernel with i2c piix4 EFCH MMIO support should check their version; affected versions are not specified.