CVE-2024-36959Published May 30, 2024 · May 30Updated 3d ago
pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 91d5c5060ee24fe8da88cd585bb43b843d2f0dce · < 026e24cf31733dbd97f41cc9bc5273ace428eeec| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
If we fail to allocate propname buffer, we need to drop the reference count we just took. Because the pinctrl_dt_free_maps() includes the droping operation, here we call it directly.
From the CVE record · Linux
The Linux kernel’s pinctrl_dt_to_map() can leak a reference count if allocation of the propname buffer fails. The input does not establish an attacker action or specify whether exploitation requires network access, authentication, local access, or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions were not provided.