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 2D48226A0EB for ; Thu, 4 Sep 2025 15:33:44 +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=1757000024; cv=none; b=Q0aNCPsMHjDvLShliLm1o+c4uoIvnUoIMf3BLF9wDXH5BIVrqw3/bizAPWlip99YQm7/VTjx3aPYy3FFkQejZSQLyIokNEDc3tAi3e5u2NaWw5pvbULmC54Yqg46XrUMPQkPTSaKdzMEtaTxMqiEkbsQ6Iz45gvDwusbIukmvqE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757000024; c=relaxed/simple; bh=t/zMUn9Q6CEMudYR8xuPVic8YYWMTQQjNSrmQ5MNFK8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s35XCOhirWX5ZZR28eDwW/d9uXRPmjFaXXQadO5NPe87QqMCpV/tnq+/L1x/Xy9ZXJevev0d5V8zZHWmY/ZruSkTyqDY4il9qqmMt0ug63zoVzSwlHWb7LksxxJ9fPMByHYSgeKfioKZHS6ivZxjKsgOOfifKMGwzk8HRX40V4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mztsJx18; 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="mztsJx18" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE40BC4CEF6; Thu, 4 Sep 2025 15:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757000024; bh=t/zMUn9Q6CEMudYR8xuPVic8YYWMTQQjNSrmQ5MNFK8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mztsJx18jzJ38VPXID5ef3biPpyCOjGh2asuCRjlVbDzbnuGVRgjTT+X7/LIsCWSX a0fVUM8S1kdTZiqFhL9avnmI2qKod1q2pLTE5Mwv5Blf/PkAhnHuEo5wJX0kKx4LP5 wgBVpbcUFeRj68z5Dz2r9ddNTqC9rVTBS6H7TDXY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38693: media: dvb-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_tuner_read_serpar Date: Thu, 4 Sep 2025 17:32:58 +0200 Message-ID: <2025090450-CVE-2025-38693-aeb5@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3083; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=goT2C1BFP7f8J1lTY2iIoU4/qxoYuT88PPY2qgMdnyw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk7Nyop/7BTOb3xQCbr3dJ/D1pDJigLf1Vr0Vp9ku2wB Zfm1U0ZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRjUYMCxZ6ipYcurqt0Ojz pzsOut7HHurb5zDM4ZxvsfHzO0FTcXfVqU+n6osxOUvvAgA= 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-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_tuner_read_serpar In w7090p_tuner_write_serpar, msg is controlled by user. When msg[0].buf is null and msg[0].len is zero, former checks on msg[0].buf would be passed. If accessing msg[0].buf[2] without sanity check, null pointer deref would happen. We add check on msg[0].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-2025-38693 to this issue. Affected and fixed versions =========================== Fixed in 5.4.297 with commit 7a41ecfc3415ebe3b4c44f96b3337691dcf431a3 Fixed in 5.10.241 with commit b3d77a3fc71c084575d3df4ec6544b3fb6ce587d Fixed in 5.15.190 with commit 17b30e5ded062bd74f8ca6f317e1d415a8680665 Fixed in 6.1.149 with commit 454a443eaa792c8865c861a282fe6d4f596abc3a Fixed in 6.6.103 with commit 6bbaec6a036940e22318f0454b50b8000845ab59 Fixed in 6.12.43 with commit f98132a59ccc59a8b97987363bc99c8968934756 Fixed in 6.15.11 with commit 99690a494d91a0dc86cebd628da4c62c40552bcb Fixed in 6.16.2 with commit 39b06b93f24dff923c4183d564ed28c039150554 Fixed in 6.17-rc1 with commit ed0234c8458b3149f15e496b48a1c9874dd24a1b 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-2025-38693 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/dvb-frontends/dib7000p.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/7a41ecfc3415ebe3b4c44f96b3337691dcf431a3 https://git.kernel.org/stable/c/b3d77a3fc71c084575d3df4ec6544b3fb6ce587d https://git.kernel.org/stable/c/17b30e5ded062bd74f8ca6f317e1d415a8680665 https://git.kernel.org/stable/c/454a443eaa792c8865c861a282fe6d4f596abc3a https://git.kernel.org/stable/c/6bbaec6a036940e22318f0454b50b8000845ab59 https://git.kernel.org/stable/c/f98132a59ccc59a8b97987363bc99c8968934756 https://git.kernel.org/stable/c/99690a494d91a0dc86cebd628da4c62c40552bcb https://git.kernel.org/stable/c/39b06b93f24dff923c4183d564ed28c039150554 https://git.kernel.org/stable/c/ed0234c8458b3149f15e496b48a1c9874dd24a1b