Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-50267

medium

In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_pci: fix return value check of mmc_add_host() mmc_add_host() may return error,…

Vendor / product: Linux — linux kernel

In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_pci: 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, beside, runtime PM also needs be disabled.

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-09-15 15:15
Modified: 2026-11-05 20:17
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 20:22 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥3.8 <5.15.86, ≥5.16 <6.0.16, ≥6.1 <6.1.2

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/0c87db77423a282b3b38b8a6daf057b822680516
Patch / mitigation: https://git.kernel.org/stable/c/30dc645461dfc63e52b3af8ee4a98e17bf14bacf
Patch / mitigation: https://git.kernel.org/stable/c/5cd4e04eccaec140da6fa04db056a76282ee6852
Patch / mitigation: https://git.kernel.org/stable/c/ffa9b2a79e3e959683efbad3f6db937eca9d38f5

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 20:22 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs