GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-74362 (GCVE-0-2026-74362)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:58 – Updated: 2026-08-17 05:17
VLAI
Title
ext2: fix ignored return value of generic_write_sync()
Summary
In the Linux kernel, the following vulnerability has been resolved: ext2: fix ignored return value of generic_write_sync() Fix ext2_dio_write_iter() to propagate the error returned by generic_write_sync() instead of silently discarding it, which could cause write(2) to return success to userspace on O_SYNC/O_DSYNC files even when the sync failed. The correct pattern, already used in ext2_dax_write_iter() in the same file and in ext4, xfs, f2fs among others, is: if (ret > 0) ret = generic_write_sync(iocb, ret); Found by Linux Verification Center (linuxtesting.org) with SVACE. [JK: Reflect also filemap_write_and_wait() return value]
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: fb5de4358e1aa4753dce73c4dc1aca73ff39cedd , < 8990dbb7065b0b002b1e58b9091a5b61f5e94dbe (git)
Affected: fb5de4358e1aa4753dce73c4dc1aca73ff39cedd , < 8d70b3973020e59845c0bdad90e0b9c2295fd493 (git)
Affected: fb5de4358e1aa4753dce73c4dc1aca73ff39cedd , < ffa974b2f50ad8b911b9066d7aed84ad0afabcdb (git)
Affected: fb5de4358e1aa4753dce73c4dc1aca73ff39cedd , < b6bc07e49a5fbb335f56eb90cd63dec6584c77d3 (git)
Affected: fb5de4358e1aa4753dce73c4dc1aca73ff39cedd , < a4659be0bc7cb1856ffb15b67f903229ae8891ec (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.5
Unaffected: 0 , < 6.5 (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (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/ext2/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8990dbb7065b0b002b1e58b9091a5b61f5e94dbe",
              "status": "affected",
              "version": "fb5de4358e1aa4753dce73c4dc1aca73ff39cedd",
              "versionType": "git"
            },
            {
              "lessThan": "8d70b3973020e59845c0bdad90e0b9c2295fd493",
              "status": "affected",
              "version": "fb5de4358e1aa4753dce73c4dc1aca73ff39cedd",
              "versionType": "git"
            },
            {
              "lessThan": "ffa974b2f50ad8b911b9066d7aed84ad0afabcdb",
              "status": "affected",
              "version": "fb5de4358e1aa4753dce73c4dc1aca73ff39cedd",
              "versionType": "git"
            },
            {
              "lessThan": "b6bc07e49a5fbb335f56eb90cd63dec6584c77d3",
              "status": "affected",
              "version": "fb5de4358e1aa4753dce73c4dc1aca73ff39cedd",
              "versionType": "git"
            },
            {
              "lessThan": "a4659be0bc7cb1856ffb15b67f903229ae8891ec",
              "status": "affected",
              "version": "fb5de4358e1aa4753dce73c4dc1aca73ff39cedd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ext2/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "lessThan": "6.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next2: fix ignored return value of generic_write_sync()\n\nFix ext2_dio_write_iter() to propagate the error returned by\ngeneric_write_sync() instead of silently discarding it, which could\ncause write(2) to return success to userspace on O_SYNC/O_DSYNC files\neven when the sync failed.\n\nThe correct pattern, already used in ext2_dax_write_iter() in the same\nfile and in ext4, xfs, f2fs among others, is:\n    if (ret \u003e 0)\n        ret = generic_write_sync(iocb, ret);\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n[JK: Reflect also filemap_write_and_wait() return value]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:17:56.829Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8990dbb7065b0b002b1e58b9091a5b61f5e94dbe"
        },
        {
          "url": "https://git.kernel.org/stable/c/8d70b3973020e59845c0bdad90e0b9c2295fd493"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffa974b2f50ad8b911b9066d7aed84ad0afabcdb"
        },
        {
          "url": "https://git.kernel.org/stable/c/b6bc07e49a5fbb335f56eb90cd63dec6584c77d3"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4659be0bc7cb1856ffb15b67f903229ae8891ec"
        }
      ],
      "title": "ext2: fix ignored return value of generic_write_sync()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74362",
    "datePublished": "2026-08-15T05:58:45.553Z",
    "dateReserved": "2026-08-15T05:44:03.887Z",
    "dateUpdated": "2026-08-17T05:17:56.829Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74362",
      "date": "2026-09-04",
      "epss": "0.00168",
      "percentile": "0.06316"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74362\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:22:37.783\",\"lastModified\":\"2026-08-17T06:19:30.960\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\next2: fix ignored return value of generic_write_sync()\\n\\nFix ext2_dio_write_iter() to propagate the error returned by\\ngeneric_write_sync() instead of silently discarding it, which could\\ncause write(2) to return success to userspace on O_SYNC/O_DSYNC files\\neven when the sync failed.\\n\\nThe correct pattern, already used in ext2_dax_write_iter() in the same\\nfile and in ext4, xfs, f2fs among others, is:\\n    if (ret \u003e 0)\\n        ret = generic_write_sync(iocb, ret);\\n\\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\\n\\n[JK: Reflect also filemap_write_and_wait() return value]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/ext2/file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd\",\"lessThan\":\"8990dbb7065b0b002b1e58b9091a5b61f5e94dbe\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd\",\"lessThan\":\"8d70b3973020e59845c0bdad90e0b9c2295fd493\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd\",\"lessThan\":\"ffa974b2f50ad8b911b9066d7aed84ad0afabcdb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd\",\"lessThan\":\"b6bc07e49a5fbb335f56eb90cd63dec6584c77d3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd\",\"lessThan\":\"a4659be0bc7cb1856ffb15b67f903229ae8891ec\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/ext2/file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.5\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.5\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/8990dbb7065b0b002b1e58b9091a5b61f5e94dbe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8d70b3973020e59845c0bdad90e0b9c2295fd493\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a4659be0bc7cb1856ffb15b67f903229ae8891ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b6bc07e49a5fbb335f56eb90cd63dec6584c77d3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ffa974b2f50ad8b911b9066d7aed84ad0afabcdb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-19T10:02:54+00:00",
      "cve": "CVE-2026-74362",
      "id": "CVE-2026-74362",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "14",
      "product_status:known_not_affected": "260",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ext2: fix ignored return value of generic_write_sync()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74362.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…