# mmc: via-sdmmc: fix return value check of mmc_add_host()

CVE record · `CVE-2022-50846`

- **Identifiers:** `CVE-2022-50846`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 Dec 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 Dec 2025, 12:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before 076bcd2c93e16b05c10564e299d6e5d26a766d00` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before 12b8e81b77c05c658efd9cde3585bbd65ae39b59` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before 95025a8dd0ec015872f6c16473fe04d6264e68ca` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before f59ef2a47a228e51322ad76752a55a8917c56e38` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before 63400da6cd37a9793c19bb6aed7131b58b975a04` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before 0959cc1685eb19774300d43ef25e318b457b156b` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before 0ec94795114edc7e24ec71849dce42bfa61dafa3` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before ba91b413983a9235792523c6b9f7ba2586c4d75d` (git)
  - affected: `f0bf7f61b8405224bc52fc9a3ccd167a68126e00 to before e4e46fb61e3bb4628170810d3f2b996b709b90d9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.31`
  - unaffected: `before 2.6.31` (semver)
  - unaffected: `4.9.337 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.86 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 21st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 30 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-50846](https://www.cve.org/CVERecord?id=CVE-2022-50846)
- [NVD: CVE-2022-50846](https://nvd.nist.gov/vuln/detail/CVE-2022-50846)

### References from the CNA

- <https://git.kernel.org/stable/c/076bcd2c93e16b05c10564e299d6e5d26a766d00>
- <https://git.kernel.org/stable/c/12b8e81b77c05c658efd9cde3585bbd65ae39b59>
- <https://git.kernel.org/stable/c/95025a8dd0ec015872f6c16473fe04d6264e68ca>
- <https://git.kernel.org/stable/c/f59ef2a47a228e51322ad76752a55a8917c56e38>
- <https://git.kernel.org/stable/c/63400da6cd37a9793c19bb6aed7131b58b975a04>
- <https://git.kernel.org/stable/c/0959cc1685eb19774300d43ef25e318b457b156b>
- <https://git.kernel.org/stable/c/0ec94795114edc7e24ec71849dce42bfa61dafa3>
- <https://git.kernel.org/stable/c/ba91b413983a9235792523c6b9f7ba2586c4d75d>
- <https://git.kernel.org/stable/c/e4e46fb61e3bb4628170810d3f2b996b709b90d9>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50846>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50846/>. Everything for agents: <https://agentprime.io/llms.txt>.
