Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50347

MEDIUM 5.5EPSS 9%

mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < d7ad7278be401b09c9f9a9f522cf4c449c7fd489; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < e598c9683fe1cf97c2b11b800cc3cee072108220; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 89303ddbb502c3bc8edbf864f9f85500c8fe07e9; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 937112e991ed25d1727d878734adcbef3b900274; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 7fa922c7a3dd623fd59f1af50e8896fd9ca7f654; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < df683201c7ffbd21a806a7cad657b661c5ebfb6f; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 1491667d5450778a265eddddd294219acfd648cb; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < a522e26a20a43dcfbef9ee9f71ed803290e852b0; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < fc38a5a10e9e5a75eb9189854abeb8405b214cc9
  • Anyone running Linux 3.16

Vulnerability facts

Affected
Linux >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < d7ad7278be401b09c9f9a9f522cf4c449c7fd489; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < e598c9683fe1cf97c2b11b800cc3cee072108220; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 89303ddbb502c3bc8edbf864f9f85500c8fe07e9; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 937112e991ed25d1727d878734adcbef3b900274; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 7fa922c7a3dd623fd59f1af50e8896fd9ca7f654; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < df683201c7ffbd21a806a7cad657b661c5ebfb6f; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 1491667d5450778a265eddddd294219acfd648cb; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < a522e26a20a43dcfbef9ee9f71ed803290e852b0; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < fc38a5a10e9e5a75eb9189854abeb8405b214cc9; Linux 3.16
Fixed in
Linux 89303ddbb502c3bc8edbf864f9f85500c8fe07e9, Linux 937112e991ed25d1727d878734adcbef3b900274, Linux 7fa922c7a3dd623fd59f1af50e8896fd9ca7f654, Linux 1491667d5450778a265eddddd294219acfd648cb
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, CNA)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.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory that allocated in mmc_alloc_host() will be leaked and it will lead a kernel crash because of deleting not added device in the remove path. So fix this by checking the return value and calling mmc_free_host() in the error path, besides, led_classdev_unregister() and pm_runtime_disable() also need be called.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c7f6558d84afe60016b8103c0737df6e376a1c2d, < d7ad7278be401b09c9f9a9f522cf4c449c7fd489; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < e598c9683fe1cf97c2b11b800cc3cee072108220; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 89303ddbb502c3bc8edbf864f9f85500c8fe07e9; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 937112e991ed25d1727d878734adcbef3b900274; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 7fa922c7a3dd623fd59f1af50e8896fd9ca7f654; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < df683201c7ffbd21a806a7cad657b661c5ebfb6f; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 1491667d5450778a265eddddd294219acfd648cb; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < a522e26a20a43dcfbef9ee9f71ed803290e852b0; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < fc38a5a10e9e5a75eb9189854abeb8405b214cc9—cvelist
Linux3.16—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-50347. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50347.md
Affected: Linux >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < d7ad7278be401b09c9f9a9f522cf4c449c7fd489; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < e598c9683fe1cf97c2b11b800cc3cee072108220; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 89303ddbb502c3bc8edbf864f9f85500c8fe07e9; >= c7f6558d84afe60016b8103…
Fixed in: Linux 89303ddbb502c3bc8edbf864f9f85500c8fe07e9, Linux 937112e991ed25d1727d878734adcbef3b900274, Linux 7fa922c7a3dd623fd59f1af50e8896fd9ca7f654, Linux 1491667d5450778a265eddddd294219acfd648cb

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

FAQ

Is CVE-2022-50347 being exploited?

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

How serious is CVE-2022-50347?

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

Which versions are affected by CVE-2022-50347?

Linux >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < d7ad7278be401b09c9f9a9f522cf4c449c7fd489; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < e598c9683fe1cf97c2b11b800cc3cee072108220; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 89303ddbb502c3bc8edbf864f9f85500c8fe07e9; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 937112e991ed25d1727d878734adcbef3b900274; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 7fa922c7a3dd623fd59f1af50e8896fd9ca7f654; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < df683201c7ffbd21a806a7cad657b661c5ebfb6f; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < 1491667d5450778a265eddddd294219acfd648cb; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < a522e26a20a43dcfbef9ee9f71ed803290e852b0; >= c7f6558d84afe60016b8103c0737df6e376a1c2d, < fc38a5a10e9e5a75eb9189854abeb8405b214cc9; Linux 3.16.

Is there a fix for CVE-2022-50347?

Yes. Fixed in Linux 89303ddbb502c3bc8edbf864f9f85500c8fe07e9, Linux 937112e991ed25d1727d878734adcbef3b900274, Linux 7fa922c7a3dd623fd59f1af50e8896fd9ca7f654, Linux 1491667d5450778a265eddddd294219acfd648cb. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors