# CVE-2026-89630: smb: client: restore the data_offset bound in is_valid_oplock_break()

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-09-11T19:45:25.697Z
- Modified: 2026-10-19T09:17:59.930Z
- Assigned by: Linux

## Description

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

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

Commit 83bfbd0bb902 ("cifs: Remove the RFC1002 header from smb_hdr")
changed the quantity this bound is measured against.  It used to be
srv->total_read minus the 4-byte RFC1002 preamble that total_read then
included, so it was the SMB message length.  The same commit stopped
counting the preamble, and the mechanical substitution to
srv->total_read - srv->pdu_size left an expression that is identically
zero: standard_receive3() reads MID_HEADER_SIZE() bytes and then exactly
pdu_length - MID_HEADER_SIZE() more, adding both to total_read.

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 is_valid_oplock_break()") no longer rejects
anything.  Use total_read, which is now the message length on its own.

(As written by CVE List.)

## Affected

- Linux Linux: from 83bfbd0bb9025f98fa62b44f93bd67466773d1db before 5b16a1967a01ad4496a7206a87c3eb16f1df2b05; from 83bfbd0bb9025f98fa62b44f93bd67466773d1db before ba22f575de9deeae4ae0859ca4315a7698226237; 78e718c5aa146063cd70d2cc68297c3ac41f31ee; from 6.18.56 before 6.19; 6.19 (not affected: before 6.19; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/5b16a1967a01ad4496a7206a87c3eb16f1df2b05>
- <https://git.kernel.org/stable/c/ba22f575de9deeae4ae0859ca4315a7698226237>

## Sources

- CVE List: [CVE-2026-89630](https://www.cve.org/CVERecord?id=CVE-2026-89630), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89630](https://nvd.nist.gov/vuln/detail/CVE-2026-89630), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89630 · Whole record: https://cve.day/CVE-2026-89630.json · Rebuilt by cve.day 2026-11-25T22:59:38.090Z
