# CVE-2021-47647: clk: qcom: ipq8074: fix PCI-E clock oops

> 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 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T01:54:15.635Z
- **Modified:** 2026-06-17T04:18:14.353Z

## Who should check

- Anyone running Linux \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 8b89c9e68a01a19a1dd689a42aa65d545e931899; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 41e360fa73a4c2f5b78f5ded78a5375b08c206a5; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< d02b3d4a8c525068bc5cfb4341e0023d8eb82ace; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 5a5576ad405c3c89fc9afb245c4dcc3e412b0aa9; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< bf8f5182b8f59309809b41c1d1730ed9ca6134b1
- Anyone running Linux 5.9

## Description

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

clk: qcom: ipq8074: fix PCI-E clock oops

Fix PCI-E clock related kernel oops that are caused by a missing clock
parent.

pcie0\_rchng\_clk\_src has num\_parents set to 2 but only one parent is
actually set via parent\_hws, it should also have "XO" defined.
This will cause the kernel to panic on a NULL pointer in
clk\_core\_get\_parent\_by\_index().

So, to fix this utilize clk\_parent\_data to provide gcc\_xo\_gpll0 parent
data.
Since there is already an existing static const char \* const gcc\_xo\_gpll0\[\]
used to provide the same parents via parent\_names convert those users to
clk\_parent\_data as well.

Without this earlycon is needed to even catch the OOPS as it will reset
the board before serial is initialized with the following:

\[    0.232279\] Unable to handle kernel paging request at virtual address 0000a00000000000
\[    0.232322\] Mem abort info:
\[    0.239094\]   ESR = 0x96000004
\[    0.241778\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[    0.244908\]   SET = 0, FnV = 0
\[    0.250377\]   EA = 0, S1PTW = 0
\[    0.253236\]   FSC = 0x04: level 0 translation fault
\[    0.256277\] Data abort info:
\[    0.261141\]   ISV = 0, ISS = 0x00000004
\[    0.264262\]   CM = 0, WnR = 0
\[    0.267820\] \[0000a00000000000\] address between user and kernel address ranges
\[    0.270954\] Internal error: Oops: 96000004 \[\#1\] SMP
\[    0.278067\] Modules linked in:
\[    0.282751\] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.15.10 \#0
\[    0.285882\] Hardware name: Xiaomi AX3600 (DT)
\[    0.292043\] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[    0.296299\] pc : clk\_core\_get\_parent\_by\_index+0x68/0xec
\[    0.303067\] lr : \_\_clk\_register+0x1d8/0x820
\[    0.308273\] sp : ffffffc01111b7d0
\[    0.312438\] x29: ffffffc01111b7d0 x28: 0000000000000000 x27: 0000000000000040
\[    0.315919\] x26: 0000000000000002 x25: 0000000000000000 x24: ffffff8000308800
\[    0.323037\] x23: ffffff8000308850 x22: ffffff8000308880 x21: ffffff8000308828
\[    0.330155\] x20: 0000000000000028 x19: ffffff8000309700 x18: 0000000000000020
\[    0.337272\] x17: 000000005cc86990 x16: 0000000000000004 x15: ffffff80001d9d0a
\[    0.344391\] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000006
\[    0.351508\] x11: 0000000000000003 x10: 0101010101010101 x9 : 0000000000000000
\[    0.358626\] x8 : 7f7f7f7f7f7f7f7f x7 : 6468626f5e626266 x6 : 17000a3a403c1b06
\[    0.365744\] x5 : 061b3c403a0a0017 x4 : 0000000000000000 x3 : 0000000000000001
\[    0.372863\] x2 : 0000a00000000000 x1 : 0000000000000001 x0 : ffffff8000309700
\[    0.379982\] Call trace:
\[    0.387091\]  clk\_core\_get\_parent\_by\_index+0x68/0xec
\[    0.389351\]  \_\_clk\_register+0x1d8/0x820
\[    0.394210\]  devm\_clk\_hw\_register+0x5c/0xe0
\[    0.398030\]  devm\_clk\_register\_regmap+0x44/0x8c
\[    0.402198\]  qcom\_cc\_really\_probe+0x17c/0x1d0
\[    0.406711\]  qcom\_cc\_probe+0x34/0x44
\[    0.411224\]  gcc\_ipq8074\_probe+0x18/0x30
\[    0.414869\]  platform\_probe+0x68/0xe0
\[    0.418776\]  really\_probe.part.0+0x9c/0x30c
\[    0.422336\]  \_\_driver\_probe\_device+0x98/0x144
\[    0.426329\]  driver\_probe\_device+0x44/0x11c
\[    0.430842\]  \_\_device\_attach\_driver+0xb4/0x120
\[    0.434836\]  bus\_for\_each\_drv+0x68/0xb0
\[    0.439349\]  \_\_device\_attach+0xb0/0x170
\[    0.443081\]  device\_initial\_probe+0x14/0x20
\[    0.446901\]  bus\_probe\_device+0x9c/0xa4
\[    0.451067\]  device\_add+0x35c/0x834
\[    0.454886\]  of\_device\_add+0x54/0x64
\[    0.458360\]  of\_platform\_device\_create\_pdata+0xc0/0x100
\[    0.462181\]  of\_platform\_bus\_create+0x114/0x370
\[    0.467128\]  of\_platform\_bus\_create+0x15c/0x370
\[    0.471641\]  of\_platform\_populate+0x50/0xcc
\[    0.476155\]  of\_platform\_default\_populate\_init+0xa8/0xc8
\[    0.480324\]  do\_one\_initcall+0x50/0x1b0
\[    0.485877\]  kernel\_init\_freeable+0x234/0x29c
\[    0.489436\]  kernel\_init+0x24/0x120
\[    0.493948\]  ret\_from\_fork+0x10/0x20
\[    0.497253\] Code: d50323bf d65f03c0 f94002a2 b4000302 (f9400042)
\[    0.501079\] ---\[ end trace 4ca7e1129da2abce \]---

## Affected and fixed versions

- Linux: \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 8b89c9e68a01a19a1dd689a42aa65d545e931899; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 41e360fa73a4c2f5b78f5ded78a5375b08c206a5; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< d02b3d4a8c525068bc5cfb4341e0023d8eb82ace; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 5a5576ad405c3c89fc9afb245c4dcc3e412b0aa9; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< bf8f5182b8f59309809b41c1d1730ed9ca6134b1 (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47647.md
Affected: Linux >= f0cfcf1ade201dcfd3365f231efc90e846fa46df, < 8b89c9e68a01a19a1dd689a42aa65d545e931899; >= f0cfcf1ade201dcfd3365f231efc90e846fa46df, < 41e360fa73a4c2f5b78f5ded78a5375b08c206a5; >= f0cfcf1ade201dcfd3365f231efc90e846fa46df, < d02b3d4a8c525068bc5cfb4341e0023d8eb82ace; >= f0cfcf1ade201dcfd3365f2…
Fixed in: Linux 8b89c9e68a01a19a1dd689a42aa65d545e931899, Linux 41e360fa73a4c2f5b78f5ded78a5375b08c206a5, Linux 5a5576ad405c3c89fc9afb245c4dcc3e412b0aa9

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-2021-47647 being exploited?

There is no confirmed exploitation: CVE-2021-47647 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-2021-47647?

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

### Which versions are affected by CVE-2021-47647?

Linux \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 8b89c9e68a01a19a1dd689a42aa65d545e931899; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 41e360fa73a4c2f5b78f5ded78a5375b08c206a5; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< d02b3d4a8c525068bc5cfb4341e0023d8eb82ace; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< 5a5576ad405c3c89fc9afb245c4dcc3e412b0aa9; \>= f0cfcf1ade201dcfd3365f231efc90e846fa46df, \< bf8f5182b8f59309809b41c1d1730ed9ca6134b1; Linux 5.9.

### Is there a fix for CVE-2021-47647?

Yes. Fixed in Linux 8b89c9e68a01a19a1dd689a42aa65d545e931899, Linux 41e360fa73a4c2f5b78f5ded78a5375b08c206a5, Linux 5a5576ad405c3c89fc9afb245c4dcc3e412b0aa9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-47647?

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/8b89c9e68a01a19a1dd689a42aa65d545e931899>
- patch: <https://git.kernel.org/stable/c/41e360fa73a4c2f5b78f5ded78a5375b08c206a5>
- patch: <https://git.kernel.org/stable/c/d02b3d4a8c525068bc5cfb4341e0023d8eb82ace>
- patch: <https://git.kernel.org/stable/c/5a5576ad405c3c89fc9afb245c4dcc3e412b0aa9>
- patch: <https://git.kernel.org/stable/c/bf8f5182b8f59309809b41c1d1730ed9ca6134b1>

## 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-2021-47647>

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