← Back to CVE Explorer

CVE-2026-98681

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:21.457000
Last modified
2026-10-30 13:21:17.970000
View original CVE JSON
{
  "id": "CVE-2026-98681",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:21.457",
  "lastModified": "2026-10-30T13:21:17.970",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races\n\nThe invalidHandle, swapfile, oplock_break_cancelled, offload,\nand status_file_deleted fields are stored in the same bitfield byte\nin struct cifsFileInfo, but are updated in different code paths that\nmay run simultaneously, and are protected by different locks.  Since\nbitfield assignments generate byte-level read-modify-write operations,\na modification to one flag can overwrite a concurrent modification to\nanother flag.\n\nTo avoid these races, convert these flags from a bitfield to\nseparate bool fields."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/smb/client/cifsglob.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "f255e87b4f7eda568c37d6eae5db1d1a8aca5968",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "7fa619367869be705942f087b2ecd209efc78fe1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "e961baf9c1a4f2e93a55f8eb2c6151fc27b96a4c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "3b8e7928cf1928555dc05d172dd02fb0e7692ec4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "3786ee67658a2c80fef2544e7de2cd329e043cf9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "4165641d06ef44f3a31b77a28048b6c737e885e7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "d9d23d115610e0342e768f6cb525d91c7b154027",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3bc303c254335dbd7c7012cc1760b12f1d5514d3",
              "lessThan": "19465a9aeb664f1d710d0d22c07c31bfb7c85446",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/smb/client/cifsglob.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "2.6.32",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "2.6.32",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/19465a9aeb664f1d710d0d22c07c31bfb7c85446",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3786ee67658a2c80fef2544e7de2cd329e043cf9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3b8e7928cf1928555dc05d172dd02fb0e7692ec4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4165641d06ef44f3a31b77a28048b6c737e885e7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/7fa619367869be705942f087b2ecd209efc78fe1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d9d23d115610e0342e768f6cb525d91c7b154027",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e961baf9c1a4f2e93a55f8eb2c6151fc27b96a4c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f255e87b4f7eda568c37d6eae5db1d1a8aca5968",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}