FKIE_CVE-2026-139020

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: gfs2: reject invalid inode sizes A corrupted GFS2 image can store a dinode size that is larger than what VFS i_size can represent. gfs2_dinode_in() reads the on-disk di_size as a u64 and writes it directly into inode->i_size. If the value is larger than S64_MAX, the incore i_size becomes negative. That negative value can bypass the existing stuffed inode size check: inode->i_size > gfs2_max_stuffed_size(ip) Later, gfs2_quotad may try to sync the quota file and unstuff the quota inode. gfs2_unstuffer_folio() reads the negative i_size into an unsigned length and passes it to memcpy(), turning it into a huge copy size and triggering a out-of-bound issue. Reject dinodes whose size exceeds sb->s_maxbytes before storing the value in inode->i_size. Also make the stuffed inode check use the raw on-disk size while it is still unsigned.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/gfs2/glops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8db6c08e0da0e8f13845128bc975f1f2656060a5",
              "status": "affected",
              "version": "7c414f6f06e9a3934901b6edc3177ae5a1e07094",
              "versionType": "git"
            },
            {
              "lessThan": "8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340",
              "status": "affected",
              "version": "46c9088cabd4d0469fdb61ac2a9c5003057fe94d",
              "versionType": "git"
            },
            {
              "lessThan": "435cf27c40b01315e33918c20d529f4ace0c5f57",
              "status": "affected",
              "version": "d458a0984429c2d47e60254f5bc4119cbafe83a2",
              "versionType": "git"
            },
            {
              "lessThan": "7a81c9cf915cc899db84e0fc02f5c6b545eaed4b",
              "status": "affected",
              "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
              "versionType": "git"
            },
            {
              "lessThan": "bb88934553eb89573145cb01a413860771aed97f",
              "status": "affected",
              "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
              "versionType": "git"
            },
            {
              "lessThan": "bd2919d4491068974c6348961d7af6dc0e7b9108",
              "status": "affected",
              "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
              "versionType": "git"
            },
            {
              "lessThan": "3f749d1755c1b82f7c102bd9522ea3b5039d3171",
              "status": "affected",
              "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
              "versionType": "git"
            },
            {
              "lessThan": "33ed0a0567e0abe66ea65e89dad2e35082890fbe",
              "status": "affected",
              "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "45df749f827c286adbc951f2a4865b67f0442ba9",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "4d4cb76636134bf9a0c9c3432dae936f99954586",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.275",
              "status": "affected",
              "version": "5.10.177",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.226",
              "status": "affected",
              "version": "5.15.93",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.193",
              "status": "affected",
              "version": "6.1.11",
              "versionType": "semver"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.280",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.240",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/gfs2/glops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "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\ngfs2: reject invalid inode sizes\n\nA corrupted GFS2 image can store a dinode size that is larger than what VFS\ni_size can represent. gfs2_dinode_in() reads the on-disk di_size as a u64 and\nwrites it directly into inode-\u003ei_size. If the value is larger than S64_MAX, the\nincore i_size becomes negative. That negative value can bypass the existing\nstuffed inode size check:\n\ninode-\u003ei_size \u003e gfs2_max_stuffed_size(ip)\n\nLater, gfs2_quotad may try to sync the quota file and unstuff the quota inode.\ngfs2_unstuffer_folio() reads the negative i_size into an unsigned length and\npasses it to memcpy(), turning it into a huge copy size and triggering a\nout-of-bound issue.\n\nReject dinodes whose size exceeds sb-\u003es_maxbytes before storing the value in\ninode-\u003ei_size. Also make the stuffed inode check use the raw on-disk size while\nit is still unsigned."
    }
  ],
  "id": "CVE-2026-139020",
  "lastModified": "2026-11-30T14:18:05.613",
  "metrics": {},
  "published": "2026-11-30T14:18:05.613",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/33ed0a0567e0abe66ea65e89dad2e35082890fbe"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/3f749d1755c1b82f7c102bd9522ea3b5039d3171"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/435cf27c40b01315e33918c20d529f4ace0c5f57"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/7a81c9cf915cc899db84e0fc02f5c6b545eaed4b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/8db6c08e0da0e8f13845128bc975f1f2656060a5"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/bb88934553eb89573145cb01a413860771aed97f"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/bd2919d4491068974c6348961d7af6dc0e7b9108"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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. The method is described in a publication.

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.