leds: led-core: Fix refcount leak in of_led_get()
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
leds: led-core: Fix refcount leak in of_led_get()
class_find_device_by_of_node() calls class_find_device(), it will take
the reference, use the put_device() to drop the reference when not need
anymore.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1d6101d9222e1ca8c01b3fa9ebf0dcf7bcd82564https://git.kernel.org/stable/c/690efcb5827c3bacbf1de90cd14907b91bf8cb7bhttps://git.kernel.org/stable/c/d880981b82223f9bf128dfdd2424abb0c658f345https://git.kernel.org/stable/c/da1afe8e6099980fe1e2fd7436dca284af9d3f29https://git.kernel.org/stable/c/ddf3e82164afd9381b1d52c9f00b3878f7b6d308