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 CCF7713B595 for ; Wed, 17 Apr 2024 10:29:20 +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=1713349760; cv=none; b=N2VSi0Z7ZXtZGyVloIaV260B3pdSXK0Tt8RDAjUW+gqmrshBnwII8LZchod87YaJ/c5n8I4n3cvZ6Al77ixewnR4OmDTdNgff1K4vuzb7/7mP9bu34RJH3CP3TojgRsT7I+Veb0e9cUONYK2YPf3KqGo4eB63b93kchnTKLhf+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713349760; c=relaxed/simple; bh=kGIOGB9XE0pIyDe1lGUBi86A5I3ObiG2TdDAn3B8jG4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dJRDlTPUG21CbmBuqesp1Bsaixs29vG5DkZErHbV0gHM3GqN/StdhyHSgCrR+kFYF2YLSeLkjjLERzEjpx0hZd7ng5Bfzk/QwMCLNY6Nf9qhuAlteXv0gMpy7s+zkGZS+3xCfPZkrhhlemrCMSWZLtS1MwHOb2ufJrNiwHlx9h0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ETJpinm9; 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="ETJpinm9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CB86C072AA; Wed, 17 Apr 2024 10:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713349760; bh=kGIOGB9XE0pIyDe1lGUBi86A5I3ObiG2TdDAn3B8jG4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ETJpinm9rcas8/QE2qv2qGk4EMHho3hzcNRIGXN0zN4XdeO9NVGAX4K595n/dWMqx bATj5jxTdMRUUzrZLLF1tUz3wbSgWbn2JJwxKjucibzzzMWBLJz57gVGd4anXLq0B0 JJKGWR5OhaTHrH7znJ7UMpS2criegahiWiXhhL8M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26876: drm/bridge: adv7511: fix crash on irq during probe Date: Wed, 17 Apr 2024 12:28:51 +0200 Message-ID: <2024041739-CVE-2024-26876-3948@gregkh> X-Mailer: git-send-email 2.44.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=2479; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kGIOGB9XE0pIyDe1lGUBi86A5I3ObiG2TdDAn3B8jG4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnyS8It5/8pm+6tYnVV5vcdholF8z1Ck5fXa8e2qBi3n LPIYpnYEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM5mcSwYN3EeVcXBTxvKp1z 7Xt+/esH0aE7dzDMM2l7b9ztcv3CtpkGU9ssYyMybunbAwA= 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: drm/bridge: adv7511: fix crash on irq during probe Moved IRQ registration down to end of adv7511_probe(). If an IRQ already is pending during adv7511_probe (before adv7511_cec_init) then cec_received_msg_ts could crash using uninitialized data: Unable to handle kernel read from unreadable memory at virtual address 00000000000003d5 Internal error: Oops: 96000004 [#1] PREEMPT_RT SMP Call trace: cec_received_msg_ts+0x48/0x990 [cec] adv7511_cec_irq_process+0x1cc/0x308 [adv7511] adv7511_irq_process+0xd8/0x120 [adv7511] adv7511_irq_handler+0x1c/0x30 [adv7511] irq_thread_fn+0x30/0xa0 irq_thread+0x14c/0x238 kthread+0x190/0x1a8 The Linux kernel CVE team has assigned CVE-2024-26876 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 3b1b975003e4 and fixed in 6.7.11 with commit 955c12529306 Issue introduced in 4.15 with commit 3b1b975003e4 and fixed in 6.8.2 with commit 28a94271bd50 Issue introduced in 4.15 with commit 3b1b975003e4 and fixed in 6.9-rc1 with commit aeedaee5ef54 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-26876 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/gpu/drm/bridge/adv7511/adv7511_drv.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/955c1252930677762e0db2b6b9e36938c887445c https://git.kernel.org/stable/c/28a94271bd50e4cf498df0381f776f8ea40a289e https://git.kernel.org/stable/c/aeedaee5ef5468caf59e2bb1265c2116e0c9a924