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-50653

UNSCOREDEPSS 14%

mmc: atmel-mci: fix return value check of mmc_add_host()

Mitigation

  • Upgrade Linux to 9e6e8c43726673ca2abcaac87640b9215fd72f4c or later.

Who should check

  • Anyone running Linux >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 6bb26abb92f25e582a0976091a10b539fe3796db; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 00ac0f5f95920f003cd6ece53cdc759549b69118; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 1925472dec31ec061d57412b3a65a056ea24f340; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < cc8bb436f3c842a86b9082d97933582120d180e2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 85946ceb0fac20ab39cdb85333086daf0291a553; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 9e6e8c43726673ca2abcaac87640b9215fd72f4c
  • Anyone running Linux 2.6.27

Vulnerability facts

Affected
Linux >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 6bb26abb92f25e582a0976091a10b539fe3796db; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 00ac0f5f95920f003cd6ece53cdc759549b69118; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 1925472dec31ec061d57412b3a65a056ea24f340; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < cc8bb436f3c842a86b9082d97933582120d180e2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 85946ceb0fac20ab39cdb85333086daf0291a553; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 9e6e8c43726673ca2abcaac87640b9215fd72f4c; Linux 2.6.27
Fixed in
Linux 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2, Linux 6bb26abb92f25e582a0976091a10b539fe3796db, Linux 00ac0f5f95920f003cd6ece53cdc759549b69118, Linux 1925472dec31ec061d57412b3a65a056ea24f340, Linux 85946ceb0fac20ab39cdb85333086daf0291a553, Linux 9e6e8c43726673ca2abcaac87640b9215fd72f4c
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)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-mci: 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(). So fix this by checking the return value and calling mmc_free_host() in the error path.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 6bb26abb92f25e582a0976091a10b539fe3796db; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 00ac0f5f95920f003cd6ece53cdc759549b69118; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 1925472dec31ec061d57412b3a65a056ea24f340; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < cc8bb436f3c842a86b9082d97933582120d180e2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 85946ceb0fac20ab39cdb85333086daf0291a553; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 9e6e8c43726673ca2abcaac87640b9215fd72f4c—cvelist
Linux2.6.27—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-50653. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50653.md
Affected: Linux >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 6bb26abb92f25e582a0976091a10b539fe3796db; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 00ac0f5f95920f003cd6ece53cdc759549b69118; >= 7d2be0749a59096a334c94d…
Fixed in: Linux 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2, Linux 6bb26abb92f25e582a0976091a10b539fe3796db, Linux 00ac0f5f95920f003cd6ece53cdc759549b69118, Linux 1925472dec31ec061d57412b3a65a056ea24f340, Linux 85946ceb0fac20ab39cdb85333086daf0291a553, Linux 9e6e8c43726673ca2abcaac87640b9215fd72f4c

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

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

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50653?

Linux >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 6bb26abb92f25e582a0976091a10b539fe3796db; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 00ac0f5f95920f003cd6ece53cdc759549b69118; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 1925472dec31ec061d57412b3a65a056ea24f340; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < cc8bb436f3c842a86b9082d97933582120d180e2; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 85946ceb0fac20ab39cdb85333086daf0291a553; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 9e6e8c43726673ca2abcaac87640b9215fd72f4c; Linux 2.6.27.

Is there a fix for CVE-2022-50653?

Yes. Fixed in Linux 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2, Linux 6bb26abb92f25e582a0976091a10b539fe3796db, Linux 00ac0f5f95920f003cd6ece53cdc759549b69118, Linux 1925472dec31ec061d57412b3a65a056ea24f340, Linux 85946ceb0fac20ab39cdb85333086daf0291a553, Linux 9e6e8c43726673ca2abcaac87640b9215fd72f4c. Upgrade Linux to 9e6e8c43726673ca2abcaac87640b9215fd72f4c or later.

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

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