lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025030627-CVE-2024-58074-28c1@gregkh>
Date: Thu,  6 Mar 2025 17:04:28 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-58074: drm/i915: Grab intel_display from the encoder to avoid potential oopsies

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/i915: Grab intel_display from the encoder to avoid potential oopsies

Grab the intel_display from 'encoder' rather than 'state'
in the encoder hooks to avoid the massive footgun that is
intel_sanitize_encoder(), which passes NULL as the 'state'
argument to encoder .disable() and .post_disable().

TODO: figure out how to actually fix intel_sanitize_encoder()...

The Linux kernel CVE team has assigned CVE-2024-58074 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.12 with commit ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a and fixed in 6.13.2 with commit 1885401569f24eb35c631bcc4e6543360dbe9292
	Issue introduced in 6.12 with commit ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a and fixed in 6.14-rc1 with commit dc3806d9eb66d0105f8d55d462d4ef681d9eac59

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-58074
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/i915/display/intel_crt.c
	drivers/gpu/drm/i915/display/intel_tv.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/1885401569f24eb35c631bcc4e6543360dbe9292
	https://git.kernel.org/stable/c/dc3806d9eb66d0105f8d55d462d4ef681d9eac59

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ