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=1795099734; b=UK3J4nlJSc1e3uGczSl6Z+pe8QNJxHDj8PJ2wEbsJ+a7VWuqpfoXEgiD0VjjMZcFbJBh aXzNdC9hF0M5rAAeBTChmIU8jHd1dNJpDpe1uBo8EnA69v3682mZDP/eF5xsruhSpL9hF kB7uA4ppZcoaZAQeqrGd6rypeK8+KZSoUiUjQw5OIDOWGQ6jd7cvBi43R45AFProYw0gG sbIilv6xE93xnY7K0iF39xRkn1oZ0RaHMtbfLe7GhQJ48NEacpILZ7rSVkWLSwjR+sfLT ogVNBFvK3GYGUsoxVF1QdtQV5hcIDRCaCNVAuEvp64a2GiczXKd2dNn08xw64qyhVxA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099734; 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=d58oa0xWNL7hHJpt1e+rgN3qQREleUEYaet8b9VfX3g=; b=emnlBmK+Ll74CSdbeU9s9Ahsko+6lztpL4S7DTzPMl6VfAmCzTPmTgTLGNtXb7z741bG 6mwnAyQ1D9mmHaU6DoQ3ht2xjg1K4A0nwbNBA5O+vasV1cKrCD4fw+IiWzl79PNGL6Bnf K4PqwF6XILZhfa/ySMKy+pFFc4yDOhYI6gSF240dMSgfuKxUZkjVwpd+UjHM3droxgNJm xSqR/LVepudcf/t177ZWPOiJqeDPtTUnsRD+HZVkS4R1NhCi/FnhHKCTsTC+aNEVBjUSN vq0J5GrJI95H8c+MaeQIUaRkpTcLFl4PnIzg9RO8ve6Qz7ye4pyWpT+w4sv4tQcWQWw== 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=Tf1J+jp2; 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 C678B6071667 for ; Thu, 19 Nov 2026 14:48:54 +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=Tf1J+jp2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CA351F000C8; Thu, 19 Nov 2026 14:48:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099734; bh=d58oa0xWNL7hHJpt1e+rgN3qQREleUEYaet8b9VfX3g=; h=From:To:Cc:Subject:Date:Reply-To; b=Tf1J+jp2y/eM66rpaustfdBpR+oTfXhf88PI/kXWpmVoSXUjoddd7S7DQgu8WBAuN YDq5nnk2OGh914hGaiChmaapKNpfsJR2lFfS3At0v7GMK2rZ9aGSwvz0rAwcDAIwOX W53/+hHlnF9AlifvCHlPtYTpjcx73dSJ1YViFPrw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99442: nvmem: core: Fix OOB read for bit offsets of more than one byte Date: Thu, 19 Nov 2026 15:25:40 +0100 Message-ID: <2026111905-CVE-2026-99442-f783@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=2722; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iGg1k02VHccOFvfojySNbvCXcWNmR+teKDj4oE9BKr0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2VpFo/TseQUnzJ+0sbO6kfGcBJ/3QQ2LJ8YCN3cV+ q57ptDVEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZcJhhwdlibcUoo+79AhWy Jv9nJ/PIz+Vcz7CgR1T92AzFjfZzvjg0xD35drVcUHguAA== 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: nvmem: core: Fix OOB read for bit offsets of more than one byte When the bit offset is BITS_PER_BYTE or larger the read position is advanced by `bytes_offset`. This is not taken into account in the per-byte read loop which still reads `cell->bytes` resulting in an out of bounds read of `bytes_offset` bytes. The information read OOB does not leak directly as the erroneously read bits are cleared. Detected by KASAN while looking for a use-after-free in simplefb.c. The Linux kernel CVE team has assigned CVE-2026-99442 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.31 with commit a4f865ecdbdd2b466f7914c293246c3c13654fc4 and fixed in 6.12.117 with commit 2b76fa7fb0a44ded2367e51b1d296f962854301f Issue introduced in 6.15 with commit 7a06ef75107799675ea6e4d73b9df37e18e352a8 and fixed in 6.18.61 with commit 006ad1a97ab79f0173e44d82f75340243b54024b Issue introduced in 6.15 with commit 7a06ef75107799675ea6e4d73b9df37e18e352a8 and fixed in 7.3.2 with commit 91895cfc28aed7c5daad13475c68588a844843d8 Issue introduced in 6.15 with commit 7a06ef75107799675ea6e4d73b9df37e18e352a8 and fixed in 7.4-rc1 with commit 24530401e8001aaa637dd5007fcdc6fbc00300be Issue introduced in 6.14.9 with commit 4ff5631498091f82f3abdf7db15e888fe60ee572 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-99442 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: drivers/nvmem/core.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/2b76fa7fb0a44ded2367e51b1d296f962854301f https://git.kernel.org/stable/c/006ad1a97ab79f0173e44d82f75340243b54024b https://git.kernel.org/stable/c/91895cfc28aed7c5daad13475c68588a844843d8 https://git.kernel.org/stable/c/24530401e8001aaa637dd5007fcdc6fbc00300be