# ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl

CVE record · `CVE-2021-47634`

- **Identifiers:** `CVE-2021-47634`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 26 Feb 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 26 Feb 2025, 01:54 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: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before f149b1bd213820363731aa119e5011ca892a2aac` (git)
  - affected: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before a8ecee49259f8f78d91ddb329ab2be7e6fd01974` (git)
  - affected: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before d727fd32cbd1abf3465f607021bc9c746f17b5a8` (git)
  - affected: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before 432b057f8e847ae5a2306515606f8d2defaca178` (git)
  - affected: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before 1a3f1cf87054833242fcd0218de0481cf855f888` (git)
  - affected: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before c32fe764191b8ae8b128588beb96e3718d9179d8` (git)
  - affected: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before 5f9e9c223e48c264241d2f34d0bfc29e5fcb5c1b` (git)
  - affected: `714fb87e8bc05ff78255afc0dca981e8c5242785 to before 3cbf0e392f173ba0ce425968c8374a6aa3e90f2e` (git)
  - affected: `016820bde3f0895d09fcad370415085ba0d1bd4a` (git)
  - affected: `12f567db822241090b90c5645ea9146f6cf8fa42` (git)
  - affected: `31b0fca8ab9b9786fe6e5027c4a8587b47db5abf` (git)
  - affected: `6117840dec60344167038f9511c3770d4c096eaa` (git)
  - and 14 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.8`
  - unaffected: `before 4.8` (semver)
  - unaffected: `4.14.276 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.238 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.189 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.110 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.33 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16.19 to 5.16.*, inclusive` (semver)
  - unaffected: `5.17.2 to 5.17.*, inclusive` (semver)
  - unaffected: `5.18 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0029, the 22nd percentile, on 20 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 26 Feb 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f149b1bd213820363731aa119e5011ca892a2aac>
- <https://git.kernel.org/stable/c/a8ecee49259f8f78d91ddb329ab2be7e6fd01974>
- <https://git.kernel.org/stable/c/d727fd32cbd1abf3465f607021bc9c746f17b5a8>
- <https://git.kernel.org/stable/c/432b057f8e847ae5a2306515606f8d2defaca178>
- <https://git.kernel.org/stable/c/1a3f1cf87054833242fcd0218de0481cf855f888>
- <https://git.kernel.org/stable/c/c32fe764191b8ae8b128588beb96e3718d9179d8>
- <https://git.kernel.org/stable/c/5f9e9c223e48c264241d2f34d0bfc29e5fcb5c1b>
- <https://git.kernel.org/stable/c/3cbf0e392f173ba0ce425968c8374a6aa3e90f2e>

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-2021-47634>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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