CVE-2026-98267

9p: Fix v9fs_issue_write() to update i_size and remote_i_size

Published Oct 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

9p: Fix v9fs_issue_write() to update i_size and remote_i_size

Fix v9fs_issue_write() to update i_size and remote_i_size to the new size
of the server file if we made it larger, using the start fpos and the count
returned by p9_client_write() to calculate the new minimum file size.

This assumes that if the 9P server makes a short write (say it hits
ENOSPC), a reduced count is returned.

Analysis

AI-generated

Technical impact

The Linux kernel’s 9p virtual file system had a logic flaw in its write routine where the inode size (i_size) and the server’s reported size (remote_i_size) were not updated after a partial write, such as when the server returned a reduced byte count due to ENOSPC. Because the size remained stale, subsequent file operations could be based on an incorrect file length, potentially leading to data loss or corruption. This weakness is associated with CWE-252.

Affected Systems

All Linux kernel releases that implement the 9p protocol without the commit 88871ab548c1d7b11cde9b04063f3c1c6fbd7039 are affected. Systems running earlier kernel versions and mounting 9p filesystems are at risk.

Risk and Exploitability

The CVSS score is 5.5, indicating moderate severity. The EPSS score is below 1% and the vulnerability is not listed in CISA’s KEV catalog, implying a very low probability of exploitation. An attacker would need local write access to a 9p‑mounted path and must trigger a truncated write, for example by exhausting the remote server’s space. Such conditions are unlikely in most deployments, and no remote code execution or privilege escalation is possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply kernel patch that includes commit 88871ab548c1d7b11cde9b04063f3c1c6fbd7039 or later
  • Restrict write operations on 9p mounts to prevent ENOSPC‑induced truncations and monitor for write errors
  • If immediate upgrade is not possible, monitor inode size versus server size and alert for mismatches
  • Check vendor updates regularly for additional security patches affecting 9p

Generated by OpenCVE AI on October 11, 2026 at 05:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Weaknesses CWE-252
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

Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: 9p: Fix v9fs_issue_write() to update i_size and remote_i_size Fix v9fs_issue_write() to update i_size and remote_i_size to the new size of the server file if we made it larger, using the start fpos and the count returned by p9_client_write() to calculate the new minimum file size. This assumes that if the 9P server makes a short write (say it hits ENOSPC), a reduced count is returned.
Title 9p: Fix v9fs_issue_write() to update i_size and remote_i_size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:16 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 6, 2026, 9:18 AM
Modified
Oct 19, 2026, 10:18 AM
Severity
Moderate
Public date
Oct 6, 2026, 12:00 AM