drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
Published Jul 30, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.26%
Description
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 products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 2.6.33StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<2.6.33
- Version 4.19.318StatusunaffectedConstraints<=4.19.*
- Version 5.10.222StatusunaffectedConstraints<=5.10.*
- Version 5.15.163StatusunaffectedConstraints<=5.15.*
- Version 5.4.280StatusunaffectedConstraints<=5.4.*
- Version 6.1.98StatusunaffectedConstraints<=6.1.*
- Version 6.10StatusunaffectedConstraints<=*
- Version 6.6.39StatusunaffectedConstraints<=6.6.*
- Version 6.9.9StatusunaffectedConstraints<=6.9.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 2.6.33 · < 4.19.318
- ≥ 4.20 · < 5.4.280
- ≥ 5.5 · < 5.10.222
- ≥ 5.11 · < 5.15.163
- ≥ 5.16 · < 6.1.98
- ≥ 6.2 · < 6.6.39
- ≥ 6.7 · < 6.9.9
No data.
Red Hat Enterprise Linux 9
kernel-0:5.14.0-503.11.1.el9_5
Fixed · RHSA-2024:9315
Red Hat Enterprise Linux 9
kernel-0:5.14.0-503.11.1.el9_5
Fixed · RHSA-2024:9315
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Will not fix
Red Hat Enterprise Linux 8
kernel-rt
Will not fix
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-503.11.1.el9_5 | Fixed | RHSA-2024:9315 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-503.11.1.el9_5 | Fixed | RHSA-2024:9315 |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Sep 10, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.26% (0.00261) | 16.15th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.26% (0.00261) | 17.19th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.07% (0.00071) | 19.11th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Jul 30, 2024 | 0.04% (0.00044) | 13.54th | v3 (v2023.03.01) |
References (14)
- https://access.redhat.com/security/cve/CVE-2024-42101 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2301464 Issue Tracking
- https://git.kernel.org/stable/c/1f32535238493008587a8c5cb17eb2ca097592ef Patch
- https://git.kernel.org/stable/c/274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d Patch
- https://git.kernel.org/stable/c/744b229f09134ccd091427a6f9ea6d97302cfdd9 Patch
- https://git.kernel.org/stable/c/7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e Patch
- https://git.kernel.org/stable/c/80bec6825b19d95ccdfd3393cf8ec15ff2a749b4 Patch
- https://git.kernel.org/stable/c/9baf60323efa992b7c915094529f0a1882c34e7e Patch
- https://git.kernel.org/stable/c/e36364f5f3785d054a94e57e971385284886d41a Patch
- https://git.kernel.org/stable/c/f48dd3f19614022f2e1b794fbd169d2b4c398c07 Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lore.kernel.org/linux-cve-announce/2024073018-CVE-2024-42101-f246@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-42101
- https://www.cve.org/CVERecord?id=CVE-2024-42101
Change history (0)
No recorded changes yet.