# f2fs: fix to don't dirty inode for readonly filesystem

CVE record · `CVE-2024-42297`

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

Published by the CVE Program (CNA: Linux) at 17 Aug 2024, 09:09 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: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 2d2916516577f2239b3377d9e8d12da5e6ccdfcf` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 54162974aea37a8cae00742470a78c7f6bd6f915` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 54bc4e88447e385c4d4ffa85d93e0dce628fcfa6` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before ec56571b4b146a1cfbedab49d5fcaf19fe8bf4f1` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 9ce8135accf103f7333af472709125878704fdd4` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before e62ff092a42f4a1bae3b310cf46673b4f3aac3b5` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 2434344559f6743efb3ac15d11af9a0db9543bd3` (git)
  - affected: `98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 192b8fb8d1c8ca3c87366ebbef599fa80bb626b8` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.8`
  - unaffected: `before 3.8` (semver)
  - unaffected: `4.19.320 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.282 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.224 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.165 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.103 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.44 to 6.6.*, inclusive` (semver)
  - unaffected: `6.10.3 to 6.10.*, inclusive` (semver)
  - unaffected: `6.11 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)

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/2d2916516577f2239b3377d9e8d12da5e6ccdfcf>
- <https://git.kernel.org/stable/c/54162974aea37a8cae00742470a78c7f6bd6f915>
- <https://git.kernel.org/stable/c/54bc4e88447e385c4d4ffa85d93e0dce628fcfa6>
- <https://git.kernel.org/stable/c/ec56571b4b146a1cfbedab49d5fcaf19fe8bf4f1>
- <https://git.kernel.org/stable/c/9ce8135accf103f7333af472709125878704fdd4>
- <https://git.kernel.org/stable/c/e62ff092a42f4a1bae3b310cf46673b4f3aac3b5>
- <https://git.kernel.org/stable/c/2434344559f6743efb3ac15d11af9a0db9543bd3>
- <https://git.kernel.org/stable/c/192b8fb8d1c8ca3c87366ebbef599fa80bb626b8>

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

---

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