# CVE-2022-50017: mips: cavium-octeon: Fix missing of\_node\_put() in octeon2\_usb\_clocks\_start

> 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:21.357Z
- **Modified:** 2026-06-17T05:22:34.160Z

## Who should check

- Anyone running Linux \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 9d1afa0169a84dcd5b79901d792edeb8403684ab; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< af87a469695dc2b2419b2fdff0bf41db5265b325; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< c06166a484eece51916dd700a870e53356b7e1bc; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 1b49707df679b5510ed06ace7378ddc2aec5c3fb; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 1e39037e44d7fa3728686af146f9285ea197097d; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 7822d994eb9579a1df4cdbc315db090a041e50f3; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< a80016c40cc797c7f3e5a705b8e12ae447280335; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 7a9f743ceead60ed454c46fbc3085ee9a79cbebb
- Anyone running Linux 4.0

## Description

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

mips: cavium-octeon: Fix missing of\_node\_put() in octeon2\_usb\_clocks\_start

We should call of\_node\_put() for the reference 'uctl\_node' returned by
of\_get\_parent() which will increase the refcount. Otherwise, there will
be a refcount leak bug.

## Affected and fixed versions

- Linux: \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 9d1afa0169a84dcd5b79901d792edeb8403684ab; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< af87a469695dc2b2419b2fdff0bf41db5265b325; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< c06166a484eece51916dd700a870e53356b7e1bc; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 1b49707df679b5510ed06ace7378ddc2aec5c3fb; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 1e39037e44d7fa3728686af146f9285ea197097d; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 7822d994eb9579a1df4cdbc315db090a041e50f3; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< a80016c40cc797c7f3e5a705b8e12ae447280335; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 7a9f743ceead60ed454c46fbc3085ee9a79cbebb (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 7a9f743ceead60ed454c46fbc3085ee9a79cbebb 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-50017. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50017.md
Affected: Linux >= a95cfa6b86a19a822877e75d5a73b2a95d249e70, < 9d1afa0169a84dcd5b79901d792edeb8403684ab; >= a95cfa6b86a19a822877e75d5a73b2a95d249e70, < af87a469695dc2b2419b2fdff0bf41db5265b325; >= a95cfa6b86a19a822877e75d5a73b2a95d249e70, < c06166a484eece51916dd700a870e53356b7e1bc; >= a95cfa6b86a19a822877e75…
Fixed in: Linux 9d1afa0169a84dcd5b79901d792edeb8403684ab, Linux 1b49707df679b5510ed06ace7378ddc2aec5c3fb, Linux 1e39037e44d7fa3728686af146f9285ea197097d, Linux 7822d994eb9579a1df4cdbc315db090a041e50f3, Linux 7a9f743ceead60ed454c46fbc3085ee9a79cbebb

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-50017 being exploited?

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

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

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

Linux \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 9d1afa0169a84dcd5b79901d792edeb8403684ab; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< af87a469695dc2b2419b2fdff0bf41db5265b325; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< c06166a484eece51916dd700a870e53356b7e1bc; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 1b49707df679b5510ed06ace7378ddc2aec5c3fb; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 1e39037e44d7fa3728686af146f9285ea197097d; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 7822d994eb9579a1df4cdbc315db090a041e50f3; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< a80016c40cc797c7f3e5a705b8e12ae447280335; \>= a95cfa6b86a19a822877e75d5a73b2a95d249e70, \< 7a9f743ceead60ed454c46fbc3085ee9a79cbebb; Linux 4.0.

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

Yes. Fixed in Linux 9d1afa0169a84dcd5b79901d792edeb8403684ab, Linux 1b49707df679b5510ed06ace7378ddc2aec5c3fb, Linux 1e39037e44d7fa3728686af146f9285ea197097d, Linux 7822d994eb9579a1df4cdbc315db090a041e50f3, Linux 7a9f743ceead60ed454c46fbc3085ee9a79cbebb. Upgrade Linux to 7a9f743ceead60ed454c46fbc3085ee9a79cbebb or later.

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

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/9d1afa0169a84dcd5b79901d792edeb8403684ab>
- patch: <https://git.kernel.org/stable/c/af87a469695dc2b2419b2fdff0bf41db5265b325>
- patch: <https://git.kernel.org/stable/c/c06166a484eece51916dd700a870e53356b7e1bc>
- patch: <https://git.kernel.org/stable/c/1b49707df679b5510ed06ace7378ddc2aec5c3fb>
- patch: <https://git.kernel.org/stable/c/1e39037e44d7fa3728686af146f9285ea197097d>
- patch: <https://git.kernel.org/stable/c/7822d994eb9579a1df4cdbc315db090a041e50f3>
- patch: <https://git.kernel.org/stable/c/a80016c40cc797c7f3e5a705b8e12ae447280335>
- patch: <https://git.kernel.org/stable/c/7a9f743ceead60ed454c46fbc3085ee9a79cbebb>

## 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-50017>

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