bus: qcom: Put child node before return
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 335a127548081322bd2b294d715418648912f20c · < 6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bus: qcom: Put child node before return
Put child node before return to fix potential reference count leak. Generally, the reference count of child is incremented and decremented automatically in the macro for_each_available_child_of_node() and should be decremented manually if the loop is broken in loop body.
From the CVE record · Linux
The Linux kernel’s Qualcomm bus code can leak a child node reference count if a loop exits early without releasing the node. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the fix; affected versions are not specified.