Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: atmel: Fix error handling in snd_proto_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. Fix this by calling of_node_put() in error handling too.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
a45f8853a5f95e3760dfbd7ba09d3d597d247040 to < f32ac9bf5e3f594ef9bfedb410aebc98cf784e69affecteda45f8853a5f95e3760dfbd7ba09d3d597d247040 to < 0f517480d5888cd54487c5662ce4da95b30ad798affecteda45f8853a5f95e3760dfbd7ba09d3d597d247040 to < 8fa969cd8485031294f91fc7184399000cae6355affecteda45f8853a5f95e3760dfbd7ba09d3d597d247040 to < b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75affected
Linux Linux
Default version status: affected
4.20affected0 to < 4.20unaffected5.15.33 to ≤ 5.15.*unaffected5.16.19 to ≤ 5.16.*unaffected5.17.2 to ≤ 5.17.*unaffected5.18 to ≤ *unaffected