fsl/fman: Fix clk reference leak in read_dts_node()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5c90f99ba74b55ddd8e919224921033cc4077f01, Kernel 874fd58b321a9238e47c2a46345444287f2a5781, Kernel 9fd6d0861ae2fd44c771d6bc93b29bbc1202fe8e and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.5, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <5c90f99ba74b55ddd8e919224921033cc4077f01, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <874fd58b321a9238e47c2a46345444287f2a5781, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <9fd6d0861ae2fd44c771d6bc93b29bbc1202fe8e, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <a644f09b2090ad22a13fbcf9d141084f573108ef, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <c2a5e591858629b6c0e284010d2ccdbc22fd0a43, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <c2edf376d7804279878b207d93ffe6009c8d3d29, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <cb52f9f188c3174761ad3b37db9de751e002b52c, >=414fd46e77626f4e1f89ab4be6b876ef91e89dfa <e560bdf62b11dcaa2a018345f76869d89ed43a9e | 5c90f99ba74b55ddd8e919224921033cc4077f01, 874fd58b321a9238e47c2a46345444287f2a5781, 9fd6d0861ae2fd44c771d6bc93b29bbc1202fe8e, a644f09b2090ad22a13fbcf9d141084f573108ef, c2a5e591858629b6c0e284010d2ccdbc22fd0a43, c2edf376d7804279878b207d93ffe6009c8d3d29, cb52f9f188c3174761ad3b37db9de751e002b52c, e560bdf62b11dcaa2a018345f76869d89ed43a9e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket