# jffs2: fix memory leak in jffs2_do_mount_fs

CVE record · `CVE-2022-49277`

- **Identifiers:** `CVE-2022-49277`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-401](https://cwe.mitre.org/data/definitions/401.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 26 Feb 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 26 Feb 2025, 01: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: `e631ddba588783edd521c5a89f7b2902772fb691 to before 2a9d8184458562e6bf2f40d0e677fc85e2dd3834` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 9a0f6610c7daedd2eace430beeb08a8b7ac80699` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before dbe0d0521eaa6a3d235517319266c539bb5c5112` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 0978e9af4559a171ac7a74a1b3ef21804b0a0fa9` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 607d3aab7349f18e0d9dba4100d09d16fe27caca` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 4392e8aeebc5a4f8073620bccba7de1b1f6d7c88` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 5f34310d1376ca5b2ed798258def2c2ab3cc6699` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before c94128470e6fe53d9bd9d16d2d3271813f9d37af` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before d051cef784de4d54835f6b6836d98a8f6935772c` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.15`
  - unaffected: `before 2.6.15` (semver)
  - unaffected: `4.9.311 to 4.9.*, inclusive` (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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 20th percentile, on 17 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-2022-49277](https://www.cve.org/CVERecord?id=CVE-2022-49277)
- [NVD: CVE-2022-49277](https://nvd.nist.gov/vuln/detail/CVE-2022-49277)

### References from the CNA

- <https://git.kernel.org/stable/c/2a9d8184458562e6bf2f40d0e677fc85e2dd3834>
- <https://git.kernel.org/stable/c/9a0f6610c7daedd2eace430beeb08a8b7ac80699>
- <https://git.kernel.org/stable/c/dbe0d0521eaa6a3d235517319266c539bb5c5112>
- <https://git.kernel.org/stable/c/0978e9af4559a171ac7a74a1b3ef21804b0a0fa9>
- <https://git.kernel.org/stable/c/607d3aab7349f18e0d9dba4100d09d16fe27caca>
- <https://git.kernel.org/stable/c/4392e8aeebc5a4f8073620bccba7de1b1f6d7c88>
- <https://git.kernel.org/stable/c/5f34310d1376ca5b2ed798258def2c2ab3cc6699>
- <https://git.kernel.org/stable/c/c94128470e6fe53d9bd9d16d2d3271813f9d37af>
- <https://git.kernel.org/stable/c/d051cef784de4d54835f6b6836d98a8f6935772c>

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

---

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