CVE-2026-23230
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.27% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: split cached_fid bitfields to avoid shared-byte RMW races is_open, has_lease and on_list are stored in the same bitfield byte in struct cached_fid but are updated in different code paths that may run concurrently. Bitfield assignments generate byte read–modify–write operations (e.g. `orb $mask, addr` on x86_64), so updating one flag can restore stale values of the others. A possible interleaving is: CPU1: load old byte (has_lease=1, on_list=1) CPU2: clear both flags (store 0) CPU1: RMW store (old | IS_OPEN) -> reintroduces cleared bits To avoid this class of races, convert these flags to separate bool fields.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 569fecc56bfe4df66f05734d67daef887746656b, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 4386f6af8aaedd0c5ad6f659b40cadcc8f423828, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 3eaa22d688311c708b73f3c68bc6d0c8e3f0f77a, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before c4b9edd55987384a1f201d3d07ff71e448d79c1b, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 4cfa4c37dcbcfd70866e856200ed8a2894cac578, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before ec306600d5ba7148c9dbf8f5a8f1f5c1a044a241, 6.1
Not affected: before 6.1, from 6.1.164 up to 6.1.*, from 6.6.125 up to 6.6.*, from 6.12.72 up to 6.12.*, from 6.18.11 up to 6.18.*, from 6.19.1 up to 6.19.*
CVE List
linux linux_kernelfrom 6.1 before 6.1.164, from 6.2 before 6.6.125, from 6.7 before 6.12.72, from 6.13 before 6.18.11, from 6.19 before 6.19.1NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: smb: client: split cached_fid bitfields to avoid shared-byte RMW races is_open, has_lease and on_list are stored in the same bitfield byte in struct cached_fid but are updated in different code paths that may run concurrently. Bitfield assignments generate byte read–modify–write operations (e.g. `orb $mask, addr` on x86_64), so updating one flag can restore stale values of the others. A possible interleaving is: CPU1: load old byte (has_lease=1, on_list=1) CPU2: clear both flags (store 0) CPU1: RMW store (old | IS_OPEN) -> reintroduces cleared bits To avoid this class of races, convert these flags to separate bool fields.

NVD (es)

Se ha resuelto la siguiente vulnerabilidad en el kernel de Linux: smb: cliente: dividir los campos de bits de cached_fid para evitar condiciones de carrera RMW de bytes compartidos is_open, has_lease y on_list se almacenan en el mismo byte de campo de bits en la estructura cached_fid, pero se actualizan en diferentes rutas de código que pueden ejecutarse concurrentemente. Las asignaciones de campos de bits generan operaciones de lectura-modificación-escritura de bytes (p. ej., 'orb $mask, addr' en x86_64), por lo que al actualizar una bandera (flag) se puede restaurar valores obsoletos de las otras. Una posible intercalación es: CPU1: carga el byte antiguo (has_lease=1, on_list=1) CPU2: borra ambas banderas (almacena 0) CPU1: almacena RMW (old | IS_OPEN) -> reintroduce los bits borrados Para evitar esta clase de condiciones de carrera, hay que convertir estas banderas a campos bool separados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23230 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-23230 changed 2026-10-19Public domain