CVE-2026-97610
netfs: Fix uninitialized return value in netfs_unbuffered_write()
Reported by linux · Published September 25, 2026
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.
EPSS 0.20% · 9.6th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| Linux | Linux | 7.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 72d08d2839649d1c5efbe375751f4473fa4486af, a0b4c7a49137ed21279f354eb59f49ddae8dffc2, a0b4c7a49137ed21279f354eb59f49ddae8dffc2 |
| Linux | Linux | 7.0, 0, 6.18.53 |
| amazon:2023 | python3-perf6.18 | 0 |
| Linux | Linux | *, 7.2.7, 6.18.53 |
| linux | linux_kernel | 7.0, 6.18.17, 6.19.7 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
Timeline
- Sep 25, 2026 Coalition ESS Score
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (8 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-97610
vulnetix vdb fixes CVE-2026-97610
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97610/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart