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 A95583A0E99 for ; Sun, 19 Jul 2026 15:01:01 +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=1784473262; cv=none; b=gL/zhqqfzdfH67FsYxHCABlGyBTNqjRHuwiGF1k80z/BRQBFR0vUSNJJfc6yWDuuc1tgbhmagmJPKMpJpw8Zk7uCxN1Jniy3IyLK2sThVNW7EBmQQC0OvV+QcvQ3UEjRLMih9OtETlYUWYDML5abSt7u9a28LwZmUZQREpt7cyk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473262; c=relaxed/simple; bh=NJnIY+K2pMW3pRwcxPj/mx9VyciPm+434Jc+wPMfS9U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dpCJR7hn/nC/srNizso2hgTXoaF3zWljAWQzYL/5z/Vzpfu4oRRi7XRf6vjcYDc6RnL+rMfgN7+aigT8jPcyarKAA/FqQaBUppnLUBa74L8h4JBEoHz6bYKs4ykyAWwJmDtDYv5rwDPAE15nyPBByCzscXV3WvOI4wVigCfI2yY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fdgJ00BK; 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="fdgJ00BK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 032281F000E9; Sun, 19 Jul 2026 15:01:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473261; bh=zoMYPVpUBiLuAEWNDB/nBesM1zUgf17W5d/zUjz5GOI=; h=From:To:Cc:Subject:Date:Reply-To; b=fdgJ00BKGBygxJOPPQjngqNMwAtRbVqdaLTdMm9FcOUzVr4w9dj51UT0NaeYYJ59j U9pFtLZ6h+74iizPWai+OnAjv7cBMMoBKdvnDBhwyK9I2o2k5qXHZxd8DbA7WSdfA/ lBqI78Dt8yyw7fHCEeNEDBb8ihennBQ+6MzkP6bg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63915: nfc: hci: fix out-of-bounds read in HCP header parsing Date: Sun, 19 Jul 2026 16:56:15 +0200 Message-ID: <2026071947-CVE-2026-63915-8654@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=3956; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RshxfFP+/g9Q1mgCoyzGT0Dgrc9tH0PpqoVUH0GK5Ds=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT4vnTBdqtWQLvd9471K+te00f+/HP1QcnjTeKlHw5 nMw3svYEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN50MGwoF9OZfb3W30aLjPz lMUrHhUHP57BxzA/KuxuT5rWaZWEYs+CRPFvO5Kal60AAA== 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: hci: fix out-of-bounds read in HCP header parsing Both nfc_hci_recv_from_llc() and nci_hci_data_received_cb() read packet->header from skb->data at function entry without first checking that the buffer holds at least one byte. A malicious NFC peer can send a 0-byte HCP frame that passes through the SHDLC layer and reaches these functions, causing an out-of-bounds heap read of packet->header. The same 0-byte frame, if queued as a non-final fragment, also causes the reassembly loop to underflow msg_len to UINT_MAX, triggering skb_over_panic() when the reassembled skb is written. Fix this by adding a pskb_may_pull() check at the entry of each function before packet->header is first accessed. The existing pskb_may_pull() checks before the reassembled hcp_skb is cast to struct hcp_packet remain in place to guard the 2-byte HCP message header. The Linux kernel CVE team has assigned CVE-2026-63915 to this issue. Affected and fixed versions =========================== Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 5.10.259 with commit ed6d5d97dad0334a7f43d218753429cbe2f70a4f Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 5.15.210 with commit b99366d74b535d0cadb1ef73e04639415d9ff3b7 Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 6.1.176 with commit 37382293f174b82a0616c8295e32b1fc8e13d1ed Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 6.6.143 with commit c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98 Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 6.12.93 with commit 1905f5ec3641b2b234bb63549c8ca11ab85466eb Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 6.18.35 with commit 22d41b176b9989efd21c3b2d3abf6728f05b9d9a Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 7.0.12 with commit 83b1362edc9d6ae376c6f36da116e2c70f2e70a6 Issue introduced in 3.5 with commit 8b8d2e08bf0d50193931afd27482a59376b66b2b and fixed in 7.1 with commit f040e590c035bfd9553fe79ee9585caf1b14d67b 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-63915 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/hci/core.c net/nfc/nci/hci.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/ed6d5d97dad0334a7f43d218753429cbe2f70a4f https://git.kernel.org/stable/c/b99366d74b535d0cadb1ef73e04639415d9ff3b7 https://git.kernel.org/stable/c/37382293f174b82a0616c8295e32b1fc8e13d1ed https://git.kernel.org/stable/c/c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98 https://git.kernel.org/stable/c/1905f5ec3641b2b234bb63549c8ca11ab85466eb https://git.kernel.org/stable/c/22d41b176b9989efd21c3b2d3abf6728f05b9d9a https://git.kernel.org/stable/c/83b1362edc9d6ae376c6f36da116e2c70f2e70a6 https://git.kernel.org/stable/c/f040e590c035bfd9553fe79ee9585caf1b14d67b