Description
In the Linux kernel, the following vulnerability has been resolved: fsl/fman: Fix clk reference leak in read_dts_node() of_clk_get() returns a clock with its reference count incremented, but read_dts_node() only uses it to read the rate and never calls clk_put(). The clock is not stored anywhere, so the reference cannot be released later either. Release the clock once its rate has been read, which also covers the error path taken when the rate is zero.
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
414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < 874fd58b321a9238e47c2a46345444287f2a5781affected414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < c2edf376d7804279878b207d93ffe6009c8d3d29affected414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < 5c90f99ba74b55ddd8e919224921033cc4077f01affected414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < e560bdf62b11dcaa2a018345f76869d89ed43a9eaffected414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < 9fd6d0861ae2fd44c771d6bc93b29bbc1202fe8eaffected414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < c2a5e591858629b6c0e284010d2ccdbc22fd0a43affected414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < cb52f9f188c3174761ad3b37db9de751e002b52caffected414fd46e77626f4e1f89ab4be6b876ef91e89dfa to < a644f09b2090ad22a13fbcf9d141084f573108efaffected
Linux Linux
Default version status: affected
4.5affected0 to < 4.5unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.55 to ≤ 6.18.*unaffected7.2.9 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/874fd58b321a9238e47c2a46345444287f2a5781 ↗
- https://git.kernel.org/stable/c/c2edf376d7804279878b207d93ffe6009c8d3d29 ↗
- https://git.kernel.org/stable/c/5c90f99ba74b55ddd8e919224921033cc4077f01 ↗
- https://git.kernel.org/stable/c/e560bdf62b11dcaa2a018345f76869d89ed43a9e ↗
- https://git.kernel.org/stable/c/9fd6d0861ae2fd44c771d6bc93b29bbc1202fe8e ↗
- https://git.kernel.org/stable/c/c2a5e591858629b6c0e284010d2ccdbc22fd0a43 ↗
- https://git.kernel.org/stable/c/cb52f9f188c3174761ad3b37db9de751e002b52c ↗
- https://git.kernel.org/stable/c/a644f09b2090ad22a13fbcf9d141084f573108ef ↗