# jffs2: fix memory leak in jffs2_scan_medium

CVE record · `CVE-2022-49276`

- **Identifiers:** `CVE-2022-49276`
- **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 9b0c69182f09b70779817af4dcf89780955d5c4c` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before b36bccb04e14cc0c1e2d0e92d477fe220314fad6` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before e711913463af916d777a4873068f415f1fe2ad33` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 455f4a23490bfcbedc8e5c245c463a59b19e5ddd` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 51dbb5e36d59f62e34d462b801c1068248149cfe` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 52ba0ab4f0a606f02a6163493378989faa1ec10a` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before b26bbc0c122cad038831f226a4cb4de702225e16` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 82462324bf35b6b553400af1c1aa265069cee28f` (git)
  - affected: `e631ddba588783edd521c5a89f7b2902772fb691 to before 9cdd3128874f5fe759e2c4e1360ab7fb96a8d1df` (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.0027, the 19th 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-49276](https://www.cve.org/CVERecord?id=CVE-2022-49276)
- [NVD: CVE-2022-49276](https://nvd.nist.gov/vuln/detail/CVE-2022-49276)

### References from the CNA

- <https://git.kernel.org/stable/c/9b0c69182f09b70779817af4dcf89780955d5c4c>
- <https://git.kernel.org/stable/c/b36bccb04e14cc0c1e2d0e92d477fe220314fad6>
- <https://git.kernel.org/stable/c/e711913463af916d777a4873068f415f1fe2ad33>
- <https://git.kernel.org/stable/c/455f4a23490bfcbedc8e5c245c463a59b19e5ddd>
- <https://git.kernel.org/stable/c/51dbb5e36d59f62e34d462b801c1068248149cfe>
- <https://git.kernel.org/stable/c/52ba0ab4f0a606f02a6163493378989faa1ec10a>
- <https://git.kernel.org/stable/c/b26bbc0c122cad038831f226a4cb4de702225e16>
- <https://git.kernel.org/stable/c/82462324bf35b6b553400af1c1aa265069cee28f>
- <https://git.kernel.org/stable/c/9cdd3128874f5fe759e2c4e1360ab7fb96a8d1df>

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

---

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