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

smb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races

The invalidHandle, swapfile, oplock_break_cancelled, offload,
and status_file_deleted fields are stored in the same bitfield byte
in struct cifsFileInfo, but are updated in different code paths that
may run simultaneously, and are protected by different locks. Since
bitfield assignments generate byte-level read-modify-write operations,
a modification to one flag can overwrite a concurrent modification to
another flag.

To avoid these races, convert these flags from a bitfield to
separate bool fields.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Potential corrupted SMB file state due to race condition
Action: Assess
AI Analysis

Impact

A race condition exists in the Linux kernel SMB client when bit‑field flags in the cifsFileInfo structure are set by distinct code paths protected by separate locks. Because these bit‑field assignments compile to byte‑level read‑modify‑write operations, a concurrent update can overwrite another flag. As a result, state fields such as invalidHandle, swapfile, oplock_break_cancelled, offload, or status_file_deleted may reflect incorrect values, potentially causing wrong file deletion handling, broken opportunistic locking, or improper swapfile management. The flaw does not provide direct code‑execution or data‑leak paths, but it can corrupt SMB file handling behaviour.

Affected Systems

The issue can affect any Linux kernel that implements the SMB client, including current mainstream distributions, prior to the application of the bit‑field split fix. No specific version range is supplied, so any kernel before the patch is vulnerable. The patch replaces the shared byte containing several flags with individual boolean members of cifsFileInfo.

Risk and Exploitability

The vulnerability is a subtle data‑race; no CVSS or EPSS score is available and it is not in the CISA KEV database. Exploitation would require an attacker to trigger concurrent SMB operations that manipulate the same file structure, which is non‑trivial and has no known public exploits. The practical risk is a disruption of SMB functionality rather than privilege escalation, data loss, or confidentiality breach.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel updates that incorporate the bit‑field split patch.
  • Reduce concurrent SMB client activity by limiting the number of simultaneous connections (e.g., adjust max_concurrent_connections or use connection throttling techniques).
  • If SMB service is not essential, disable the CIFS/SMB client kernel module or package to remove the vulnerable code from operation.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races The invalidHandle, swapfile, oplock_break_cancelled, offload, and status_file_deleted fields are stored in the same bitfield byte in struct cifsFileInfo, but are updated in different code paths that may run simultaneously, and are protected by different locks. Since bitfield assignments generate byte-level read-modify-write operations, a modification to one flag can overwrite a concurrent modification to another flag. To avoid these races, convert these flags from a bitfield to separate bool fields.
Title smb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races
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-18T15:45:45.654Z

Reserved: 2026-09-25T10:25:14.364Z

Link: CVE-2026-98681

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:21.457

Modified: 2026-10-18T16:17:21.457

Link: CVE-2026-98681

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T19:00:11Z

Weaknesses