iio: light: ltrf216a: fix runtime PM reference leak in error path
- 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 6.6.160, 6.12.110, 6.18.51, 7.2.5
- 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: iio: light: ltrf216a: fix runtime PM reference leak in error path ltrf216a_get_lux() acquires a runtime PM reference by calling ltrf216a_set_power_state(data, true). However, if ltrf216a_read_data() fails, the function returns immediately without dropping the reference. This leaves the runtime PM usage count unbalanced, preventing the device from autosuspending after a failed read. Fix this by releasing the runtime PM reference before returning from the error path.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f · fixed in 4bf5525c6ff4a9f8df35bcc227a918b6396b2cb5; From 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f · fixed in c4f003d8578f5718fe1ec332bc89f9ff69fd205b; From 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f · fixed in 0614928a3eda35bddd8c2f02311e286b59bbe746; From 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f · fixed in 80e7381e8cccb543397572af153865f34aaf4353; From 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f · fixed in c132aef0e757a39036b1d40faf0569f2e343b13e
- Linux Linux
6.1
- KernelLinux
From 6.1.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5