CVE-2026-89829 (GCVE-0-2026-89829)

Vulnerability from cvelistv5 – Published: 2026-09-16 10:31 – Updated: 2026-10-19 08:53
VLAI
Title
f2fs: fix to pass folio->index to f2fs_sanity_check_node_footer()
Summary
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to pass folio->index to f2fs_sanity_check_node_footer() Otherwise in f2fs_sanity_check_node_footer(), it will check the same nid incorrectly.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6639 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: cd2fec912a0f04390d446ed692f73f2da842855f , < a984446aa9d5b787afa3023fc7b44017b80fe3bc (git)
Affected: 0a736109c9d29de0c26567e42cb99b27861aa8ba , < 0b196c07407f48a41cd9741cf53e10cb1e23d2e5 (git)
Affected: 0a736109c9d29de0c26567e42cb99b27861aa8ba , < 7e188e9f9437ab47c3237d609f1b26348d6fea1a (git)
Affected: 971aa8e2a4043d92bf62061b79f74fd4ac59165a (git)
Affected: 6.18.13 , < 6.18.51 (semver)
Affected: 6.19.3 , < 6.20 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 7.0
Unaffected: 0 , < 7.0 (semver)
Unaffected: 6.18.51 , ≤ 6.18.* (semver)
Unaffected: 7.2.5 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/f2fs/node.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a984446aa9d5b787afa3023fc7b44017b80fe3bc",
              "status": "affected",
              "version": "cd2fec912a0f04390d446ed692f73f2da842855f",
              "versionType": "git"
            },
            {
              "lessThan": "0b196c07407f48a41cd9741cf53e10cb1e23d2e5",
              "status": "affected",
              "version": "0a736109c9d29de0c26567e42cb99b27861aa8ba",
              "versionType": "git"
            },
            {
              "lessThan": "7e188e9f9437ab47c3237d609f1b26348d6fea1a",
              "status": "affected",
              "version": "0a736109c9d29de0c26567e42cb99b27861aa8ba",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "971aa8e2a4043d92bf62061b79f74fd4ac59165a",
              "versionType": "git"
            },
            {
              "lessThan": "6.18.51",
              "status": "affected",
              "version": "6.18.13",
              "versionType": "semver"
            },
            {
              "lessThan": "6.20",
              "status": "affected",
              "version": "6.19.3",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/f2fs/node.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.0"
            },
            {
              "lessThan": "7.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "6.18.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.19.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to pass folio-\u003eindex to f2fs_sanity_check_node_footer()\n\nOtherwise in f2fs_sanity_check_node_footer(), it will check the\nsame nid incorrectly."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The defect is in f2fs __write_node_folio() on the node-mapping writeback path, reached only from local VFS operations (fsync, write, checkpoint, GC, or reclaim) on a mounted f2fs volume; no network protocol (ksmbd/nfsd/packet) processes this node-footer check.\nAC:L - A crafted f2fs image fully controls the on-disk node footer nid. Related syzbot reports show that async node readahead of a fuzzed image followed by writeback deterministically hits the mismatched-nid case, with no race or layout the attacker cannot arrange.\nPR:L - Mounting f2fs requires privilege (no FS_USERNS_MOUNT), but once the volume is mounted\u2014Android userdata, automounted SD/USB, or a shared workstation\u2014any unprivileged local user can dirty node pages via write/fsync/fallocate/truncate and enter __write_node_folio with no capability check.\nUI:N - After the crafted image is mounted, the attacker triggers node writeback themselves through ordinary file syscalls or in-kernel checkpoint/reclaim; no separate victim action such as opening a file or confirming a prompt is required.\nS:U - The impact is kernel memory and f2fs metadata corruption on the host that mounted the volume; it does not cross a VM, IOMMU, or guest-to-host security boundary.\nC:H - __write_node_folio uses the attacker-controlled footer nid as the NAT key without a range check, so current_nat_addr() indexes nat_bitmap at an attacker-chosen offset (nid/NAT_ENTRY_PER_BLOCK), an unbounded out-of-bounds kernel read. The same nid confusion later parses the planted node with the wrong layout, leaking adjacent folio contents as in CVE-2025-40025.\nI:H - set_node_addr() and f2fs_do_write_node_page() commit the node folio under the footer nid, overwriting an arbitrary NAT entry and remapping any node. Subsequent operations on that nid write through the wrong inode-vs-dnode layout, producing out-of-bounds metadata writes past the node folio.\nA:H - A mismatched nid that fails f2fs_get_node_info() takes redirty_out, looping writepages indefinitely (the hang this check was added to stop). A nid that proceeds hits f2fs_bug_on() in set_node_addr()/write_end_io, panicking with CONFIG_F2FS_CHECK_FS or WARNing and corrupting the filesystem otherwise."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:53:22.927Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a984446aa9d5b787afa3023fc7b44017b80fe3bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b196c07407f48a41cd9741cf53e10cb1e23d2e5"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e188e9f9437ab47c3237d609f1b26348d6fea1a"
        }
      ],
      "title": "f2fs: fix to pass folio-\u003eindex to f2fs_sanity_check_node_footer()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89829",
    "datePublished": "2026-09-16T10:31:01.761Z",
    "dateReserved": "2026-09-11T19:38:34.769Z",
    "dateUpdated": "2026-10-19T08:53:22.927Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89829",
      "date": "2026-11-09",
      "epss": "0.00173",
      "percentile": "0.06802"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-21T18:39:39.000Z",
      "cve": "CVE-2026-89829",
      "id": "msrc_CVE-2026-89829",
      "initial_release_date": "2026-10-20T22:21:30.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "f2fs: fix to pass folio-\u003eindex to f2fs_sanity_check_node_footer()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89829.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/f2fs/node.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "a984446aa9d5b787afa3023fc7b44017b80fe3bc",
                    "status": "affected",
                    "version": "cd2fec912a0f04390d446ed692f73f2da842855f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0b196c07407f48a41cd9741cf53e10cb1e23d2e5",
                    "status": "affected",
                    "version": "0a736109c9d29de0c26567e42cb99b27861aa8ba",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7e188e9f9437ab47c3237d609f1b26348d6fea1a",
                    "status": "affected",
                    "version": "0a736109c9d29de0c26567e42cb99b27861aa8ba",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "971aa8e2a4043d92bf62061b79f74fd4ac59165a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.18.51",
                    "status": "affected",
                    "version": "6.18.13",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.20",
                    "status": "affected",
                    "version": "6.19.3",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/f2fs/node.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.0"
                  },
                  {
                    "lessThan": "7.0",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.51",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to pass folio-\u003eindex to f2fs_sanity_check_node_footer()\n\nOtherwise in f2fs_sanity_check_node_footer(), it will check the\nsame nid incorrectly."
          }
        ],
        "id": "CVE-2026-89829",
        "lastModified": "2026-10-19T09:18:26.857",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-16T11:16:49.620",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0b196c07407f48a41cd9741cf53e10cb1e23d2e5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7e188e9f9437ab47c3237d609f1b26348d6fea1a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a984446aa9d5b787afa3023fc7b44017b80fe3bc"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-07T10:32:12+00:00",
      "cve": "CVE-2026-89829",
      "id": "CVE-2026-89829",
      "initial_release_date": "2026-09-16T00:00:00+00:00",
      "product_status:known_not_affected": "203",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: f2fs: fix to pass folio-\u003eindex to f2fs_sanity_check_node_footer()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89829.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.