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 0E333480977 for ; Wed, 1 Jul 2026 13:34:50 +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=1782912894; cv=none; b=tCEyGCjRAqN0gYKgjBbtqU+UH6SoEFvMjRzcrj7WlzsWfxSc6CPbFRhhmT3acbbVebGpI36MIDMnsW8ZFNl1ksetRFPSJLW4UZGjur0DBJvt0ppxyuUAviE3LVDBv5Zhpwgha/KZvXGUmyuMhs3Vfd+Vma75vfCEZbpovGq1Ufs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782912894; c=relaxed/simple; bh=9OzQrIT44nP6gub2xFE+1Lpgk7FSLEpGeB5UR9/UaN0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V6I9WCROa+T1vHgxX90bltSRFKflPautkwIFkRo8FctCEV4CnxeiiTl5Bmgt+hdC6oKIqw7ZdgFiM9+SmfGB3/qv22U5p65SSMbIbBTwxEyYUpbbJMYVD4VPPQ0Kl8BBJ0wGAFNhvtGga8FCvYEKI7tVPU2wZt/EznFYR9mx6ug= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mRGftChT; 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="mRGftChT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30AAB1F00A3A; Wed, 1 Jul 2026 13:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782912890; bh=EpmJua03impB5eWNkkQYVIypgOpOLAcxIVT4CXhex9o=; h=From:To:Cc:Subject:Date:Reply-To; b=mRGftChTSQzcJHt/r7/Qz9Fo0Io9DxcrIhPtXuPwHOGU45nk3V9Suu+/M1rksz8N0 FM3uYgf13tn4UXajhWXTwVMX5Ci3NU3oRu7VwQv5B4RgTQPjU9+MivKkf93ZOX5oXe roVJxXmZ0kG38yqwxuKSf2j1G+WTRQDRnGA+L0K8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53339: i2c: qcom-cci: Fix NULL pointer dereference in cci_remove() Date: Wed, 1 Jul 2026 15:34:54 +0200 Message-ID: <2026070144-CVE-2026-53339-909c@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=4078; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lV99T5IJmgrmoFXAC4WrwmRbE1qUNrmyHt4FD77+50Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmu4iVawZzhZ2t1Xk5qjnCYfM4pxU9S/cDTrQHTVs4/F yASZ2HdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMJ388wV2p9gv083bajnZe7 S89VzWivUZn2hGHB+eTsw+tuKVx60WWb0zjf+qdz9dUGAA== 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: i2c: qcom-cci: Fix NULL pointer dereference in cci_remove() On all modern platforms Qualcomm CCI controller provides two I2C masters, and on particular boards only one I2C master may be initialized, and in such cases the device unbinding or driver removal causes a NULL pointer dereference, because cci_halt() is called for all two I2C masters, but a completion is initialized only for the single enabled master: % rmmod i2c-qcom-cci Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 Call trace: __wait_for_common+0x194/0x1a8 (P) wait_for_completion_timeout+0x20/0x2c cci_remove+0xc4/0x138 [i2c_qcom_cci] platform_remove+0x20/0x30 device_remove+0x4c/0x80 device_release_driver_internal+0x1c8/0x224 driver_detach+0x50/0x98 bus_remove_driver+0x6c/0xbc driver_unregister+0x30/0x60 platform_driver_unregister+0x14/0x20 qcom_cci_driver_exit+0x18/0x1008 [i2c_qcom_cci] .... The Linux kernel CVE team has assigned CVE-2026-53339 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 5.10.259 with commit e8669d12da0ade52adfe0abe96cd99e708abc9bd Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 5.15.210 with commit 4d2b4a9cda6837e5ee1de1290f2e773a713b71e9 Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 6.1.176 with commit a50b8adb9cdb9a495b0b45583956897b7411ed7a Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 6.6.143 with commit 7107627b8b35015027201e7a095a3f6e30b4a46f Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 6.12.94 with commit 4cd206c1d57a9370d5219f7b1fc45169d7bdf951 Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 6.18.36 with commit a162a260c8c4db7501c65220e76913e8e351f823 Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 7.0.13 with commit 8ce7ff721a5e9d06d53ef65d01c89fce6d26d6ff Issue introduced in 5.8 with commit e517526195de400158e05a08764d1fb61d579105 and fixed in 7.1 with commit 729ac5a4b966aac42e08a94dea966f4429008548 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-53339 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/i2c/busses/i2c-qcom-cci.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/e8669d12da0ade52adfe0abe96cd99e708abc9bd https://git.kernel.org/stable/c/4d2b4a9cda6837e5ee1de1290f2e773a713b71e9 https://git.kernel.org/stable/c/a50b8adb9cdb9a495b0b45583956897b7411ed7a https://git.kernel.org/stable/c/7107627b8b35015027201e7a095a3f6e30b4a46f https://git.kernel.org/stable/c/4cd206c1d57a9370d5219f7b1fc45169d7bdf951 https://git.kernel.org/stable/c/a162a260c8c4db7501c65220e76913e8e351f823 https://git.kernel.org/stable/c/8ce7ff721a5e9d06d53ef65d01c89fce6d26d6ff https://git.kernel.org/stable/c/729ac5a4b966aac42e08a94dea966f4429008548