From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100772; b=tZtuP73Hbf1JvxrOnjLyPLT/lI/HbFnEjK2ECCLAH/epege7p5Wvqurvycuzy6xzKd3J Yb7qMBXY5i5DS50Xugpj+XdV/wB1zcdCYaOpLpqHbZdoHW2cji7Iu0Ucf6luEzv8+dXKr L/uH3JUmGz64b7koTEvSf6SLGhuquhsF5lpskH4asVKAKAlMkBTHRp4J97wZDlsAUwu4z b8Jt6EGbQv+fT3pk1uOOHBXET0uOQspocv0d++rO/hM1sjIadKS00hW15OQ2I9EWqvZ94 vHYhVxAnpjII7YtJ7JLFypzihBgY/UV0vPXciw7MH1YqK0oADl9zlUjIF57Zm1Z+wiQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100772; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=DHGrcS8/JT4WJmPTNA/w+G69MEMb4q/rfP1Htiao96Q=; b=z033AgFIG62z1QQKwuOh09POSKgUCYvuc7W9ks+ZlY5IQOQ14MuDLPKiEPKH0oss7oxG jIZUPFtvwglY9cveZVlvTCmPHd76HgpUz2nV24BEJ2jX32bd23PKDjvatUMQcrTB6mdsA TOogW6ulROmB1Yzhhi1qLeVXCSWM3V0addqdXeJoL6FRKGgOIvscbSfUFf2HU/yiGp7Wg iE6gt3xZ/dZMiej9bdu4042AnDZ5A2KZJbEWShOUYGmWsbVVtNvSvTAV02HGgwY6NRS5W cZhPY1E9iv1cYXbi/4ZYYvpwLsgouQkHQav39nqGDP+BYj2Mas6yKvNWzRvdyztI1Fw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=bRMyWsDn; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 852BE606A324 for ; Thu, 19 Nov 2026 15:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=bRMyWsDn Received: by smtp.kernel.org (Postfix) with ESMTPSA id 683E01F000C4; Thu, 19 Nov 2026 15:06:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100772; bh=DHGrcS8/JT4WJmPTNA/w+G69MEMb4q/rfP1Htiao96Q=; h=From:To:Cc:Subject:Date:Reply-To; b=bRMyWsDngOwcGH+9zOVp2S429ebyR1XRFdGTTS93KrHQcKKbcaKETrCCIZhm6zBgA c2FtdRce05w10GrHNa+rLz2lHLvhcBggFSwL6r1MqChGaeSY9OmEvEoy6knmbXJxw7 2LL8E4X/E2VqlOjRysnmiSPoySKB1ezDeVkMlHCg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99549: smb: client: do not pass a NULL buf to is_oplock_break() Date: Thu, 19 Nov 2026 15:27:27 +0100 Message-ID: <2026111925-CVE-2026-99549-45e1@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3346; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HfuaC8OOAFnYGQciOqO3YKkpJxB7B9sgw9AfXYzt7XU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2WYm+mn9aRad9XPRkYqzCz1X31/04UfI+Q0zDdbsu PJV0P1yeEcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMpOkZwzyjjsl8WZqhqc8F FKO1VyR28Rx/N4dhfvT7Qx/OvahZ7f1z6dRrt9XiD/XtuwgA 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: smb: client: do not pass a NULL buf to is_oplock_break() receive_encrypted_read() sets *num_mids = 1 and never writes the caller's bufs[]. Offload returns -1 with *num_mids = 0, so the demultiplex thread skips the frame. The inline decrypt path returns 0 even when smb2_find_mid() fails. cifs_demultiplex_thread() then treats mids[i] == NULL as an oplock break and calls is_oplock_break(bufs[i], server) with bufs[i] still NULL. smb2_is_valid_oplock_break() reads hdr.Command at offset 12 and oopses. A large encrypted READ whose MessageId does not match is enough to panic cifsd. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 100 Comm: cifsd RIP: smb2_is_valid_oplock_break+0xc8/0x2270 [cifs] cifs_demultiplex_thread Kernel panic - not syncing: Fatal exception Return -1 when inline decrypt finds no mid, and skip is_oplock_break() plus the unknown-frame dump when bufs[i] is NULL. receive_encrypted_standard() already assigns bufs[*num_mids]. The Linux kernel CVE team has assigned CVE-2026-99549 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit c42a6abe3012832a68a371dabe17c2ced97e62ad and fixed in 6.12.117 with commit 6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241 Issue introduced in 4.11 with commit c42a6abe3012832a68a371dabe17c2ced97e62ad and fixed in 6.18.61 with commit ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88 Issue introduced in 4.11 with commit c42a6abe3012832a68a371dabe17c2ced97e62ad and fixed in 7.3.2 with commit 4bf4fb7f323402df1c57982365c8ac2498b89d10 Issue introduced in 4.11 with commit c42a6abe3012832a68a371dabe17c2ced97e62ad and fixed in 7.4-rc1 with commit 2225ab306575e424b3dad2ee1be2521c89249d15 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-99549 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/client/connect.c fs/smb/client/smb2ops.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/6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241 https://git.kernel.org/stable/c/ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88 https://git.kernel.org/stable/c/4bf4fb7f323402df1c57982365c8ac2498b89d10 https://git.kernel.org/stable/c/2225ab306575e424b3dad2ee1be2521c89249d15