{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fb5de4358e1aa4753dce73c4dc1aca73ff39cedd"
            },
            {
              "fixed": "8990dbb7065b0b002b1e58b9091a5b61f5e94dbe"
            },
            {
              "fixed": "8d70b3973020e59845c0bdad90e0b9c2295fd493"
            },
            {
              "fixed": "ffa974b2f50ad8b911b9066d7aed84ad0afabcdb"
            },
            {
              "fixed": "b6bc07e49a5fbb335f56eb90cd63dec6584c77d3"
            },
            {
              "fixed": "a4659be0bc7cb1856ffb15b67f903229ae8891ec"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.5.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74362.json"
  },
  "details": "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]",
  "id": "CVE-2026-74362",
  "modified": "2026-08-18T03:31:00.577803120Z",
  "published": "2026-08-15T05:58:45.553Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8990dbb7065b0b002b1e58b9091a5b61f5e94dbe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8d70b3973020e59845c0bdad90e0b9c2295fd493"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a4659be0bc7cb1856ffb15b67f903229ae8891ec"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b6bc07e49a5fbb335f56eb90cd63dec6584c77d3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ffa974b2f50ad8b911b9066d7aed84ad0afabcdb"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74362.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74362"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ext2: fix ignored return value of generic_write_sync()"
}