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 ABD3C26C391 for ; Fri, 5 Sep 2025 17:24:23 +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=1757093063; cv=none; b=aZvgkDzz/FN4N2Bsh6czXQSbfULdvl7l10IVIp/47fSftwKVHUGfCAK4A8Z8FbARfLEdTp9V96Wx7CFBx7keAAXwqDGn7EXyOUCw/ZbNVnMlRYW0bBnXwql7QZfZYnuJOr/8T+NCDmld1tMhW4SARWQn4e8Rf0kdiWMLYGd+6+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757093063; c=relaxed/simple; bh=wivsh58x9CXO0wR8njE/pP1gYab9pWvxhzqcfNXRPxg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OGHnp/jRUVQulzch5ySCcdfWOvXuhO8sKNLbXzn8xr8wgNhNSnImW+9SgOdajnR8H6YUu3bILfu1BBp4iG4DZddAKIxg+zvu8hY1LQFzZq5PfRNZb+X7siwi45+hdsOCae7tw+UccpxJDG8wDBPaRiiStTjBuYwhNOj+GFgY5P0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qjDzo1mX; 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="qjDzo1mX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24F0EC4CEF1; Fri, 5 Sep 2025 17:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757093063; bh=wivsh58x9CXO0wR8njE/pP1gYab9pWvxhzqcfNXRPxg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qjDzo1mXYq0MPOyi0wU30x4GivxahN93TG0IeTMAMZlSoEgBUEFUlIIjw+3v1JLAB zkJNG6KfU6VYFlV9CgH6ftqwollusLy9KtwU75JWtNexMwpcHlo2VkxEarO1RAglEP tv71s3gU6wktVeYs2OUTLnaV6y+OdGynIwghKIGM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39714: media: usbtv: Lock resolution while streaming Date: Fri, 5 Sep 2025 19:21:27 +0200 Message-ID: <2025090550-CVE-2025-39714-1820@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=3512; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=g/zTv7mYyRpx+Z0wTCyNRWHdBhA5mJ338U80DVJ82xA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pT+5ZE2zu3Hax1T1WMarF4flox/uua2X1rxOiCfwd 9gMibv/O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAilj8ZFhyb19u+ie+h44YE DcUlb1+sMZJZVMiwoIv1Uce/bMX0TMVjS1z4krmOSiWfAwA= 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: usbtv: Lock resolution while streaming When an program is streaming (ffplay) and another program (qv4l2) changes the TV standard from NTSC to PAL, the kernel crashes due to trying to copy to unmapped memory. Changing from NTSC to PAL increases the resolution in the usbtv struct, but the video plane buffer isn't adjusted, so it overflows. [hverkuil: call vb2_is_busy instead of vb2_is_streaming] The Linux kernel CVE team has assigned CVE-2025-39714 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 5.4.297 with commit c35e7c7a004ef379a1ae7c7486d4829419acad1d Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 5.10.241 with commit ee7bade8b9244834229b12b6e1e724939bedd484 Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 5.15.190 with commit 5427dda195d6baf23028196fd55a0c90f66ffa61 Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 6.1.149 with commit ef9b3c22405192afaa279077ddd45a51db90b83d Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 6.6.103 with commit 3d83d0b5ae5045a7a246ed116b5f6c688a12f9e9 Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 6.12.44 with commit c3d75524e10021aa5c223d94da4996640aed46c0 Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 6.16.4 with commit 9f886d21e235c4bd038cb20f6696084304197ab3 Issue introduced in 3.14 with commit 0e0fe3958fdd13dbf55c3a787acafde6efd04272 and fixed in 6.17-rc1 with commit 7e40e0bb778907b2441bff68d73c3eb6b6cd319f 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-39714 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/usbtv/usbtv-video.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/c35e7c7a004ef379a1ae7c7486d4829419acad1d https://git.kernel.org/stable/c/ee7bade8b9244834229b12b6e1e724939bedd484 https://git.kernel.org/stable/c/5427dda195d6baf23028196fd55a0c90f66ffa61 https://git.kernel.org/stable/c/ef9b3c22405192afaa279077ddd45a51db90b83d https://git.kernel.org/stable/c/3d83d0b5ae5045a7a246ed116b5f6c688a12f9e9 https://git.kernel.org/stable/c/c3d75524e10021aa5c223d94da4996640aed46c0 https://git.kernel.org/stable/c/9f886d21e235c4bd038cb20f6696084304197ab3 https://git.kernel.org/stable/c/7e40e0bb778907b2441bff68d73c3eb6b6cd319f