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 AE3B43346BC for ; Wed, 24 Dec 2025 12:28:37 +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=1766579317; cv=none; b=FY5ykG+ivUnM7/OyweO2zYGe36jYMfV30HjwQiFAhApLSWRhDcoAwzXMn2FD2gfB/3T1GumD5KfO3QsY1Oc9/jD8z094o6xKa5jbDXIKAbFaXJpqxZMEkcwRB+0DAUQdADanuSmM8t2t+MN2AuxZRzMNDVkUhOq78iVAyi2Jdos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579317; c=relaxed/simple; bh=0anSAkfjh6o9RRBvoR8koNYbzbyKSZo2UL5zPjLOdvI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OFzqE2NfeO2x38GUT/sxa4ECJTh78mqYnI9iaNo61rZptmIwPYyVHy/1giq5zChxnMIshFpYTSWnlHOg7gsmnNpXm1b2ZCH18OZQM3/DZdx7wCIvIVYvkYWDOidW2DXbndDZPQkhe0XL+KHxJxL+J9kc5oM8wIzU1g5xHu9UQqs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1EPQ2j5T; 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="1EPQ2j5T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A8EDC4CEFB; Wed, 24 Dec 2025 12:28:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579317; bh=0anSAkfjh6o9RRBvoR8koNYbzbyKSZo2UL5zPjLOdvI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=1EPQ2j5T2tsGo5MXtZXx616cJP/lBhWNSxlS7zP0R3DCwoLAYEKExz+KDae5SuejK tYGxKtuSwVQ7klCOb2RuHsQnZBATGLibFGrSbEsG0mX4gxEn9XvlHst6koPjzctJ3c MPwLcQytLGUF1SNzTSTPDEhnd7qCrR2jt26p3QdQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54066: media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer Date: Wed, 24 Dec 2025 13:26:59 +0100 Message-ID: <2025122430-CVE-2023-54066-8ff7@gregkh> X-Mailer: git-send-email 2.52.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=2498; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uhsA5YyypxVb1sXmXaGuER6xhPzJz0MW/+GXi6OE6TA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnet79tutsStMlSuyKyp+dWntiJ7A3uD/Ye3xxfM+V45 ZemR2YHOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAikdIMs1mlb5/+8SHta1d9 q87z8q0Wj7u1rzMsmLb1ygm1a+sLrt9yPHqk6UiIn/ixTgA= 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: media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer In gl861_i2c_master_xfer, msg is controlled by user. When msg[i].buf is null and msg[i].len is zero, former checks on msg[i].buf would be passed. Malicious data finally reach gl861_i2c_master_xfer. If accessing msg[i].buf[0] without sanity check, null ptr deref would happen. We add check on msg[i].len to prevent crash. Similar commit: commit 0ed554fd769a ("media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()") The Linux kernel CVE team has assigned CVE-2023-54066 to this issue. Affected and fixed versions =========================== Fixed in 5.10.197 with commit 578b67614ae0e4fba3945b66a4c8f9ae77115bcb Fixed in 5.15.133 with commit 2a33fc57133d6f39d62285df6706aeb1714967f1 Fixed in 6.1.55 with commit dfcd3c010209927b9f45b860f046635dc32e32e1 Fixed in 6.5.5 with commit 72af676551efe820e309a6c7681c2c4372f37376 Fixed in 6.6 with commit b97719a66970601cd3151a3e2020f4454a1c4ff6 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-2023-54066 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/media/usb/dvb-usb-v2/gl861.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/578b67614ae0e4fba3945b66a4c8f9ae77115bcb https://git.kernel.org/stable/c/2a33fc57133d6f39d62285df6706aeb1714967f1 https://git.kernel.org/stable/c/dfcd3c010209927b9f45b860f046635dc32e32e1 https://git.kernel.org/stable/c/72af676551efe820e309a6c7681c2c4372f37376 https://git.kernel.org/stable/c/b97719a66970601cd3151a3e2020f4454a1c4ff6