# f2fs: quota: fix loop condition at f2fs_quota_sync()

CVE record · `CVE-2022-49282`

- **Identifiers:** `CVE-2022-49282`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.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: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: `a02982545e61020c23f411b073ba5171381138e4 to before f1d5946d47c0827bae39e1537959ce8d6f0224c5` (git)
  - affected: `2d586a3f5b7ec2f5a939db4abc9aa053c237545c to before e58ee6bd939b773675240f5d0f5b88a367c037c4` (git)
  - affected: `9de71ede81e6d1a111fdd868b2d78d459fa77f80 to before f9156db0987f1b426015d56505e2c58dee70c90d` (git)
  - affected: `9de71ede81e6d1a111fdd868b2d78d459fa77f80 to before e9ebf1e8fc50b6a9336f9aea1082d7845e568d0e` (git)
  - affected: `9de71ede81e6d1a111fdd868b2d78d459fa77f80 to before 724469814d805820cd37ea789769dba94123ff1a` (git)
  - affected: `9de71ede81e6d1a111fdd868b2d78d459fa77f80 to before 680af5b824a52faa819167628665804a14f0e0df` (git)
  - affected: `9dd5052a8a8be252990c1bb451b51f32529411ef` (git)
  - affected: `699a077aa087c17cf29c7170db71a34141e2effe` (git)
  - affected: `5.4.148 to before 5.4.189` (semver)
  - affected: `5.10.67 to before 5.10.110` (semver)
  - affected: `5.13.19 to before 5.14` (semver)
  - affected: `5.14.6 to before 5.15` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (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.0026, the 18th 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-2022-49282](https://www.cve.org/CVERecord?id=CVE-2022-49282)
- [NVD: CVE-2022-49282](https://nvd.nist.gov/vuln/detail/CVE-2022-49282)

### References from the CNA

- <https://git.kernel.org/stable/c/f1d5946d47c0827bae39e1537959ce8d6f0224c5>
- <https://git.kernel.org/stable/c/e58ee6bd939b773675240f5d0f5b88a367c037c4>
- <https://git.kernel.org/stable/c/f9156db0987f1b426015d56505e2c58dee70c90d>
- <https://git.kernel.org/stable/c/e9ebf1e8fc50b6a9336f9aea1082d7845e568d0e>
- <https://git.kernel.org/stable/c/724469814d805820cd37ea789769dba94123ff1a>
- <https://git.kernel.org/stable/c/680af5b824a52faa819167628665804a14f0e0df>

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

---

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