UBUNTU-CVE-2026-89630: Critical severity ubuntu/linux-hwe-edge vulnerability
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 smbhdr") 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 MIDHEADERSIZE() 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 isvalidoplockbreak()") no longer rejects anything. Use totalread, which is now the message length on its own.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1