All vulnerabilities

Servers and applications

CVE-2026-89640

cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0

Severity
High 7.1
Published
11 Sept 2026
Last changed
30 Oct 2026
Added to UpHeron
30 Oct 2026
Fixed in
5.15.224, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4
Exploit chance
0.1% in the next 30 daysHigher than 2% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Sources
CVE Program

Description

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

With len == 0 (clone to EOF), the effective length is computed as:

len = src_inode->i_size - off;

If off > i_size, this is a negative loff_t, corrupting the ByteCount in the FSCTL_DUPLICATE_EXTENTS_TO_FILE request and inverting the range in filemap_write_and_wait_range(). The existing off >= i_size check fires only after the ioctl has already been sent.

Snapshot i_size_read() once for both the bounds check and the length calculation, eliminating the TOCTOU and 32-bit torn-read risk. Reject off > src_size with -EINVAL. Treat off == src_size as a no-op, consistent with __generic_remap_file_range_prep().

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.2.4
  • From 6.13 before 6.18.50
  • From 6.7 before 6.12.109
  • From 6.2 before 6.6.157
All 7 release lines
  • From 4.5 before 5.10.273
  • From 5.11 before 5.15.224
  • From 5.16 before 6.1.188
  • From 6.2 before 6.6.157
  • From 6.7 before 6.12.109
  • From 6.13 before 6.18.50
  • From 6.19 before 7.2.4

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-89640