CVE-2024-42101

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42101
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42101.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42101
Downstream
Related
Published
2024-07-30T07:45:57.384Z
Modified
2025-11-27T02:32:38.858065Z
Summary
drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: fix null pointer dereference in nouveauconnectorget_modes

In nouveauconnectorgetmodes(), the return value of drmmodeduplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drmmode_duplicate(). Add a check to avoid npd.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/42xxx/CVE-2024-42101.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
9baf60323efa992b7c915094529f0a1882c34e7e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
e36364f5f3785d054a94e57e971385284886d41a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
f48dd3f19614022f2e1b794fbd169d2b4c398c07
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
1f32535238493008587a8c5cb17eb2ca097592ef
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
744b229f09134ccd091427a6f9ea6d97302cfdd9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
7db5411c5d0bd9c29b8c2ad93c36b5c16ea46c9e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee738610f41b59733f63718f0bdbcba7d3a3f12
Fixed
80bec6825b19d95ccdfd3393cf8ec15ff2a749b4

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.33
Fixed
4.19.318
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.280
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.222
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.163
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.98
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.39
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.9