gpio: arizona: Fix runtime PM leak in arizona_gpio_direction_out()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: gpio: arizona: Fix runtime PM leak in arizona_gpio_direction_out() Switching a persistent GPIO line from input to output acquires a runtime PM reference on the parent device, but if the subsequent regmap_update_bits() fails the reference is never dropped and no later direction_in() can balance it since the direction was never changed. Drop the reference on the update failure path.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in 40c010c1866382cb63ba7497d6ec74fcc60ab9cf; From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in 61ed58b745c1186006b8357da651abbb7a6bff17; From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in 5c8e87f33b68557a725e72f34051299f55c6fa9e; From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in 9d8d6cddcb7c0b8125f3a9e52492e929674009d8; From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in 9ee200f484983b0a178c593e57d2fe3e67061ee8; From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in a9f738487c11fb512dadef097b56020239c21810; From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in 39748357db26b20a02ea2a25ce48943e6c6d6286; From 27a49ed17e2245cacbdea88ad78b8494653e0338 · fixed in e9d810279f84b30738f7790c0ed15f8dd5b9024a
- Linux Linux
4.13
- KernelLinux
From 4.13.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9
References 8
git.kernel.org
- stable/c/40c010c1866382cb63ba7497d6ec74fcc60ab9cf
- stable/c/61ed58b745c1186006b8357da651abbb7a6bff17
- stable/c/5c8e87f33b68557a725e72f34051299f55c6fa9e
- stable/c/9d8d6cddcb7c0b8125f3a9e52492e929674009d8
- stable/c/9ee200f484983b0a178c593e57d2fe3e67061ee8
- stable/c/a9f738487c11fb512dadef097b56020239c21810
- stable/c/39748357db26b20a02ea2a25ce48943e6c6d6286
- stable/c/e9d810279f84b30738f7790c0ed15f8dd5b9024a