Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 486944E532A for ; Thu, 17 Sep 2026 16:18:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661904; cv=none; b=fRc8IOEFG7lSsBx1kb6jD2CDg791mFtw1V/Rp6ti+QdMO6fnVVVkVyJz0s8rZtdnA563kNvz5LDGZA1WdiJd8ub2hDwmyL583/0HX0QCvDJrmeJsAq4QzzG9erSek9eibdPYQDhqidZtNIUnb+iEwVJUvA+HcAzJR3Asjx+4DBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661904; c=relaxed/simple; bh=2wsIqiLzAlTvr/rk7GB2Fk4KHHhx7MhJOX/hfiJCs78=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I5z2xCgisP/Kuk0/btGR7APmntL8MsPRgmGBEiFCJ5iQikz6aEG20QE2fjmDWlQihqVxJhYG2avL6DpFn+gxlOtDHemeUTIx3eYArolmy7hA6bAudNWQU/twRo4LSrXmeeIXZJQYDHjyZ8GsCBJVP8m8kfFE9dpvxfPJFn0UtcQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z3ejyvbJ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="z3ejyvbJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D72B1F00893; Thu, 17 Sep 2026 16:18:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661903; bh=tiSNSIpaqECiJI8llZ4cRyFgfYqPfs1ZPZ8r87KGpFE=; h=From:To:Cc:Subject:Date:Reply-To; b=z3ejyvbJdm/INSzIkbkThGNPp9UzYUywWNkBt3/ICsIpbgJY4mb4f0ITb0scQ3DvE kSlb8F6hoUyP2M+5tnx2hGF6gM5G5z9+Scai7kBBnEcvkRyb4O0QCk7TPIkAMZ2WXB teBw8VoG53jaZEblnW3qmNam2wSYuqVIk0IvjfZE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90176: ksmbd: Do not skip lock checks for single-byte ranges Date: Thu, 17 Sep 2026 17:10:06 +0100 Message-ID: <2026091728-CVE-2026-90176-b470@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3293; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fn5d4ByQ4VlP7+ImtaEQ+GqadwzXMAHTjOkUlcqHFRg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBGoDDzi5vDduOXWgbEmrcvVmL6t9tvEqEm4+LtKyS fqOPRwdsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMJEDkxnmx87IM1VdziI/x9jw zspAiT2TJ+jGMczhrmJkfiI61/p3cnPGFqW8S8JSrI4A X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ksmbd: Do not skip lock checks for single-byte ranges check_lock_range() uses inclusive ranges. Its callers pass the end offset as start + length - 1, so start == end represents a valid single-byte range rather than an empty range. The start == end shortcut therefore skips mandatory byte-range lock checks for one-byte reads, writes, copychunk operations and one-byte truncate ranges. A conflicting lock covering that byte is not checked and the operation is allowed to proceed. Remove the shortcut. The truncate size == inode->i_size case is already handled by only calling check_lock_range() when the new size differs from the current file size. The Linux kernel CVE team has assigned CVE-2026-90176 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.160 with commit 52fcbb92e0d3acfd1448b2a43b6595d540da5295 and fixed in 6.1.188 with commit a89cc145832e81c32199d4ca2e1ea8bd51ed601d Issue introduced in 6.6.120 with commit da29cd197246c85c0473259f1cad897d9d28faea and fixed in 6.6.157 with commit 993e0158331d37c04da18efe551b5e1e35fb3078 Issue introduced in 6.12.64 with commit a6f4cfa3783804336491e0edcb250c25f9b59d33 and fixed in 6.12.110 with commit f751d6e39d4c937c45f8fedc66699aa7d2d52288 Issue introduced in 6.18.3 with commit 571204e4758a528fbd67330bd4b0dfbdafb33dd8 and fixed in 6.18.52 with commit 84c2d8e807ac489f5c91769293fb15dfdae8bae8 Issue introduced in 6.19 with commit 5d510ac31626ed157d2182149559430350cf2104 and fixed in 7.2.6 with commit 07a9e289ff7edcc004f58952405f8a65c4e37512 Issue introduced in 6.19 with commit 5d510ac31626ed157d2182149559430350cf2104 and fixed in 7.3-rc1 with commit d40c24634fe077a0dc91fd11fccf44ce12b454d5 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-90176 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/smb/server/vfs.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a89cc145832e81c32199d4ca2e1ea8bd51ed601d https://git.kernel.org/stable/c/993e0158331d37c04da18efe551b5e1e35fb3078 https://git.kernel.org/stable/c/f751d6e39d4c937c45f8fedc66699aa7d2d52288 https://git.kernel.org/stable/c/84c2d8e807ac489f5c91769293fb15dfdae8bae8 https://git.kernel.org/stable/c/07a9e289ff7edcc004f58952405f8a65c4e37512 https://git.kernel.org/stable/c/d40c24634fe077a0dc91fd11fccf44ce12b454d5