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 CFBE11F8AE5 for ; Mon, 2 Dec 2024 07:29: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=1733124578; cv=none; b=epVYJ3yf9oYN5uuDZQZmsZG1GIQC3+YMS19w//3hPuMpD3D6oKHzI49y853FWm9CNTyuIrheWE4GrwM5+i9gI0zdMfoy6eqVftl9IPfEKE2DzU3vf9rTqCrpRmccmY4p7uVxlPcC1j3LZ/nUUjiRgT2ujztm748A1i1PQ3yY5pw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733124578; c=relaxed/simple; bh=xD87qGMyivVnHfKrk5CVHZPPtEz9Zk/WA76vmDzN0EA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nNdh/xUTL2UExbnWy8AHn6kbf/KiHAKyS15nQDNU2jn97Hvz0g+JKr+60pabkggQdl+p3j+awOVMXK3OZRLogWEDTUxK3jh0uUfxA93569q+YYdtGORz3oh34w/1fmHKA32BCNkpxvzm0WQ2eHg9YLiaomNBGoSemnPzcrbiGNc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ze8iCLqm; 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="Ze8iCLqm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B72C7C4CED2; Mon, 2 Dec 2024 07:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733124577; bh=xD87qGMyivVnHfKrk5CVHZPPtEz9Zk/WA76vmDzN0EA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ze8iCLqmsDlowgUtpRxRveN8m4rt6GXSnzIzOGPD8juD/O5/Y6wDDVFbqtkgAW/UU Tuf0vLoV2n3mzy7goSwqgD5ZujFhKrTC/0SlhLWY4tbJEXgW6g8iwayUTMugj2IN5c oQWbRznHJlvbXoFEkMf9RDZ6b+6AOb2/UEoxuSmE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53104: media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format Date: Mon, 2 Dec 2024 08:29:32 +0100 Message-ID: <2024120232-CVE-2024-53104-d781@gregkh> X-Mailer: git-send-email 2.47.1 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=3085; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xD87qGMyivVnHfKrk5CVHZPPtEz9Zk/WA76vmDzN0EA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOm+iXd26h4VdPbO5GSa+qfcTCSGPTb3siH7N1/Z2Unzk hrzn8t0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETUYxkWXKkNu1H8R2mCe4UD /zH9gAVcMiHPGOZKHbQ/rrhwVdunn75StQVbmaJ0pUMB X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format This can lead to out of bounds writes since frames of this type were not taken into account when calculating the size of the frames buffer in uvc_parse_streaming. The Linux kernel CVE team has assigned CVE-2024-53104 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 4.19.324 with commit 95edf13a48e7 Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 5.4.286 with commit 684022f81f12 Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 5.10.230 with commit faff5bbb2762 Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 5.15.172 with commit 467d84dc78c9 Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 6.1.117 with commit beced2cb09b5 Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 6.6.61 with commit 575a562f7a3e Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 6.11.8 with commit 622ad10aae5f Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 6.12.1 with commit 1ee9d9122801 Issue introduced in 2.6.26 with commit c0efd232929c and fixed in 6.13-rc1 with commit ecf2b43018da 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-2024-53104 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/uvc/uvc_driver.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/95edf13a48e75dc2cc5b0bc57bf90d6948a22fe8 https://git.kernel.org/stable/c/684022f81f128338fe3587ec967459669a1204ae https://git.kernel.org/stable/c/faff5bbb2762c44ec7426037b3000e77a11d6773 https://git.kernel.org/stable/c/467d84dc78c9abf6b217ada22b3fdba336262e29 https://git.kernel.org/stable/c/beced2cb09b58c1243733f374c560a55382003d6 https://git.kernel.org/stable/c/575a562f7a3ec2d54ff77ab6810e3fbceef2a91d https://git.kernel.org/stable/c/622ad10aae5f5e03b7927ea95f7f32812f692bb5 https://git.kernel.org/stable/c/1ee9d9122801eb688783acd07791f2906b87cb4f https://git.kernel.org/stable/c/ecf2b43018da9579842c774b7f35dbe11b5c38dd