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 278DC2561A2 for ; Wed, 25 Mar 2026 10:29:35 +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=1774434575; cv=none; b=PxuHICC/O+At9u8YAnUPlR6P+3mnbV7GL22vqoK5sABLWI8xGSNW2Y/jxXSldz7Rh6npHWZ9148oA/OgsBMv670SFQjylH8V0mglFmpNlseUj2ac8HU1AqP5imcEWx5CAPqRIlRvYS2LwiRlJpTB+0RMJcD+yAVFy/chu2qEVLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434575; c=relaxed/simple; bh=0a5qKTc6ldkaLJzM/TnZN/Rhu1f9Emqg5NY1PfMrmos=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BLPZ3j5bPJBfIkuLBDcOu5R5ZiDGq1H+UK0Aq6Px1bJ7XztCchep0mq2gOijc/IVwE+qo79Czi3dpVUVCZdENvqKKU7R0zZDiYDydyUA8IaxEnGY6Mp5s1fJeNK/4mvsSKdipagmqDpFEhjs0RV6Zi1hchXB2vEFING1HrtSERQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ByLALw7i; 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="ByLALw7i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4D00C4CEF7; Wed, 25 Mar 2026 10:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434575; bh=0a5qKTc6ldkaLJzM/TnZN/Rhu1f9Emqg5NY1PfMrmos=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ByLALw7itAgAJ+fnW7dU8h35FrlTFOLZ5tRCZncF+OMrEPLr4cK7Dk/mIT7chWyNh I7W+3HBvppc/VsR+yZoZ4jAk6+l7Chbfr47qJMXu2vkxfuHQDvHxzE9B0dfzbUVWY/ 1GXkClTIVm3ifTBrFj1cQgchUITPdLoDWKX64oHQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23330: nfc: nci: complete pending data exchange on device close Date: Wed, 25 Mar 2026 11:27:14 +0100 Message-ID: <2026032532-CVE-2026-23330-00fd@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=2823; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dychQHu/4brJOhl7l5M310sUJTQ3NYBJbaP2W1TtuVc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd0Tc9MlgE71sGH0y4GzO4Ycx7KKHMn/biM+0vH1pO dPMeTp6HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRpp0MC7ZYuFWe159ePX2L 3uz6LQU3Tx48upthJqPwzweqdiJVea2Tk48b51TfjxAUAwA= 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: nci: complete pending data exchange on device close In nci_close_device(), complete any pending data exchange before closing. The data exchange callback (e.g. rawsock_data_exchange_complete) holds a socket reference. NIPA occasionally hits this leak: unreferenced object 0xff1100000f435000 (size 2048): comm "nci_dev", pid 3954, jiffies 4295441245 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 27 00 01 40 00 00 00 00 00 00 00 00 00 00 00 00 '..@............ backtrace (crc ec2b3c5): __kmalloc_noprof+0x4db/0x730 sk_prot_alloc.isra.0+0xe4/0x1d0 sk_alloc+0x36/0x760 rawsock_create+0xd1/0x540 nfc_sock_create+0x11f/0x280 __sock_create+0x22d/0x630 __sys_socket+0x115/0x1d0 __x64_sys_socket+0x72/0xd0 do_syscall_64+0x117/0xfc0 entry_SYSCALL_64_after_hwframe+0x4b/0x53 The Linux kernel CVE team has assigned CVE-2026-23330 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit 38f04c6b1b682f1879441e2925403ad9aff9e229 and fixed in 6.18.17 with commit 91ff0d8c3464da7f0c43da38c195e60b660128bf Issue introduced in 3.2 with commit 38f04c6b1b682f1879441e2925403ad9aff9e229 and fixed in 6.19.7 with commit d05f55d68ebdebb2b0a8480d766eaae88c8c92de Issue introduced in 3.2 with commit 38f04c6b1b682f1879441e2925403ad9aff9e229 and fixed in 7.0-rc3 with commit 66083581945bd5b8e99fe49b5aeb83d03f62d053 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-23330 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/nci/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/91ff0d8c3464da7f0c43da38c195e60b660128bf https://git.kernel.org/stable/c/d05f55d68ebdebb2b0a8480d766eaae88c8c92de https://git.kernel.org/stable/c/66083581945bd5b8e99fe49b5aeb83d03f62d053