# ocfs2: mount fails with buffer overflow in strlen

CVE record · `CVE-2021-47458`

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

Published by the CVE Program (CNA: Linux) at 22 May 2024, 06:19 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: `c74a3bdd9b529d924d1abf986079b783dd105ace to before ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb` (git)
  - affected: `c74a3bdd9b529d924d1abf986079b783dd105ace to before 4b74ddcc22ee6455946e80a9c4808801f8f8561e` (git)
  - affected: `c74a3bdd9b529d924d1abf986079b783dd105ace to before 232ed9752510de4436468b653d145565669c8498` (git)
  - affected: `c74a3bdd9b529d924d1abf986079b783dd105ace to before 7623b1035ca2d17bde0f6a086ad6844a34648df1` (git)
  - affected: `c74a3bdd9b529d924d1abf986079b783dd105ace to before d3a83576378b4c904f711598dde2c5e881c4295c` (git)
  - affected: `c74a3bdd9b529d924d1abf986079b783dd105ace to before 93be0eeea14cf39235e585c8f56df3b3859deaad` (git)
  - affected: `c74a3bdd9b529d924d1abf986079b783dd105ace to before 0e677ea5b7396f715a76b6b0ef441430e4c4b57f` (git)
  - affected: `c74a3bdd9b529d924d1abf986079b783dd105ace to before b15fa9224e6e1239414525d8d556d824701849fc` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.14`
  - unaffected: `before 3.14` (semver)
  - unaffected: `4.4.290 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.288 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.253 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.214 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.156 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.76 to 5.10.*, inclusive` (semver)
  - unaffected: `5.14.15 to 5.14.*, inclusive` (semver)
  - unaffected: `5.15 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.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0025, the 16th 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 22 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb>
- <https://git.kernel.org/stable/c/4b74ddcc22ee6455946e80a9c4808801f8f8561e>
- <https://git.kernel.org/stable/c/232ed9752510de4436468b653d145565669c8498>
- <https://git.kernel.org/stable/c/7623b1035ca2d17bde0f6a086ad6844a34648df1>
- <https://git.kernel.org/stable/c/d3a83576378b4c904f711598dde2c5e881c4295c>
- <https://git.kernel.org/stable/c/93be0eeea14cf39235e585c8f56df3b3859deaad>
- <https://git.kernel.org/stable/c/0e677ea5b7396f715a76b6b0ef441430e4c4b57f>
- <https://git.kernel.org/stable/c/b15fa9224e6e1239414525d8d556d824701849fc>

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

---

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