# CVE-2024-35824: misc: lis3lv02d\_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **Published:** 2024-05-17T13:27:25.357Z
- **Modified:** 2026-06-17T07:35:29.427Z

## Who should check

- Anyone running Linux \>= 2c1164ad927e62f122b151493bb183bc11dab8f8, \< 4154e767354140db7804207117e7238fb337b0e7; \>= 1229ce1c4acd36f5af97c996420defc43daca635, \< 997ca415384612c8df76d99d9a768e0b3f42b325; \>= 755182e1e8667272a082506a2a20b4cdd78ab4c2, \< f6df761182fc953907b18aba5049fc2a044ecb45; \>= b1b9f7a494400c0c39f8cd83de3aaa6111c55087, \< ac3e0384073b2408d6cb0d972fee9fcc3776053d
- Anyone running Linux \>= 6.1.77, \< 6.1.84; \>= 6.6.16, \< 6.6.24; \>= 6.7.4, \< 6.7.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

misc: lis3lv02d\_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume

When not configured for wakeup lis3lv02d\_i2c\_suspend() will call
lis3lv02d\_poweroff() even if the device has already been turned off
by the runtime-suspend handler and if configured for wakeup and
the device is runtime-suspended at this point then it is not turned
back on to serve as a wakeup source.

Before commit b1b9f7a49440 ("misc: lis3lv02d\_i2c: Add missing setting
of the reg\_ctrl callback"), lis3lv02d\_poweroff() failed to disable
the regulators which as a side effect made calling poweroff() twice ok.

Now that poweroff() correctly disables the regulators, doing this twice
triggers a WARN() in the regulator core:

unbalanced disables for regulator-dummy
WARNING: CPU: 1 PID: 92 at drivers/regulator/core.c:2999 \_regulator\_disable
...

Fix lis3lv02d\_i2c\_suspend() to not call poweroff() a second time if
already runtime-suspended and add a poweron() call when necessary to
make wakeup work.

lis3lv02d\_i2c\_resume() has similar issues, with an added weirness that
it always powers on the device if it is runtime suspended, after which
the first runtime-resume will call poweron() again, causing the enabled
count for the regulator to increase by 1 every suspend/resume. These
unbalanced regulator\_enable() calls cause the regulator to never
be turned off and trigger the following WARN() on driver unbind:

WARNING: CPU: 1 PID: 1724 at drivers/regulator/core.c:2396 \_regulator\_put

Fix this by making lis3lv02d\_i2c\_resume() mirror the new suspend().

## Affected and fixed versions

- Linux: \>= 2c1164ad927e62f122b151493bb183bc11dab8f8, \< 4154e767354140db7804207117e7238fb337b0e7; \>= 1229ce1c4acd36f5af97c996420defc43daca635, \< 997ca415384612c8df76d99d9a768e0b3f42b325; \>= 755182e1e8667272a082506a2a20b4cdd78ab4c2, \< f6df761182fc953907b18aba5049fc2a044ecb45; \>= b1b9f7a494400c0c39f8cd83de3aaa6111c55087, \< ac3e0384073b2408d6cb0d972fee9fcc3776053d (cvelist)
- Linux: \>= 6.1.77, \< 6.1.84; \>= 6.6.16, \< 6.6.24; \>= 6.7.4, \< 6.7.12 (cvelist)

## Mitigation

- Upgrade Linux to 6.7.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35824. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35824.md
Affected: Linux >= 2c1164ad927e62f122b151493bb183bc11dab8f8, < 4154e767354140db7804207117e7238fb337b0e7; >= 1229ce1c4acd36f5af97c996420defc43daca635, < 997ca415384612c8df76d99d9a768e0b3f42b325; >= 755182e1e8667272a082506a2a20b4cdd78ab4c2, < f6df761182fc953907b18aba5049fc2a044ecb45; >= b1b9f7a494400c0c39f8cd8…
Fixed in: Linux 4154e767354140db7804207117e7238fb337b0e7, Linux 997ca415384612c8df76d99d9a768e0b3f42b325, Linux 6.1.84, Linux 6.6.24, Linux 6.7.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35824 being exploited?

There is no confirmed exploitation: CVE-2024-35824 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35824?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35824?

Linux \>= 2c1164ad927e62f122b151493bb183bc11dab8f8, \< 4154e767354140db7804207117e7238fb337b0e7; \>= 1229ce1c4acd36f5af97c996420defc43daca635, \< 997ca415384612c8df76d99d9a768e0b3f42b325; \>= 755182e1e8667272a082506a2a20b4cdd78ab4c2, \< f6df761182fc953907b18aba5049fc2a044ecb45; \>= b1b9f7a494400c0c39f8cd83de3aaa6111c55087, \< ac3e0384073b2408d6cb0d972fee9fcc3776053d; Linux \>= 6.1.77, \< 6.1.84; \>= 6.6.16, \< 6.6.24; \>= 6.7.4, \< 6.7.12.

### Is there a fix for CVE-2024-35824?

Yes. Fixed in Linux 4154e767354140db7804207117e7238fb337b0e7, Linux 997ca415384612c8df76d99d9a768e0b3f42b325, Linux 6.1.84, Linux 6.6.24, Linux 6.7.12. Upgrade Linux to 6.7.12 or later.

### How do I check if I'm affected by CVE-2024-35824?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4154e767354140db7804207117e7238fb337b0e7>
- patch: <https://git.kernel.org/stable/c/997ca415384612c8df76d99d9a768e0b3f42b325>
- patch: <https://git.kernel.org/stable/c/f6df761182fc953907b18aba5049fc2a044ecb45>
- patch: <https://git.kernel.org/stable/c/ac3e0384073b2408d6cb0d972fee9fcc3776053d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35824>

HTML: <https://flawdb.com/CVE-2024-35824> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35824>
