CVE-2022-50670
mmc: omap_hsmmc: fix return value check of mmc_add_host()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < f153c9e15f8961bdf38707853e15b42ea7c691d9; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < fb3d596267a98813a7a8206097d8d46c98505a0d; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 62005dfcc396424db3337a1dc3ab49623537f5e5; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a5f8a4583280a76e50329b910e91ef1dea1e6c79; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 4e1dc24bcfc8257f24c0663badec7e4f3ae80558; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a525cad241c339ca00bf7ebf03c5180f2a9b767c
- Anyone running Linux 2.6.29
Vulnerability facts
- Affected
- Linux >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < f153c9e15f8961bdf38707853e15b42ea7c691d9; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < fb3d596267a98813a7a8206097d8d46c98505a0d; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 62005dfcc396424db3337a1dc3ab49623537f5e5; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a5f8a4583280a76e50329b910e91ef1dea1e6c79; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 4e1dc24bcfc8257f24c0663badec7e4f3ae80558; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a525cad241c339ca00bf7ebf03c5180f2a9b767c; Linux 2.6.29
- Fixed in
- Linux 62005dfcc396424db3337a1dc3ab49623537f5e5, Linux 4e1dc24bcfc8257f24c0663badec7e4f3ae80558
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mmc: omap_hsmmc: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, it will lead two issues: 1. The memory that allocated in mmc_alloc_host() is leaked. 2. In the remove() path, mmc_remove_host() will be called to delete device, but it's not added yet, it will lead a kernel crash because of null-ptr-deref in device_del(). Fix this by checking the return value and goto error path wihch will call mmc_free_host().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < f153c9e15f8961bdf38707853e15b42ea7c691d9; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < fb3d596267a98813a7a8206097d8d46c98505a0d; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 62005dfcc396424db3337a1dc3ab49623537f5e5; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a5f8a4583280a76e50329b910e91ef1dea1e6c79; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 4e1dc24bcfc8257f24c0663badec7e4f3ae80558; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a525cad241c339ca00bf7ebf03c5180f2a9b767c | — | cvelist |
| Linux | 2.6.29 | — | 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-50670. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50670.md Affected: Linux >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < f153c9e15f8961bdf38707853e15b42ea7c691d9; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < fb3d596267a98813a7a8206097d8d46c98505a0d; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 62005dfcc396424db3337a1dc3ab49623537f5e5; >= a45c6cb816474cefe56059f… Fixed in: Linux 62005dfcc396424db3337a1dc3ab49623537f5e5, Linux 4e1dc24bcfc8257f24c0663badec7e4f3ae80558 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
Other
- https://git.kernel.org/stable/c/f153c9e15f8961bdf38707853e15b42ea7c691d9
- https://git.kernel.org/stable/c/fb3d596267a98813a7a8206097d8d46c98505a0d
- https://git.kernel.org/stable/c/62005dfcc396424db3337a1dc3ab49623537f5e5
- https://git.kernel.org/stable/c/a5f8a4583280a76e50329b910e91ef1dea1e6c79
- https://git.kernel.org/stable/c/4e1dc24bcfc8257f24c0663badec7e4f3ae80558
- https://git.kernel.org/stable/c/a525cad241c339ca00bf7ebf03c5180f2a9b767c
FAQ
Is CVE-2022-50670 being exploited?
There is no confirmed exploitation: CVE-2022-50670 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50670?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50670?
Linux >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < f153c9e15f8961bdf38707853e15b42ea7c691d9; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < fb3d596267a98813a7a8206097d8d46c98505a0d; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 62005dfcc396424db3337a1dc3ab49623537f5e5; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a5f8a4583280a76e50329b910e91ef1dea1e6c79; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < 4e1dc24bcfc8257f24c0663badec7e4f3ae80558; >= a45c6cb816474cefe56059fce422a9bdcd77e0dc, < a525cad241c339ca00bf7ebf03c5180f2a9b767c; Linux 2.6.29.
Is there a fix for CVE-2022-50670?
Yes. Fixed in Linux 62005dfcc396424db3337a1dc3ab49623537f5e5, Linux 4e1dc24bcfc8257f24c0663badec7e4f3ae80558. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50670?
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.