{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74362","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-15T05:44:03.887Z","datePublished":"2026-08-15T05:58:45.553Z","dateUpdated":"2026-08-17T05:17:56.829Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:17:56.829Z"},"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 > 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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ext2/file.c"],"versions":[{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"8990dbb7065b0b002b1e58b9091a5b61f5e94dbe","status":"affected","versionType":"git"},{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"8d70b3973020e59845c0bdad90e0b9c2295fd493","status":"affected","versionType":"git"},{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"ffa974b2f50ad8b911b9066d7aed84ad0afabcdb","status":"affected","versionType":"git"},{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"b6bc07e49a5fbb335f56eb90cd63dec6584c77d3","status":"affected","versionType":"git"},{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"a4659be0bc7cb1856ffb15b67f903229ae8891ec","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ext2/file.c"],"versions":[{"version":"6.5","status":"affected"},{"version":"0","lessThan":"6.5","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.2"}]}]}],"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"}}}}