Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-98124

Опубликовано: 25 сент. 2026
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and smb3_collapse_range() modify file contents through server-side range operations. These operations discard the affected page cache, but leave the FS-Cache cookie valid, so a later read may return data cached before the range operation. Fix this by invalidating FS-Cache after outstanding I/O has completed and before modifying the file on the server. Run the following as root on a CIFS mount with fsc enabled and an active CacheFiles backend: bash -c ' MNT=/mnt/cifs FILE="$MNT/repro"

Generate four 1 MiB random blocks: [A][B][C][D].

dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none

Expected contents after zeroing B: [A][zero][C][D].

cp /tmp/src /tmp/expected dd if=/dev/zero of=/tmp/expected bs=1M seek=1 count=1
conv=notrunc status=none cp /tmp/src "$FILE"

Populate FS-Cache, then discard the page cache.

sync echo 1 > /proc/sys/vm/drop_caches cat "$FILE" > /dev/null sync echo 1 > /proc/sys/vm/drop_caches fallocate --zero-range -o 1M -l 1M "$FILE" if cmp -s /tmp/expected "$FILE"; then echo "readback: OK" else echo "readback: STALE DATA" fi ' Before this change, the readback differs from /tmp/expected: readback: STALE DATA After this change, it matches: readback: OK

A flaw was found in the Linux kernel's SMB (Server Message Block) client subsystem. When file modification operations such as fallocate range requests are performed on a mounted network share, the system fails to invalidate the local file system cache (FS-Cache). This flaw allows a local user to read stale or outdated cached data instead of the updated server contents, resulting in data inconsistency.

Отчет

A low impact flaw was found in the Linux kernel SMB client as shipped in Red Hat Enterprise Linux 8, 9, and 10, Red Hat In-Vehicle OS 2, and the Red Hat Enterprise Linux CoreOS kernels used by OpenShift Container Platform 4 and 5. When SMB3 server-side range operations (fallocate zero-range, punch hole, insert range, or collapse range) modify file contents on the server, the client discards the affected page cache but leaves the FS-Cache cookie valid. As a result, a local user on a system with a CIFS mount created with the fsc option and an active CacheFiles backend may read stale data that was cached before the range operation instead of the updated server contents. The consequence is limited to this data inconsistency: the flaw does not allow privilege escalation, memory corruption, or denial of service. Red Hat Enterprise Linux 6 and 7 are not affected because the vulnerable code is not present in those versions. Although the Red Hat CVSS 3.1 base score for this flaw is 5.5 (moderate), Red Hat assesses the overall impact as low because exploitation requires an uncommon configuration and only stale cached data can be exposed. Given this low impact rating, the fix for the affected streams is currently deferred rather than scheduled for an immediate update; the residual risk is that local users on FS-Cache-enabled CIFS mounts may continue to observe stale cached contents after server-side range operations until a fix is delivered.

Меры по смягчению последствий

Disable FS-Cache on SMB mounts: unmount and remount the affected CIFS share without the fsc mount option (and remove fsc from the corresponding /etc/fstab or autofs entry so the change persists), or stop the CacheFiles backend serving the mount. Without fsc enabled, reads are served from the page cache or directly from the server and cannot return stale FS-Cache data after server-side range operations, at the cost of losing the local caching performance benefit for those mounts.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Показывать по

Дополнительная информация

Статус:

Low
Дефект:
CWE-524
https://bugzilla.redhat.com/show_bug.cgi?id=2541341kernel: smb/client: invalidate fscache for fallocate range operations

EPSS

Процентиль: 19%
0.00329
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.5
ubuntu
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and smb3_collapse_range() modify file contents through server-side range operations. These operations discard the affected page cache, but leave the FS-Cache cookie valid, so a later read may return data cached before the range operation. Fix this by invalidating FS-Cache after outstanding I/O has completed and before modifying the file on the server. Run the following as root on a CIFS mount with fsc enabled and an active CacheFiles backend: bash -c ' MNT=/mnt/cifs FILE="$MNT/repro" # Generate four 1 MiB random blocks: [A][B][C][D]. dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none # Expected contents after zeroing B: [A][zero][C][D]. cp /tmp/src /tmp/expected dd if=/dev/zero of=/tmp/expected bs=1M seek=1 count=1 \ conv=notrunc status=none cp /tmp/src "$FILE" # Populate FS-Cache, then disc...

CVSS3: 5.5
nvd
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and smb3_collapse_range() modify file contents through server-side range operations. These operations discard the affected page cache, but leave the FS-Cache cookie valid, so a later read may return data cached before the range operation. Fix this by invalidating FS-Cache after outstanding I/O has completed and before modifying the file on the server. Run the following as root on a CIFS mount with fsc enabled and an active CacheFiles backend: bash -c ' MNT=/mnt/cifs FILE="$MNT/repro" # Generate four 1 MiB random blocks: [A][B][C][D]. dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none # Expected contents after zeroing B: [A][zero][C][D]. cp /tmp/src /tmp/expected dd if=/

CVSS3: 3
msrc
2 месяца назад

smb/client: invalidate fscache for fallocate range operations

CVSS3: 5.5
debian
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: s ...

CVSS3: 5.5
github
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and smb3_collapse_range() modify file contents through server-side range operations. These operations discard the affected page cache, but leave the FS-Cache cookie valid, so a later read may return data cached before the range operation. Fix this by invalidating FS-Cache after outstanding I/O has completed and before modifying the file on the server. Run the following as root on a CIFS mount with fsc enabled and an active CacheFiles backend: bash -c ' MNT=/mnt/cifs FILE="$MNT/repro" # Generate four 1 MiB random blocks: [A][B][C][D]. dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none # Expected contents after zeroing B: [A][zero][C][D]. cp /tmp/src /tmp/expected dd i...

EPSS

Процентиль: 19%
0.00329
Низкий

5.5 Medium

CVSS3