CVE-2024-42101

drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes

MEDIUM
5.5
CVSS Score
Published: July 30, 2024 at 07:45 AM UTC
Updated: June 17, 2026 at 07:48 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.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes In nouveau_connector_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible 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.

2.6.33 ≤ v < 4.19.3182.6.33 ≤ v < 5.10.2222.6.33 ≤ v < 5.15.1632.6.33 ≤ v < 5.4.2802.6.33 ≤ v < 6.1.982.6.33 ≤ v < 6.102.6.33 ≤ v < 6.6.392.6.33 ≤ v < 6.9.94.20 ≤ v < 5.4.2805.11 ≤ v < 5.15.1635.16 ≤ v < 6.1.985.5 ≤ v < 5.10.2226.2 ≤ v < 6.6.396.7 ≤ v < 6.9.92.6.336ee738610f41b59733f63718f0bdbcba7d3a3f12
Vendor states this is fixed in 1f32535238493008587a8c5cb17eb2ca097592ef (fixed)
Vendor states this is fixed in 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d (fixed)
Vendor states this is fixed in 744b229f09134ccd091427a6f9ea6d97302cfdd9 (fixed)
Vendor states this is fixed in 7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e (fixed)
Vendor states this is fixed in 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4 (fixed)
Vendor states this is fixed in 9baf60323efa992b7c915094529f0a1882c34e7e (fixed)
Vendor states this is fixed in e36364f5f3785d054a94e57e971385284886d41a (fixed)
Vendor states this is fixed in f48dd3f19614022f2e1b794fbd169d2b4c398c07 (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 4.19.318 (unaffected)
Vendor states this is fixed in 5.10.222 (unaffected)
Vendor states this is fixed in 5.15.163 (unaffected)
Vendor states this is fixed in 5.4.280 (unaffected)
Vendor states this is fixed in 6.1.98 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.39 (unaffected)
Vendor states this is fixed in 6.9.9 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1f32535238493008587a8c5cb17eb2ca097592ef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/744b229f09134ccd091427a6f9ea6d97302cfdd9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/80bec6825b19d95ccdfd3393cf8ec15ff2a749b4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9baf60323efa992b7c915094529f0a1882c34e7e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e36364f5f3785d054a94e57e971385284886d41a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f48dd3f19614022f2e1b794fbd169d2b4c398c07

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