CVE-2022-49324Published Feb 26, 2025 · Feb 26Updated 2d ago
mips: cpc: Fix refcount leak in mips_cpc_default_phys_base
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 791412dafbbfd860e78983d45cf71db603a82f67 · < 8f843cdfc202caaa5d67db3395d893e56362e43a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mips: cpc: Fix refcount leak in mips_cpc_default_phys_base
Add the missing of_node_put() to release the refcount incremented by of_find_compatible_node().
From the CVE record · Linux
The Linux kernel’s MIPS CPC function mips_cpc_default_phys_base has a device-tree node reference-count leak because it does not release a reference acquired by of_find_compatible_node(). The input does not describe an attacker outcome or specify whether access, authentication, or user interaction is required.
Engineers running Linux kernels with MIPS CPC support should check their versions; affected versions are not specified.