{"id":"CVE-2026-89630","aliases":["CVE-2026-89630"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: restore the data_offset bound in is_valid_oplock_break()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: restore the data_offset bound in is_valid_oplock_break()\n\nCommit 83bfbd0bb902 (\"cifs: Remove the RFC1002 header from smb_hdr\")\nchanged the quantity this bound is measured against.  It used to be\nsrv->total_read minus the 4-byte RFC1002 preamble that total_read then\nincluded, so it was the SMB message length.  The same commit stopped\ncounting the preamble, and the mechanical substitution to\nsrv->total_read - srv->pdu_size left an expression that is identically\nzero: standard_receive3() reads MID_HEADER_SIZE() bytes and then exactly\npdu_length - MID_HEADER_SIZE() more, adding both to total_read.\n\nlen is therefore 0, the subtraction below it wraps, and no __u32\nDataOffset can exceed the result, so the check from commit 097f5863b1a0\n(\"cifs: read overflow in is_valid_oplock_break()\") no longer rejects\nanything.  Use total_read, which is now the message length on its own.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: restore the data_offset bound in is_valid_oplock_break()\n\nCommit 83bfbd0bb902 (\"cifs: Remove the RFC1002 header from smb_hdr\")\nchanged the quantity this bound is measured against.  It used to be\nsrv->total_read minus the 4-byte RFC1002 preamble that total_read then\nincluded, so it was the SMB message length.  The same commit stopped\ncounting the preamble, and the mechanical substitution to\nsrv->total_read - srv->pdu_size left an expression that is identically\nzero: standard_receive3() reads MID_HEADER_SIZE() bytes and then exactly\npdu_length - MID_HEADER_SIZE() more, adding both to total_read.\n\nlen is therefore 0, the subtraction below it wraps, and no __u32\nDataOffset can exceed the result, so the check from commit 097f5863b1a0\n(\"cifs: read overflow in is_valid_oplock_break()\") no longer rejects\nanything.  Use total_read, which is now the message length on its own.","source":"cvelist"}],"published":"2026-09-11T19:45:25.697Z","modified":"2026-10-19T09:17:59.930Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"83bfbd0bb9025f98fa62b44f93bd67466773d1db","fixed":"5b16a1967a01ad4496a7206a87c3eb16f1df2b05","status":"affected"},{"type":"git","introduced":"83bfbd0bb9025f98fa62b44f93bd67466773d1db","fixed":"ba22f575de9deeae4ae0859ca4315a7698226237","status":"affected"},{"type":"git","version":"78e718c5aa146063cd70d2cc68297c3ac41f31ee","status":"affected"},{"type":"semver","introduced":"6.18.56","fixed":"6.19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5b16a1967a01ad4496a7206a87c3eb16f1df2b05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba22f575de9deeae4ae0859ca4315a7698226237","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89630","url":"https://www.cve.org/CVERecord?id=CVE-2026-89630","licence":"CVE Terms of Use","modified":"2026-10-19T08:50:02.437Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89630","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89630","licence":"Public domain","modified":"2026-10-19T09:17:59.930Z"}],"updatedAt":"2026-11-25T22:59:38.090Z","epss":{"score":0.00396,"percentile":0.35925,"date":"2026-12-01T12:00:22.000Z"}}