CVE-2024-42310

drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

MEDIUM
5.5
CVSS Score
Published: August 17, 2024 at 09:09 AM UTC
Updated: June 17, 2026 at 07:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes In cdv_intel_lvds_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.19.3203.3 ≤ v < 5.10.2243.3 ≤ v < 5.15.1653.3 ≤ v < 5.4.2823.3 ≤ v < 6.1.1033.3 ≤ v < 6.10.33.3 ≤ v < 6.113.3 ≤ v < 6.6.444.20 ≤ v < 5.4.2825.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1035.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.446.7 ≤ v < 6.10.33.36a227d5fd6c4abe6a9226a40f6981825e9da5fbe
Vendor states this is fixed in 08f45102c81ad8bc9f85f7a25e9f64e128edb87d (fixed)
Vendor states this is fixed in 2d209b2f862f6b8bff549ede541590a8d119da23 (fixed)
Vendor states this is fixed in 977ee4fe895e1729cd36cc26916bbb10084713d6 (fixed)
Vendor states this is fixed in a658ae2173ab74667c009e2550455e6de5b33ddc (fixed)
Vendor states this is fixed in b6ac46a00188cde50ffba233e6efb366354a1de5 (fixed)
Vendor states this is fixed in cb520c3f366c77e8d69e4e2e2781a8ce48d98e79 (fixed)
Vendor states this is fixed in e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56 (fixed)
Vendor states this is fixed in f392c36cebf4c1d6997a4cc2c0f205254acef42a (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.103 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.44 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08f45102c81ad8bc9f85f7a25e9f64e128edb87d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2d209b2f862f6b8bff549ede541590a8d119da23
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/977ee4fe895e1729cd36cc26916bbb10084713d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a658ae2173ab74667c009e2550455e6de5b33ddc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b6ac46a00188cde50ffba233e6efb366354a1de5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb520c3f366c77e8d69e4e2e2781a8ce48d98e79
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f392c36cebf4c1d6997a4cc2c0f205254acef42a

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card