# CVE-2022-50029: clk: qcom: ipq8074: dont disable gcc\_sleep\_clk\_src

> 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, NVD) `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.28% (percentile 13, 2026-11-26)
- **Published:** 2025-06-18T11:01:32.210Z
- **Modified:** 2026-06-17T05:22:35.750Z

## Who should check

- Anyone running Linux \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 38cee0d2b65eed42a44052de1bfdc0177b6c3f05; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 4203b76abe539f3cac258d4cf1e16e2dd95ea60f; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< d401611a93b332914cf91eb9bc0b63fa1bdc17e9; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 6b90ab952401bd6c1a321dcfc0e0df080f2bc905; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 17d58499dc9c7e059dab7d170e9bae1e7e9c561b; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 459411b9f0180e3f382d7abfa3028dd3285984c3; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 1bf7305e79aab095196131bdc87a97796e0e3fac
- Anyone running Linux 4.13

## Description

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

clk: qcom: ipq8074: dont disable gcc\_sleep\_clk\_src

Once the usb sleep clocks are disabled, clock framework is trying to
disable the sleep clock source also.

However, it seems that it cannot be disabled and trying to do so produces:
\[  245.436390\] ------------\[ cut here \]------------
\[  245.441233\] gcc\_sleep\_clk\_src status stuck at 'on'
\[  245.441254\] WARNING: CPU: 2 PID: 223 at clk\_branch\_wait+0x130/0x140
\[  245.450435\] Modules linked in: xhci\_plat\_hcd xhci\_hcd dwc3 dwc3\_qcom leds\_gpio
\[  245.456601\] CPU: 2 PID: 223 Comm: sh Not tainted 5.18.0-rc4 \#215
\[  245.463889\] Hardware name: Xiaomi AX9000 (DT)
\[  245.470050\] pstate: 204000c5 (nzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[  245.474307\] pc : clk\_branch\_wait+0x130/0x140
\[  245.481073\] lr : clk\_branch\_wait+0x130/0x140
\[  245.485588\] sp : ffffffc009f2bad0
\[  245.489838\] x29: ffffffc009f2bad0 x28: ffffff8003e6c800 x27: 0000000000000000
\[  245.493057\] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff800226ef20
\[  245.500175\] x23: ffffffc0089ff550 x22: 0000000000000000 x21: ffffffc008476ad0
\[  245.507294\] x20: 0000000000000000 x19: ffffffc00965ac70 x18: fffffffffffc51a7
\[  245.514413\] x17: 68702e3030303837 x16: 3a6d726f6674616c x15: ffffffc089f2b777
\[  245.521531\] x14: ffffffc0095c9d18 x13: 0000000000000129 x12: 0000000000000129
\[  245.528649\] x11: 00000000ffffffea x10: ffffffc009621d18 x9 : 0000000000000001
\[  245.535767\] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : 0000000000000001
\[  245.542885\] x5 : ffffff803fdca6d8 x4 : 0000000000000000 x3 : 0000000000000027
\[  245.550002\] x2 : 0000000000000027 x1 : 0000000000000023 x0 : 0000000000000026
\[  245.557122\] Call trace:
\[  245.564229\]  clk\_branch\_wait+0x130/0x140
\[  245.566490\]  clk\_branch2\_disable+0x2c/0x40
\[  245.570656\]  clk\_core\_disable+0x60/0xb0
\[  245.574561\]  clk\_core\_disable+0x68/0xb0
\[  245.578293\]  clk\_disable+0x30/0x50
\[  245.582113\]  dwc3\_qcom\_remove+0x60/0xc0 \[dwc3\_qcom\]
\[  245.585588\]  platform\_remove+0x28/0x60
\[  245.590361\]  device\_remove+0x4c/0x80
\[  245.594179\]  device\_release\_driver\_internal+0x1dc/0x230
\[  245.597914\]  device\_driver\_detach+0x18/0x30
\[  245.602861\]  unbind\_store+0xec/0x110
\[  245.607027\]  drv\_attr\_store+0x24/0x40
\[  245.610847\]  sysfs\_kf\_write+0x44/0x60
\[  245.614405\]  kernfs\_fop\_write\_iter+0x128/0x1c0
\[  245.618052\]  new\_sync\_write+0xc0/0x130
\[  245.622391\]  vfs\_write+0x1d4/0x2a0
\[  245.626123\]  ksys\_write+0x58/0xe0
\[  245.629508\]  \_\_arm64\_sys\_write+0x1c/0x30
\[  245.632895\]  invoke\_syscall.constprop.0+0x5c/0x110
\[  245.636890\]  do\_el0\_svc+0xa0/0x150
\[  245.641488\]  el0\_svc+0x18/0x60
\[  245.644872\]  el0t\_64\_sync\_handler+0xa4/0x130
\[  245.647914\]  el0t\_64\_sync+0x174/0x178
\[  245.652340\] ---\[ end trace 0000000000000000 \]---

So, add CLK\_IS\_CRITICAL flag to the clock so that the kernel won't try
to disable the sleep clock.

## Affected and fixed versions

- Linux: \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 38cee0d2b65eed42a44052de1bfdc0177b6c3f05; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 4203b76abe539f3cac258d4cf1e16e2dd95ea60f; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< d401611a93b332914cf91eb9bc0b63fa1bdc17e9; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 6b90ab952401bd6c1a321dcfc0e0df080f2bc905; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 17d58499dc9c7e059dab7d170e9bae1e7e9c561b; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 459411b9f0180e3f382d7abfa3028dd3285984c3; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 1bf7305e79aab095196131bdc87a97796e0e3fac (cvelist)
- Linux: 4.13 (cvelist)

## Mitigation

- Upgrade Linux to 1bf7305e79aab095196131bdc87a97796e0e3fac or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50029.md
Affected: Linux >= 371a95074558a08d47e3acaa29f810aae6f03d0a, < 38cee0d2b65eed42a44052de1bfdc0177b6c3f05; >= 371a95074558a08d47e3acaa29f810aae6f03d0a, < 4203b76abe539f3cac258d4cf1e16e2dd95ea60f; >= 371a95074558a08d47e3acaa29f810aae6f03d0a, < d401611a93b332914cf91eb9bc0b63fa1bdc17e9; >= 371a95074558a08d47e3aca…
Fixed in: Linux 38cee0d2b65eed42a44052de1bfdc0177b6c3f05, Linux 4203b76abe539f3cac258d4cf1e16e2dd95ea60f, Linux 6b90ab952401bd6c1a321dcfc0e0df080f2bc905, Linux 17d58499dc9c7e059dab7d170e9bae1e7e9c561b, Linux 459411b9f0180e3f382d7abfa3028dd3285984c3, Linux 1bf7305e79aab095196131bdc87a97796e0e3fac

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-2022-50029 being exploited?

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

### How serious is CVE-2022-50029?

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

### Which versions are affected by CVE-2022-50029?

Linux \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 38cee0d2b65eed42a44052de1bfdc0177b6c3f05; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 4203b76abe539f3cac258d4cf1e16e2dd95ea60f; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< d401611a93b332914cf91eb9bc0b63fa1bdc17e9; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 6b90ab952401bd6c1a321dcfc0e0df080f2bc905; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 17d58499dc9c7e059dab7d170e9bae1e7e9c561b; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 459411b9f0180e3f382d7abfa3028dd3285984c3; \>= 371a95074558a08d47e3acaa29f810aae6f03d0a, \< 1bf7305e79aab095196131bdc87a97796e0e3fac; Linux 4.13.

### Is there a fix for CVE-2022-50029?

Yes. Fixed in Linux 38cee0d2b65eed42a44052de1bfdc0177b6c3f05, Linux 4203b76abe539f3cac258d4cf1e16e2dd95ea60f, Linux 6b90ab952401bd6c1a321dcfc0e0df080f2bc905, Linux 17d58499dc9c7e059dab7d170e9bae1e7e9c561b, Linux 459411b9f0180e3f382d7abfa3028dd3285984c3, Linux 1bf7305e79aab095196131bdc87a97796e0e3fac. Upgrade Linux to 1bf7305e79aab095196131bdc87a97796e0e3fac or later.

### How do I check if I'm affected by CVE-2022-50029?

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/38cee0d2b65eed42a44052de1bfdc0177b6c3f05>
- patch: <https://git.kernel.org/stable/c/4203b76abe539f3cac258d4cf1e16e2dd95ea60f>
- patch: <https://git.kernel.org/stable/c/d401611a93b332914cf91eb9bc0b63fa1bdc17e9>
- patch: <https://git.kernel.org/stable/c/6b90ab952401bd6c1a321dcfc0e0df080f2bc905>
- patch: <https://git.kernel.org/stable/c/17d58499dc9c7e059dab7d170e9bae1e7e9c561b>
- patch: <https://git.kernel.org/stable/c/459411b9f0180e3f382d7abfa3028dd3285984c3>
- patch: <https://git.kernel.org/stable/c/1bf7305e79aab095196131bdc87a97796e0e3fac>

## 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-2022-50029>

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