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 929E838D6A8 for ; Sun, 18 Oct 2026 15:32:49 +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=1792337572; cv=none; b=ZJ06e9g8urvn0KyhRz4LVwdlYnUfI4Y4he8ghK+FrLwvhdr9TfYBkY0vVXmv+YlEYBDtF5/IOMdYaPicm3JhY6jemdASACNtIN/l2nmt40ttsjVj44CdGZNycBSMkRhnh13QGJHSAxHXrNzCgePU2UfLSLTA3ERbhiwbQPXHop4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337572; c=relaxed/simple; bh=GGicmljUJ321zf+637D68a9Xdhijf6hnR+3D/rghQmQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mVhPbedVhfZOnpVrbAULya5MxBpNyV4OPu9KMXEx2fLQ5OoletoNfnNbd+cbgm3Y9wkHEsP8Ey7o+ztiLRUhjexqbTyLNp19GkAqBlgaA4f7sVCGhiM1RiS0SEJuuMFh/H1o7XgX2vxpH5JWNEDMKqmNQWSZwh4tgW+D3h6OD18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PUkgpR81; 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="PUkgpR81" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A1C01F000C4; Sun, 18 Oct 2026 15:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337569; bh=nBXOdui/IVmknGlCbhh/VKjd9rw8cQVOg8Bc+IEuZw4=; h=From:To:Cc:Subject:Date:Reply-To; b=PUkgpR81Ydi+rYzLavjgouDH7i0KcEaYChtJd3hR8E7kb7U+gegkbURluZimSRYC5 LwOOtZNS4Pyx47NeF/8lUuHLSguc7sI+kg7vOVEPcQA7mdCa2iH+Gf9eOdBcWGRjaN 5fK7HXgjzMbodCOUJWthoWQ1lbarLXG/j0LPeWws= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98576: nfc: llcp: fix slab-out-of-bounds reads when logging service names Date: Sun, 18 Oct 2026 17:17:20 +0200 Message-ID: <2026101833-CVE-2026-98576-38ad@gregkh> X-Mailer: git-send-email 2.56.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=3667; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZqnJB/oV7olNmz2F0UQXumYL20r76Pi+fvH0G3c4atY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk1N+KE2Ld2kNrxc6bmkc8IaJg2n1VbPBOVa2q2sl iS87y7piGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIncEGOYK2L7Xe714xVHfP0e mTZWlO9u4/+9iGHB1pMmRX4rBJb9NJ/yvL+xduexi9FLAA== 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: nfc: llcp: fix slab-out-of-bounds reads when logging service names nfc_llcp_wks_sap() and nfc_llcp_build_sdreq_tlv() pass non-null- terminated strings to pr_debug() using the %s format specifier. The buffers are allocated via kmemdup() or come from netlink attributes and are not guaranteed to be null-terminated, causing __dynamic_pr_debug() to read beyond the allocated region: KASAN: slab-out-of-bounds Read in __dynamic_pr_debug Fix both call sites by using %.*s with the explicit length to limit the output to the actual length of the string. The Linux kernel CVE team has assigned CVE-2026-98576 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 5.10.271 with commit 75f7c5a42fa1483f5912279a749417c284ad708f Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 5.15.222 with commit 6d4ca872830e46fcca9c086bf19fa9bd2faf09d2 Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 6.1.189 with commit a143f7835faa4fe0178448289feea4f84eeee8d6 Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 6.6.158 with commit 75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 6.12.112 with commit 8afb6c194f5781798d3ab3edf243cf5a24a9d1f9 Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 6.18.55 with commit 8978dff632519712d1fa432991e1f2e857f90239 Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 7.2.9 with commit 4262b12277a3e056c95fc49e9c4d7bd97035d16c Issue introduced in 3.10 with commit d9b8d8e19b073096d3609bbd60f82148d128b555 and fixed in 7.3-rc5 with commit 7dcf371a35632f035baf77bcf2c129165f772ce4 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-98576 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: net/nfc/llcp_commands.c net/nfc/llcp_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/75f7c5a42fa1483f5912279a749417c284ad708f https://git.kernel.org/stable/c/6d4ca872830e46fcca9c086bf19fa9bd2faf09d2 https://git.kernel.org/stable/c/a143f7835faa4fe0178448289feea4f84eeee8d6 https://git.kernel.org/stable/c/75bfd9ef4da2fb49dac1f19880d2ac4ccd07b45b https://git.kernel.org/stable/c/8afb6c194f5781798d3ab3edf243cf5a24a9d1f9 https://git.kernel.org/stable/c/8978dff632519712d1fa432991e1f2e857f90239 https://git.kernel.org/stable/c/4262b12277a3e056c95fc49e9c4d7bd97035d16c https://git.kernel.org/stable/c/7dcf371a35632f035baf77bcf2c129165f772ce4