# btrfs: fix memory ordering between normal and ordered work functions

CVE record · `CVE-2021-47189`

- **Identifiers:** `CVE-2021-47189`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 10 Apr 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 10 Apr 2024, 18:56 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: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before bd660a20fea3ec60a49709ef5360f145ec0fe779` (git)
  - affected: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before 637d652d351fd4f263ef302dc52f3971d314e500` (git)
  - affected: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before 804a9d239ae9cbe88e861a7cd62319cc6ec7b136` (git)
  - affected: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before ed058d735a70f4b063323f1a7bb33cda0f987513` (git)
  - affected: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before 670f6b3867c8f0f11e5097f353b164cecfec6179` (git)
  - affected: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before 6adbc07ebcaf8bead08b21687d49e0fc94400987` (git)
  - affected: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before 47e6f9f69153247109042010f3a77579e9dc61ff` (git)
  - affected: `08a9ff3264181986d1d692a4e6fce3669700c9f8 to before 45da9c1767ac31857df572f0a909fbe88fd5a7e9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.15`
  - unaffected: `before 3.15` (semver)
  - unaffected: `4.4.293 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.291 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.256 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.218 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.162 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.82 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.5 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16 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 CNA (Linux) (used for this record)
- 6.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0067, the 52nd percentile, on 21 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 10 Apr 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/bd660a20fea3ec60a49709ef5360f145ec0fe779>
- <https://git.kernel.org/stable/c/637d652d351fd4f263ef302dc52f3971d314e500>
- <https://git.kernel.org/stable/c/804a9d239ae9cbe88e861a7cd62319cc6ec7b136>
- <https://git.kernel.org/stable/c/ed058d735a70f4b063323f1a7bb33cda0f987513>
- <https://git.kernel.org/stable/c/670f6b3867c8f0f11e5097f353b164cecfec6179>
- <https://git.kernel.org/stable/c/6adbc07ebcaf8bead08b21687d49e0fc94400987>
- <https://git.kernel.org/stable/c/47e6f9f69153247109042010f3a77579e9dc61ff>
- <https://git.kernel.org/stable/c/45da9c1767ac31857df572f0a909fbe88fd5a7e9>

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

---

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