drm/i915: Grab intel_display from the encoder to avoid potential oopsies
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()...
CVE-2024-58074
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2024-58074
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a",
"lessThan": "3a03ef592ef9b900698b46703015f9134721479c",
"versionType": "git"
},
{
"status": "affected",
"version": "ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a",
"lessThan": "1885401569f24eb35c631bcc4e6543360dbe9292",
"versionType": "git"
},
{
"status": "affected",
"version": "ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a",
"lessThan": "dc3806d9eb66d0105f8d55d462d4ef681d9eac59",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpu/drm/i915/display/intel_crt.c",
"drivers/gpu/drm/i915/display/intel_tv.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.13.2",
"versionType": "semver",
"lessThanOrEqual": "6.13.*"
},
{
"status": "unaffected",
"version": "6.14",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/i915/display/intel_crt.c",
"drivers/gpu/drm/i915/display/intel_tv.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2024-58074
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #45937 · Revision 1
- Added to Heist Feed
- Publisher date