Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 45846386C2A for ; Fri, 3 Apr 2026 15:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229906; cv=none; b=k17pQAv+V7OiSud3fv7MnLsUY0/Yk5fFIdrDxGzYSp0hlNad/7Aaivwe007InKbCZQF0crbNNU2HyQ/ADNUIlYp7nkW4EiF3xD92mFbifQiKdYfY3qBdXprorx/+fyx94CzHSzxrlMI+ffLzDs0v/f90QaBI4JvULGBr/UrXV5A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229906; c=relaxed/simple; bh=44DBOZn1eR1YzyD8QP1GQy75DezLv7BIkYN1ofvQiU8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uAfPguiLZ52+agg5MfGzai01vXaOBJ79VlRCxuYeOW+pSmMz2lzDFcxEKVbQKhMC8a4VaIOEEf4Fi8LJrJMlcdd2eu9Euh2le76XpF8inMUt5heTciNGkCuhHW7Ob6DOq99tHg5yk/yGXxQbVyyV9/hLFYB2AU0/ymM2j5fjwkA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CgfpOgRq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CgfpOgRq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66A40C4CEF7; Fri, 3 Apr 2026 15:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775229905; bh=44DBOZn1eR1YzyD8QP1GQy75DezLv7BIkYN1ofvQiU8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CgfpOgRqyOHOr++xAhAETCPDW+yxj7Nh7cCZ/+HjMpq0A7q7SXvSksBn6dnQJvsQf 3Ya0Nhim4M3DVSzxddZS+ND5K4adwGnwrFrrrBW8hQiRpHLOgYoqWGoM4zYH8EZ0jG Ebox1PqZCMnJfcoO3L53p+PySsivL++XgdBL3cNY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23447: net: usb: cdc_ncm: add ndpoffset to NDP32 nframes bounds check Date: Fri, 3 Apr 2026 17:18:28 +0200 Message-ID: <2026040315-CVE-2026-23447-dd25@gregkh> X-Mailer: git-send-email 2.53.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=3137; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fla0eI+kSb1iPXR2Fh/XwuyKGFc2uJiX6x6PpD8z2+c=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnb5lLz/7+jmfhp6qCXjeRY/Kis+WEjoXPMnm7au6LE sWpBy9P6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ3J7NMD9VYnv2LqnQrJgF wYubP5pO6FP6WsSwYCEr+7wZlkfrtL4Umki++mW1nYOjBwA= 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: net: usb: cdc_ncm: add ndpoffset to NDP32 nframes bounds check The same bounds-check bug fixed for NDP16 in the previous patch also exists in cdc_ncm_rx_verify_ndp32(). The DPE array size is validated against the total skb length without accounting for ndpoffset, allowing out-of-bounds reads when the NDP32 is placed near the end of the NTB. Add ndpoffset to the nframes bounds check and use struct_size_t() to express the NDP-plus-DPE-array size more clearly. Compile-tested only. The Linux kernel CVE team has assigned CVE-2026-23447 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 0fa81b304a7973a499f844176ca031109487dd31 and fixed in 6.6.130 with commit 125f932a76a97904ef8a555f1dd53e5d0e288c54 Issue introduced in 5.7 with commit 0fa81b304a7973a499f844176ca031109487dd31 and fixed in 6.12.78 with commit af0d1613d6751489dbf9f69aac1123f0b1e566e5 Issue introduced in 5.7 with commit 0fa81b304a7973a499f844176ca031109487dd31 and fixed in 6.18.20 with commit a5bd5a2710310c965ea4153cba4210988a3454e2 Issue introduced in 5.7 with commit 0fa81b304a7973a499f844176ca031109487dd31 and fixed in 6.19.10 with commit de70da1fb1d152e981ecb3157f7ec2b633005c16 Issue introduced in 5.7 with commit 0fa81b304a7973a499f844176ca031109487dd31 and fixed in 7.0-rc5 with commit 77914255155e68a20aa41175edeecf8121dac391 Issue introduced in 4.14.317 with commit 8cf7db86a8984ffa3a3388a8df12bc0aa4c79bd7 Issue introduced in 4.19.285 with commit 4ca8b8855264cf1439cdab3da7049bd1e3c2a9e6 Issue introduced in 5.4.245 with commit a270ca35a9499b58366d696d3290eaa4697a42db 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-23447 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/net/usb/cdc_ncm.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/125f932a76a97904ef8a555f1dd53e5d0e288c54 https://git.kernel.org/stable/c/af0d1613d6751489dbf9f69aac1123f0b1e566e5 https://git.kernel.org/stable/c/a5bd5a2710310c965ea4153cba4210988a3454e2 https://git.kernel.org/stable/c/de70da1fb1d152e981ecb3157f7ec2b633005c16 https://git.kernel.org/stable/c/77914255155e68a20aa41175edeecf8121dac391