CVE-2024-42101

drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes

State
Published
Severity
Not scored
Published
Jul 30, 2024
Updated
May 11, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before 9baf60323efa992b7c915094529f0a1882c34e7eAffected
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before e36364f5f3785d054a94e57e971385284886d41aAffected
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81dAffected
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before f48dd3f19614022f2e1b794fbd169d2b4c398c07Affected
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before 1f32535238493008587a8c5cb17eb2ca097592efAffected
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before 744b229f09134ccd091427a6f9ea6d97302cfdd9Affected
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before 7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9eAffected
  • 6ee738610f41b59733f63718f0bdbcba7d3a3f12 to before 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4Affected
LinuxLinux
  • 2.6.33Affected
  • before 2.6.33Not affected
  • 4.19.318 through 4.19.*Not affected
  • 5.4.280 through 5.4.*Not affected
  • 5.10.222 through 5.10.*Not affected
  • 5.15.163 through 5.15.*Not affected
  • 6.1.98 through 6.1.*Not affected
  • 6.6.39 through 6.6.*Not affected
  • 6.9.9 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.