PatchSiren cyber security CVE debrief
CVE-2026-89640 Linux CVE debrief
A Linux kernel vulnerability has been resolved, which could cause a loff_t underflow in cifs_remap_file_range() when len == 0. This issue may impact systems using the Linux kernel. The vulnerability was addressed by rejecting off > src_size with -EINVAL and treating off == src_size as a no-op. This fix eliminates the TOCTOU and 32-bit torn-read risk associated with the original code. Linux system administrators and users should verify their kernel versions for exposure and apply patches from Linux vendors.
- Vendor
- Linux
- Product
- Unknown
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-11
- Original CVE updated
- 2026-10-19
- Advisory published
- 2026-09-11
- Advisory updated
- 2026-10-19
Who should care
Linux system administrators and users, particularly those responsible for maintaining and securing Linux-based systems, should be aware of this vulnerability. They should verify their kernel versions for exposure and apply patches from Linux vendors to mitigate the risk. Additionally, security teams and vulnerability management teams should review the affected scope, severity, and vendor guidance to ensure proper mitigation and remediation.
Why it matters
The Linux kernel vulnerability could cause a loff_t underflow in cifs_remap_file_range() when len == 0, potentially impacting systems using the Linux kernel.
- Verify Linux kernel versions for exposure
- Apply patches from Linux vendors
Technical summary
The Linux kernel vulnerability causes a loff_t underflow in cifs_remap_file_range() when len == 0, potentially impacting systems using the Linux kernel. The vulnerability was addressed by rejecting off > src_size with -EINVAL and treating off == src_size as a no-op. This fix eliminates the TOCTOU and 32-bit torn-read risk associated with the original code. 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.
Defensive priority
Medium
Recommended defensive actions
- Review and apply patches from Linux vendors
- Inventory Linux systems for exposure
- Monitor Linux systems for anomalies
- Verify Linux kernel versions for exposure
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE record and source item provide details about the vulnerability, including its description and affected versions. The vulnerability was introduced in the Linux kernel's cifs_remap_file_range() function, which did not properly handle the case where len == 0. This led to a loff_t underflow, potentially corrupting the ByteCount in the FSCTL_DUPLICATE_EXTENTS_TO_FILE request and inverting the range in filemap_write_and_wait_range(). The fix involves snapshot i_size_read() once for both the bounds check and the length calculation, eliminating the TOCTOU and 32-bit torn-read risk.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-89640 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-89640
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-89640 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-89640
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/89xxx/CVE-2026-89640.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/f3d1ae1e6bc4a9f559185b6e7bd2b6375ec2fdd4
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/7f62817fe049b0f3652518c1ba72631ec1e0a322
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/b098f5e5858797827666e6cd73033f52fc39b5f6
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/c2a0dcb5a7a1516aa6eb6d5cedca6a8e76527028
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/b057ca17b656345d04669cb87f2aff9b31d873db
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/6c322f5cf7476ded7a9a20f7be72462065a03c68
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.