CVE-2026-98681

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

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before f255e87b4f7eda568c37d6eae5db1d1a8aca5968Affected
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before 7fa619367869be705942f087b2ecd209efc78fe1Affected
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before e961baf9c1a4f2e93a55f8eb2c6151fc27b96a4cAffected
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before 3b8e7928cf1928555dc05d172dd02fb0e7692ec4Affected
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before 3786ee67658a2c80fef2544e7de2cd329e043cf9Affected
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before 4165641d06ef44f3a31b77a28048b6c737e885e7Affected
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before d9d23d115610e0342e768f6cb525d91c7b154027Affected
  • 3bc303c254335dbd7c7012cc1760b12f1d5514d3 to before 19465a9aeb664f1d710d0d22c07c31bfb7c85446Affected
LinuxLinux
  • 2.6.32Affected
  • before 2.6.32Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.