Back to CVE catalog
CVE-2024-42101

drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes

Linux Linux

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.1

5.5Medium
Published:
Updated:
EPSS:
0.261%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:LinuxLinuxAffected versions:
2.6.33Show full version range for Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 2.6.33; unaffected: ≥ 4.19.318, ≤ 4.19.*; unaffected: ≥ 5.4.280, ≤ 5.4.*; unaffected: ≥ 5.10.222, ≤ 5.10.*; unaffected: ≥ 5.15.163, ≤ 5.15.*; unaffected: ≥ 6.1.98, ≤ 6.1.*; unaffected: ≥ 6.6.39, ≤ 6.6.*; unaffected: ≥ 6.9.9, ≤ 6.9.*; unaffected: ≥ 6.10

Git commit ranges (source code)

  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit 9baf60323efa992b7c915094529f0a1882c34e7e
  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit e36364f5f3785d054a94e57e971385284886d41a
  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d
  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit f48dd3f19614022f2e1b794fbd169d2b4c398c07
  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit 1f32535238493008587a8c5cb17eb2ca097592ef
  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit 744b229f09134ccd091427a6f9ea6d97302cfdd9
  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit 7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e
  • From commit 6ee738610f41b59733f63718f0bdbcba7d3a3f12; before commit 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4
Vendor:Red HatRed Hat CodeReady Linux Builder (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 7Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 8Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 9Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux BaseOS (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Real Time (v. 9)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Real Time for NFV (v. 9)Affected versions:Source does not specify a version range

1–10 of 42 · Page 1 of 5

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat · Red Hat VEX (adp)5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE · SUSE VEX (adp)5.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories17

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences