CVE-2022-49211Published Feb 26, 2025 · Feb 26Updated Oct 28
mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
Linux
Medium5.5Fix available
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:
mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount.
From the CVE record · Linux
The Linux kernel's MIPS CDMM code fails to release a node reference in mips_cdmm_phys_base, causing a refcount leak. The input does not describe how an attacker could exploit it or specify access or user-interaction requirements.
Engineers running the Linux kernel with MIPS CDMM support should check their installations; affected versions are not specified.