Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89630

smb: client: restore the data_offset bound in is_valid_oplock_break()
Back to all
CVE

CVE-2026-89630

smb: client: restore the data_offset bound in is_valid_oplock_break()

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

smb: client: restore the dataoffset bound in isvalidoplockbreak()

Commit 83bfbd0bb902 ("cifs: Remove the RFC1002 header from smb_hdr")

changed the quantity this bound is measured against.  It used to be

srv->totalread minus the 4-byte RFC1002 preamble that totalread then

included, so it was the SMB message length.  The same commit stopped

counting the preamble, and the mechanical substitution to

srv->totalread - srv->pdusize left an expression that is identically

zero: standardreceive3() reads MIDHEADER_SIZE() bytes and then exactly

pdulength - MIDHEADERSIZE() more, adding both to totalread.

len is therefore 0, the subtraction below it wraps, and no __u32

DataOffset can exceed the result, so the check from commit 097f5863b1a0

("cifs: read overflow in isvalidoplock_break()") no longer rejects

anything.  Use total_read, which is now the message length on its own.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/5b16a1967a01ad4496a7206a87c3eb16f1df2b05, https://git.kernel.org/stable/c/ba22f575de9deeae4ae0859ca4315a7698226237, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89630.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89630, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00539%
EPSS Percentile
0.43566%
Introduced Version
83bfbd0bb9025f98fa62b44f93bd67466773d1db,6.19.0,0
Fix Available
ba22f575de9deeae4ae0859ca4315a7698226237,7.2.4

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading