Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.273, 5.15.224, 6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.10
CVEs
CVE-2026-98681
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:04 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 18 Oct 2026, 15:45 UTC

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.

osv:CVE-2026-98681

Kernel

Fixed versions: 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10

Complete source record
{
  "id": "5b2e95921bc898416313cdf0645866a6bed61057b4e18b3a1f16c50e0ec0df5d",
  "url": "https://osv.dev/vulnerability/CVE-2026-98681",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "smb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races",
    "summary": "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.",
    "evidence": "osv:CVE-2026-98681",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.273",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.224",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98681",
      "aliases": [
        "CVE-2026-98681"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3bc303c254335dbd7c7012cc1760b12f1d5514d3"
                },
                {
                  "fixed": "f255e87b4f7eda568c37d6eae5db1d1a8aca5968"
                },
                {
                  "fixed": "7fa619367869be705942f087b2ecd209efc78fe1"
                },
                {
                  "fixed": "e961baf9c1a4f2e93a55f8eb2c6151fc27b96a4c"
                },
                {
                  "fixed": "3b8e7928cf1928555dc05d172dd02fb0e7692ec4"
                },
                {
                  "fixed": "3786ee67658a2c80fef2544e7de2cd329e043cf9"
                },
                {
                  "fixed": "4165641d06ef44f3a31b77a28048b6c737e885e7"
                },
                {
                  "fixed": "d9d23d115610e0342e768f6cb525d91c7b154027"
                },
                {
                  "fixed": "19465a9aeb664f1d710d0d22c07c31bfb7c85446"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98681.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.32"
                },
                {
                  "fixed": "5.10.273"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.224"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98681.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:54.801135324Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/19465a9aeb664f1d710d0d22c07c31bfb7c85446",
        "https://git.kernel.org/stable/c/3786ee67658a2c80fef2544e7de2cd329e043cf9",
        "https://git.kernel.org/stable/c/3b8e7928cf1928555dc05d172dd02fb0e7692ec4",
        "https://git.kernel.org/stable/c/4165641d06ef44f3a31b77a28048b6c737e885e7",
        "https://git.kernel.org/stable/c/7fa619367869be705942f087b2ecd209efc78fe1",
        "https://git.kernel.org/stable/c/d9d23d115610e0342e768f6cb525d91c7b154027",
        "https://git.kernel.org/stable/c/e961baf9c1a4f2e93a55f8eb2c6151fc27b96a4c",
        "https://git.kernel.org/stable/c/f255e87b4f7eda568c37d6eae5db1d1a8aca5968",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98681.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98681",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98681.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98681",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 498166,
  "published_at": "2026-10-18T15:45:45.654+00:00"
}