CVE-2022-50061
pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
Mitigation
- Upgrade Linux to 4b32e054335ea0ce50967f63a7bfd4db058b14b9 or later.
Who should check
- Anyone running Linux >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c35f89a9021fa947ecede0584ae509368a52ec5a; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < f498542bc703bf1e5c6a1610e1ea493a437f0196; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 78d05103891d3e96144b846fbc39f2cfb3384eae; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 9272265f2f76629e1a67e6d49b3a4461b3da1a73; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 587ac8ac00a1a9f4572785229d9441870fd7b187; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 4b32e054335ea0ce50967f63a7bfd4db058b14b9
- Anyone running Linux 3.18
Vulnerability facts
- Affected
- Linux >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c35f89a9021fa947ecede0584ae509368a52ec5a; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < f498542bc703bf1e5c6a1610e1ea493a437f0196; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 78d05103891d3e96144b846fbc39f2cfb3384eae; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 9272265f2f76629e1a67e6d49b3a4461b3da1a73; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 587ac8ac00a1a9f4572785229d9441870fd7b187; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 4b32e054335ea0ce50967f63a7bfd4db058b14b9; Linux 3.18
- Fixed in
- Linux 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b, Linux 78d05103891d3e96144b846fbc39f2cfb3384eae, Linux 9272265f2f76629e1a67e6d49b3a4461b3da1a73, Linux 587ac8ac00a1a9f4572785229d9441870fd7b187, Linux 4b32e054335ea0ce50967f63a7bfd4db058b14b9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak."
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c35f89a9021fa947ecede0584ae509368a52ec5a; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < f498542bc703bf1e5c6a1610e1ea493a437f0196; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 78d05103891d3e96144b846fbc39f2cfb3384eae; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 9272265f2f76629e1a67e6d49b3a4461b3da1a73; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 587ac8ac00a1a9f4572785229d9441870fd7b187; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 4b32e054335ea0ce50967f63a7bfd4db058b14b9 | — | cvelist |
| Linux | 3.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50061. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50061.md Affected: Linux >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c35f89a9021fa947ecede0584ae509368a52ec5a; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < f498542bc703bf1e5c6a1610e1ea493a437f0196; >= c2f6d059abfc29822af732e… Fixed in: Linux 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b, Linux 78d05103891d3e96144b846fbc39f2cfb3384eae, Linux 9272265f2f76629e1a67e6d49b3a4461b3da1a73, Linux 587ac8ac00a1a9f4572785229d9441870fd7b187, Linux 4b32e054335ea0ce50967f63a7bfd4db058b14b9 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.
References
Patches
- https://git.kernel.org/stable/c/81abaab5a4b815c0ed9f4d2c9745777ac5cc395b
- https://git.kernel.org/stable/c/c35f89a9021fa947ecede0584ae509368a52ec5a
- https://git.kernel.org/stable/c/f498542bc703bf1e5c6a1610e1ea493a437f0196
- https://git.kernel.org/stable/c/c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb
- https://git.kernel.org/stable/c/78d05103891d3e96144b846fbc39f2cfb3384eae
- https://git.kernel.org/stable/c/9272265f2f76629e1a67e6d49b3a4461b3da1a73
- https://git.kernel.org/stable/c/587ac8ac00a1a9f4572785229d9441870fd7b187
- https://git.kernel.org/stable/c/4b32e054335ea0ce50967f63a7bfd4db058b14b9
FAQ
Is CVE-2022-50061 being exploited?
There is no confirmed exploitation: CVE-2022-50061 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-50061?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50061?
Linux >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c35f89a9021fa947ecede0584ae509368a52ec5a; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < f498542bc703bf1e5c6a1610e1ea493a437f0196; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 78d05103891d3e96144b846fbc39f2cfb3384eae; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 9272265f2f76629e1a67e6d49b3a4461b3da1a73; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 587ac8ac00a1a9f4572785229d9441870fd7b187; >= c2f6d059abfc29822af732e4da70813a5b6fd9cd, < 4b32e054335ea0ce50967f63a7bfd4db058b14b9; Linux 3.18.
Is there a fix for CVE-2022-50061?
Yes. Fixed in Linux 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b, Linux 78d05103891d3e96144b846fbc39f2cfb3384eae, Linux 9272265f2f76629e1a67e6d49b3a4461b3da1a73, Linux 587ac8ac00a1a9f4572785229d9441870fd7b187, Linux 4b32e054335ea0ce50967f63a7bfd4db058b14b9. Upgrade Linux to 4b32e054335ea0ce50967f63a7bfd4db058b14b9 or later.
How do I check if I'm affected by CVE-2022-50061?
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.