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 D01AB4B9207 for ; Sun, 18 Oct 2026 15:21:26 +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=1792336887; cv=none; b=Cuc0H6z0TeVC9V2t2OLTccxMbjFLFZ5/nqGoLNsKMPbZNW1ZLBRCR63o3CzD5j1wJXldnDJPKNc5cKN7xG9ZIPr0LRlDQZy4IWvhSDaqzipuf6SF8roKKFdXBBsqhkjnyr5zoeN+RLnJV66zrELsyj/EXCpm/QYBbrIm80W6ujM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336887; c=relaxed/simple; bh=XN4mwMfP8bqag6znZupvmVEV3RyvzDmG+8ruDnpYQBw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F+UpaC662+SFvJym6PzwmneYO3IdmNwqCXnam1w8sgdXez0tsVVauK/nQPqSIhxYukujSQmeOgV/Yt4y4HzXnS8JSeA8l5gjxQzEqQ+HbqCZq1zAyHrz5fEVWqXSrKiWgAtQSWQYnhrcGjviIYJq6X4BUQdOqNQwW3iWfN3tMRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YjjMUEi/; 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="YjjMUEi/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCC161F000C4; Sun, 18 Oct 2026 15:21:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336886; bh=aYoZj0DPeTyqXEbJsIEGiChGbBeOd3dnKV5yeWuVGuQ=; h=From:To:Cc:Subject:Date:Reply-To; b=YjjMUEi/KPsPFzUEfUPKZ6Y+6/Bu5PZG4XSSjQMfg/pGXuEtff6LM1jTeqeGthmGO 9cthKL36PrUNYYK5H9YFZdfK4H/DGpR4SrCF4+bVfq03hfVyuKrWxJQuMrhwfephBi rIlyP5VjAYCO53ZvEd8gFM2Lis3uSG7RmF7t3pUQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98482: nfc: llcp: drop truncated I/RR/RNR PDUs in nfc_llcp_recv_hdlc() Date: Sun, 18 Oct 2026 17:15:46 +0200 Message-ID: <2026101814-CVE-2026-98482-bd80@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=4041; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ptkPI/0v8bFIoFNeugsSoEpt/pyN6tSLaoJuQ+zE+2Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHjW/ffogiLku9UHUNUbfg66zrv73Dc1eu9jaubrm6 pSGzU3VHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARlk6GedpbGCbfq93/t6bd r6BnYqDdvGCvLwwLNrQVCqjd6y1vZOZxWqLy5ahiR8ZHAA== 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: drop truncated I/RR/RNR PDUs in nfc_llcp_recv_hdlc() nfc_llcp_recv_hdlc() reads the sequence byte skb->data[2], via nfc_llcp_ns()/nfc_llcp_nr(), before any length check. The receive path only guarantees the two-byte LLCP header -- __nfc_llcp_recv() checks it with pskb_may_pull() and nfc_llcp_recv_agf() admits two-byte inner PDUs -- so a two-byte I, RR or RNR PDU reads one byte of uninitialised skb tailroom. The byte becomes N(R)/N(S); a peer can already set those with a well-formed PDU, so this is acting on uninitialised memory, not new peer control. Guard the read with pskb_may_pull(), as commit 95674f506c63 ("nfc: llcp: reject PDUs shorter than the LLCP header") did for the two-byte header, so the sequence byte is present and linear before it is read. RR and RNR PDUs are LLCP_HEADER_SIZE + LLCP_SEQUENCE_SIZE bytes and an I PDU is longer, so no valid frame is rejected; a truncated PDU is malformed, so return without a DM reply. The Linux kernel CVE team has assigned CVE-2026-98482 to this issue. Affected and fixed versions =========================== Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 5.10.271 with commit 3afdbebfee2ef7e9510880868cfb482cbffe6836 Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 5.15.222 with commit 9b4086eb67a9a3b1ce69fef1b6793827363703ce Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 6.1.189 with commit 51b6d73373589abb9de4d84767b0db1bc8d395d9 Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 6.6.158 with commit 066205553a0106565bcede934f5721c25ebd6e4e Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 6.12.112 with commit 18f60ee882403d5b48097f5f6ae45f794e4cc643 Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 6.18.55 with commit 810f204ef8f61f0c930cf6b3280050b3ee6a8ae7 Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 7.2.9 with commit 744e61bd06188d8bb068c26a461c252f242b05c9 Issue introduced in 3.3 with commit d646960f7986fefb460a2b062d5ccc8ccfeacc3a and fixed in 7.3-rc5 with commit 273f9d667cde649f8de9d72b1303cc2f4b658c50 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-98482 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_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/3afdbebfee2ef7e9510880868cfb482cbffe6836 https://git.kernel.org/stable/c/9b4086eb67a9a3b1ce69fef1b6793827363703ce https://git.kernel.org/stable/c/51b6d73373589abb9de4d84767b0db1bc8d395d9 https://git.kernel.org/stable/c/066205553a0106565bcede934f5721c25ebd6e4e https://git.kernel.org/stable/c/18f60ee882403d5b48097f5f6ae45f794e4cc643 https://git.kernel.org/stable/c/810f204ef8f61f0c930cf6b3280050b3ee6a8ae7 https://git.kernel.org/stable/c/744e61bd06188d8bb068c26a461c252f242b05c9 https://git.kernel.org/stable/c/273f9d667cde649f8de9d72b1303cc2f4b658c50