Read the docs
TI-2026-64522 Aliases CVE-2026-98125GHSA-mgrf-j38j-q2mg

smb/client: fix stale page cache in insert/collapse range

Priority LOW 24CWE-669Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

In the Linux kernel, the following vulnerability has been resolved: smb/client: fix stale page cache in insert/collapse range smb3_insert_range() and smb3_collapse_range() use truncate_pagecache_range() to invalidate the affected page cache. However, if off or old_eof is not page-aligned, the boundary pages are only partially zeroed and remain uptodate. As a result, the client may return stale data after a successful insert/collapse range operation. For example, with 4K pages: page 0 page 1 page 2 0------4K 4K------8K 8K------12K ^ ^ off=2K old_eof=10K Page 1 is removed from the page cache, while the boundary pages are only partially zeroed. After COPYCHUNK moves the data on the server, these cached pages may still return stale data. This can be reproduced on a CIFS mount: bash -c ' FILE=/mnt/scratch/repro # Use a 6 KiB file so EOF is not page-aligned. dd if=/dev/urandom of=/tmp/src bs=1K count=6 status=none # Expected: a 4 KiB hole followed by the original data. rm -f /tmp/expected truncate -s 4K /tmp/expected cat /tmp/src >> /tmp/expected cp /tmp/src "$FILE" # Prime the page cache before moving data on the server. cat "$FILE" > /dev/null fallocate --insert-range -o 0 -l 4K "$FILE" if cmp -s /tmp/expected "$FILE"; then echo "readback: OK" else echo "readback: STALE DATA" fi ' Fix this by writing back dirty data and discarding the page cache from the start of the page containing off to EOF before moving data on the server.

Why it matters now

EPSS 0.00121 1st percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.20, 6.6.160, 7.2.7 +1Red Hat: 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.19.12 to before 5.205.20Patch availableCNA
LinuxLinux6.0 and later6.6.160, 7.2.7, 7.3Patch availableCNA
  • Linux VendorLinux Affected 5.19.12 to before 5.20 Fixed in 5.20 Patch available CNA
  • Linux VendorLinux Affected 6.0 and later Fixed in 6.6.160, 7.2.7, 7.3 Patch available CNA

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*5.19.12 to before 6.0; 6.1 to before 6.6.160; 6.7 to before 7.2.7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.0:-:*:*:*:*:*:*6.0VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:*6.0 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.0:rc5:*:*:*:*:*:*6.0 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.0:rc6:*:*:*:*:*:*6.0 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.0:rc7:*:*:*:*:*:*6.0 rc7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*7.3 rc1VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.19.12 to before 6.0; 6.1 to before 6.6.160; 6.7 to before 7.2.7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.0:-:*:*:*:*:*:* Versions 6.0 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:* Versions 6.0 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.0:rc5:*:*:*:*:*:* Versions 6.0 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.0:rc6:*:*:*:*:*:* Versions 6.0 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.0:rc7:*:*:*:*:*:* Versions 6.0 rc7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:* Versions 7.3 rc1 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.20
  • Fix · CNA Linux (Linux) Fixed in 6.6.160, 7.2.7, 7.3

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Not affected: 5 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-98125
  2. 2026-10-03 Alias added: GHSA-mgrf-j38j-q2mg
  3. 2026-10-19 Fix available: Linux/[email protected] · CNA
  4. 2026-10-21 Fix available: Linux/Linux@52dd721b3de57e41261e08485b2bc62b22b80ebe, Linux/[email protected] · CNA
  5. 2026-10-21 1 new reference · CNA
  6. 2026-10-23 CVSS score added · NVD
  7. 2026-10-23 Weakness changed · NVD
  8. 2026-11-07 Affected versions changed · Red Hat

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources