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 CCD1D13D28C for ; Fri, 5 Jul 2024 06:56:00 +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=1720162560; cv=none; b=f0Gej+lja6zQvB9HzTok0ARQV/7oJciSG3xmmWiBp4vdkFdA0Fldvr2DZ4rqSzkY8kadV4L93qkdMFK4aF8Uyn9qljh2I9Uag3doQm2Aa3IqyULuQZdOFHgvTquBDh8HftntpygeC4/IlIqkVgd0aJPLSfdupu00Bc1LFE3975Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720162560; c=relaxed/simple; bh=Ux0ozLfF4ogdDedP7c7AIKTn6F4BRtrJC3WK+1wk8TA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kBhaiRtzt5NLvfW9K3CPUZa7MnSaN6Z5ZUBoAk+Nqd/HzqUIe+xo3vQFSrul3S7pIMPt4SlS70Q90TATIJ+HbBWFn+WVEXWAOVJ7SIcIvCxuuCeEVhJhtLisr6if+oy5QDqerP9l7uUS9FyvNe5pc1Ws7A0XmY3oa3S3diVSmrs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0aFcVcJG; 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="0aFcVcJG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E380FC116B1; Fri, 5 Jul 2024 06:55:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720162560; bh=Ux0ozLfF4ogdDedP7c7AIKTn6F4BRtrJC3WK+1wk8TA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0aFcVcJGoWlgvec5yCzsRZrriFVJZVNHsafvKpH6/Yn4doWqOuJAL0X3t8lnz98rB LY+O2FEd8RdjHbiGjKNTaLxbt1L7GxM/rzPiGfjRSGdQwAQEj74sUYuCph8IF3NL9p 2DG7SUJ2hnHANay7WNf8zPx3jYdg6I7EEJZ6uSUA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-39485: media: v4l: async: Properly re-initialise notifier entry in unregister Date: Fri, 5 Jul 2024 08:55:29 +0200 Message-ID: <2024070521-CVE-2024-39485-0f50@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=2056; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ux0ozLfF4ogdDedP7c7AIKTn6F4BRtrJC3WK+1wk8TA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGntM24KC6gunLFWKzn21uJpJ0In/GDT6W1dc7Pt4mMV5 fyWk74HOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiC3czzBVQbOJK/bxmw/xc w70XPgdH9QvW6jLML+BPtZo9LZX3hWnTu91tjJw1phd8AA== 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: v4l: async: Properly re-initialise notifier entry in unregister The notifier_entry of a notifier is not re-initialised after unregistering the notifier. This leads to dangling pointers being left there so use list_del_init() to return the notifier_entry an empty list. The Linux kernel CVE team has assigned CVE-2024-39485 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit b8ec754ae4c5 and fixed in 6.6.34 with commit 87100b092462 Issue introduced in 6.6 with commit b8ec754ae4c5 and fixed in 6.9.5 with commit 1aa6cd4adfc0 Issue introduced in 6.6 with commit b8ec754ae4c5 and fixed in 6.10-rc1 with commit 9537a8425a7a 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-39485 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/v4l2-core/v4l2-async.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/87100b09246202a91fce4a1562955c32229173bb https://git.kernel.org/stable/c/1aa6cd4adfc0380fa1ccc2f146848940ff882a66 https://git.kernel.org/stable/c/9537a8425a7a0222999d5839a0b394b1e8834b4a