CVE-2026-98681

Source
https://cve.org/CVERecord?id=CVE-2026-98681
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98681.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98681
Downstream
Published
2026-10-18T15:45:45Z
Modified
2026-10-20T02:30:48Z
Summary
smb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98681.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3bc303c254335dbd7c7012cc1760b12f1d5514d3
Fixed
3786ee67658a2c80fef2544e7de2cd329e043cf9
Fixed
4165641d06ef44f3a31b77a28048b6c737e885e7
Fixed
d9d23d115610e0342e768f6cb525d91c7b154027
Fixed
19465a9aeb664f1d710d0d22c07c31bfb7c85446

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98681.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.32
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98681.json"