From mboxrd@z Thu Jan 1 00:00:00 1970 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 A42411448E8 for ; Fri, 5 Jul 2024 06:55:48 +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=1720162548; cv=none; b=REyZoLLHL0bxZyUoFwvvGVEXXcp21hrYZvMfCvKCoJNGBbRl1YRPICreDat1dOvvhpMDgPIR38kWSRh8M9fcUfAtDXnR+bq6NaHHAE7JSJvluBLTMLqxmCsnnqbZnr9CYVkNhqkqURJ3I/qnK3EtJOLJ/nEHfHoiEODfa83ppow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720162548; c=relaxed/simple; bh=sVsPGi4xNqdwRmg8Xd9f/m6Jez00vV5qZmAvBw+NMeA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dHr2ehWlU73n8SAQX7EpxgtCAodGdR5lpSh8y6Eu+BJvdZaAz05YPLWTNnQqgC8xxqQO3Tq6JceRhLwK4+tTM/t5y4XwvfB8MIXxFywZy/jHtIyovWxH0E4Dl5dpxLHQJmr19kgqQTas9nSh++Dgg9wHbGFYO1D/FFbzQfpRVpA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Rs+BkkwM; 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="Rs+BkkwM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A205C4AF07; Fri, 5 Jul 2024 06:55:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720162548; bh=sVsPGi4xNqdwRmg8Xd9f/m6Jez00vV5qZmAvBw+NMeA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Rs+BkkwMHdt4BX17GU73X37CqsBAtO9Nq1qGgQKMHUHt9YrWKgebcY2KVJpkFgNsJ piwpSMM4MErHf8VDJ88DkrEmlTmJMC0b48+qSvdA0jCYqIb53V+tq3waN3SpcamKhI LLQ17C1GE11eDdNHMzYYiXxIforYTvtUqgGkgllU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-39481: media: mc: Fix graph walk in media_pipeline_start Date: Fri, 5 Jul 2024 08:55:25 +0200 Message-ID: <2024070520-CVE-2024-39481-108f@gregkh> X-Mailer: git-send-email 2.45.2 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=2220; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sVsPGi4xNqdwRmg8Xd9f/m6Jez00vV5qZmAvBw+NMeA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGntM25kyOnbr/xW0qAfeCD1nXlHsFD4hM1qf0+/2Ldia RaD1O7tHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRLV8ZFhyUkLr99wCH3qcZ l/gW/D2Uoqb87QXDgvV/D3v0x1WKbms//PD1jUzmsOfbrgMA 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: mc: Fix graph walk in media_pipeline_start The graph walk tries to follow all links, even if they are not between pads. This causes a crash with, e.g. a MEDIA_LNK_FL_ANCILLARY_LINK link. Fix this by allowing the walk to proceed only for MEDIA_LNK_FL_DATA_LINK links. The Linux kernel CVE team has assigned CVE-2024-39481 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit ae219872834a and fixed in 6.1.94 with commit 788fd0f11e45 Issue introduced in 6.1 with commit ae219872834a and fixed in 6.6.34 with commit e80d9db99b7b Issue introduced in 6.1 with commit ae219872834a and fixed in 6.9.5 with commit bee9440bc0b6 Issue introduced in 6.1 with commit ae219872834a and fixed in 6.10-rc1 with commit 8a9d420149c4 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-39481 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/mc/mc-entity.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/788fd0f11e45ae8d3a8ebbd3452a6e83f92db376 https://git.kernel.org/stable/c/e80d9db99b7b6c697d8d952dfd25c3425cf61499 https://git.kernel.org/stable/c/bee9440bc0b6b3b7432f7bfde28656262a3484a2 https://git.kernel.org/stable/c/8a9d420149c477e7c97fbd6453704e4612bdd3fa