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.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via incorrect write error handling
Action: Apply patch
AI Analysis

Impact

The vulnerability resides in the netfs module of the Linux kernel. When the first subrequest of a write operation fails, the loop in netfs_unbuffered_write exits without initializing the return value ret. As a result, callers may receive an arbitrary error code instead of the correct write error or the number of bytes actually written. For synchronous writes, netfs_unbuffered_write_iter_locked can propagate an unrelated error through CIFS if cifs_prepare_write fails to reopen the file or obtain credits. This flaw can lead to incorrect status reports, data integrity issues, or denial of service if an attacker can trigger the error path.

Affected Systems

All Linux kernel releases are mentioned; however, the advisory does not list specific version ranges. The affected vendor is the generic Linux kernel, as identified by the CNA entry Linux:Linux and the CPE string for the Linux kernel.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score of < 1% suggests a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. The attack vector is remote or local in environments where CIFS write operations are performed, as the fault is triggered when cifs_prepare_write fails. Exploitation would require the ability to induce the failure path to cause incorrect error reporting or denial of service, and no known public exploits exist.

Generated by OpenCVE AI on October 1, 2026 at 11:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Linux kernel patch that includes commit 2e38d500471d097cda87d7d374bbc1b13493075d and the associated commits 3d038eebdbd400c3bc4b66bd8aa0dff0c2bcce26 and f18e8774f4d3137fa0a5fb8ffa83d59a719666d8 to ensure the return value is initialized before being returned.
  • If an immediate kernel update is not possible, restrict or temporarily disable CIFS write operations that can trigger the failure path until the patch is applied.
  • Monitor system logs for unexpected write error codes or signs of denial of service, and verify that file write operations complete successfully after deploying the patch.

Generated by OpenCVE AI on October 1, 2026 at 11:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title netfs: Fix uninitialized return value in netfs_unbuffered_write()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:10:14.001Z

Reserved: 2026-09-24T16:01:01.158Z

Link: CVE-2026-97610

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:15.100

Modified: 2026-10-19T10:17:31.027

Link: CVE-2026-97610

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97610 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T11:30:05Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource