# CVE-2026-97610: netfs: Fix uninitialized return value in netfs\_unbuffered\_write()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-25T10:22:20.228Z
- **Modified:** 2026-10-19T10:17:31.027Z

## Who should check

- Anyone running Linux \>= 72d08d2839649d1c5efbe375751f4473fa4486af, \< 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26; \>= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, \< 2e38d500471d097cda87d7d374bbc1b13493075d; \>= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, \< f18e8774f4d3137fa0a5fb8ffa83d59a719666d8; 0c29f6d63122a0168d67cb8ecde5b4cf7fe4acb0; \>= 6.18.17, \< 6.18.53; \>= 6.19.7, \< 6.20
- Anyone running Linux 7.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfs: Fix uninitialized return value in netfs\_unbuffered\_write()

If preparation of the first subrequest fails,
netfs\_unbuffered\_write() exits its loop before ret is initialized. The
empty-iterator check can do the same.

For synchronous writes, netfs\_unbuffered\_write\_iter\_locked() may then
return an unrelated error instead of wreq-\>error. This is reachable
through CIFS if cifs\_prepare\_write() fails to reopen the file or obtain
credits.

Initialize ret to 0 so the caller returns wreq-\>error if no data was
written, or the number of bytes already written otherwise.

Found with Clang's -Wconditional-uninitialized.

## Affected and fixed versions

- Linux: \>= 72d08d2839649d1c5efbe375751f4473fa4486af, \< 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26; \>= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, \< 2e38d500471d097cda87d7d374bbc1b13493075d; \>= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, \< f18e8774f4d3137fa0a5fb8ffa83d59a719666d8; 0c29f6d63122a0168d67cb8ecde5b4cf7fe4acb0; \>= 6.18.17, \< 6.18.53; \>= 6.19.7, \< 6.20 (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- Upgrade Linux to 6.20 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97610. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97610.md
Affected: Linux >= 72d08d2839649d1c5efbe375751f4473fa4486af, < 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26; >= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, < 2e38d500471d097cda87d7d374bbc1b13493075d; >= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, < f18e8774f4d3137fa0a5fb8ffa83d59a719666d8; 0c29f6d63122a0168d67cb8ecd…
Fixed in: Linux 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26, Linux 2e38d500471d097cda87d7d374bbc1b13493075d, Linux 6.18.53, Linux 6.20

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97610 being exploited?

There is no confirmed exploitation: CVE-2026-97610 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97610?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97610?

Linux \>= 72d08d2839649d1c5efbe375751f4473fa4486af, \< 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26; \>= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, \< 2e38d500471d097cda87d7d374bbc1b13493075d; \>= a0b4c7a49137ed21279f354eb59f49ddae8dffc2, \< f18e8774f4d3137fa0a5fb8ffa83d59a719666d8; 0c29f6d63122a0168d67cb8ecde5b4cf7fe4acb0; \>= 6.18.17, \< 6.18.53; \>= 6.19.7, \< 6.20; Linux 7.0.

### Is there a fix for CVE-2026-97610?

Yes. Fixed in Linux 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26, Linux 2e38d500471d097cda87d7d374bbc1b13493075d, Linux 6.18.53, Linux 6.20. Upgrade Linux to 6.20 or later.

### How do I check if I'm affected by CVE-2026-97610?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26>
- other: <https://git.kernel.org/stable/c/2e38d500471d097cda87d7d374bbc1b13493075d>
- other: <https://git.kernel.org/stable/c/f18e8774f4d3137fa0a5fb8ffa83d59a719666d8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97610>

HTML: <https://flawdb.com/CVE-2026-97610> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97610>
