{"id":"CVE-2026-89640","title":"kernel: cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0 (CVE-2026-89640)","summary":"A flaw was found in the Linux kernel's Common Internet File System (CIFS) implementation. When performing a file range remapping operation with a zero length, an integer underflow can occur if the offset exceeds the file size. This can lea…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":"CWE-787","vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","affected":["enterprise_linux 10","enterprise_linux 8","enterprise_linux 9","openshift_container_platform 4"],"published":"2026-09-11","updated":"2026-09-15","sourceUpdated":"2026-09-15T08:13:26+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89640.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89640.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-89640"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2532516"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89640"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89640"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89640.mbox"},{"url":"https://git.kernel.org/stable/c/f3d1ae1e6bc4a9f559185b6e7bd2b6375ec2fdd4"},{"url":"https://git.kernel.org/stable/c/7f62817fe049b0f3652518c1ba72631ec1e0a322"},{"url":"https://git.kernel.org/stable/c/b098f5e5858797827666e6cd73033f52fc39b5f6"},{"url":"https://git.kernel.org/stable/c/c2a0dcb5a7a1516aa6eb6d5cedca6a8e76527028"},{"url":"https://git.kernel.org/stable/c/b057ca17b656345d04669cb87f2aff9b31d873db"},{"url":"https://git.kernel.org/stable/c/6c322f5cf7476ded7a9a20f7be72462065a03c68"}],"tags":["csaf","vex","red-hat","cve.org"],"epss":0.00126,"epssPercentile":0.02626,"scores":{"vendor":5.5,"cna":7.1},"ingestedAt":"2026-09-14T15:23:07.450Z","slug":"CVE-2026-89640","body":"## Overview\n\nA flaw was found in the Linux kernel's Common Internet File System (CIFS) implementation. When performing a file range remapping operation with a zero length, an integer underflow can occur if the offset exceeds the file size. This can lead to corruption of the byte count in file system control requests, potentially causing unexpected behavior or data integrity issues. The vulnerability is resolved by correctly validating the offset against the file size before calculating the length, preventing the underflow.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-09-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89640.json)\n\n**kernel: cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0** — rated Low by Red Hat. Released 2026-09-11, updated 2026-09-15.\n\nAffected:\n\n- Red Hat Enterprise Linux 10\n- Red Hat Enterprise Linux 8\n- Red Hat Enterprise Linux 9\n- Red Hat OpenShift Container Platform 4\n\nNo fix planned:\n\n- Red Hat Enterprise Linux 10\n- Red Hat Enterprise Linux 8\n- Red Hat Enterprise Linux 9\n- Red Hat OpenShift Container Platform 4\n\nNot affected:\n\n- Red Hat Enterprise Linux 6\n- Red Hat Enterprise Linux 7\n\n## Remediation\n\nFix deferred","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":203929,"id":"CVE-2026-89640","ts":1789490226894,"field":"cvss","old":"7.1","new":"5.5"},{"seq":203928,"id":"CVE-2026-89640","ts":1789490226894,"field":"severity","old":"high","new":"medium"},{"seq":197819,"id":"CVE-2026-89640","ts":1789384320533,"field":"cvss","old":"6.3","new":"7.1"},{"seq":197818,"id":"CVE-2026-89640","ts":1789384320533,"field":"severity","old":"medium","new":"high"},{"seq":183721,"id":"CVE-2026-89640","ts":1789356677100,"field":"cvss","old":"7.1","new":"6.3"},{"seq":183720,"id":"CVE-2026-89640","ts":1789356677100,"field":"severity","old":"high","new":"medium"},{"seq":153484,"id":"CVE-2026-89640","ts":1789285350703,"field":"cvss","old":null,"new":"7.1"},{"seq":153483,"id":"CVE-2026-89640","ts":1789285350703,"field":"severity","old":"none","new":"high"},{"seq":147089,"id":"CVE-2026-89640","ts":1789270195120,"field":"cvss","old":null,"new":"6.3"},{"seq":147088,"id":"CVE-2026-89640","ts":1789270195120,"field":"severity","old":"none","new":"medium"},{"seq":108844,"id":"CVE-2026-89640","ts":1789183729220,"field":"cvss","old":null,"new":"6.3"},{"seq":108843,"id":"CVE-2026-89640","ts":1789183729220,"field":"severity","old":"none","new":"medium"}]}