VDB

CVE-2024-42101

CVE-2024-42101 PUBLISHED

drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes

Reported by linux · Published July 30, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux4.14.352-267.564.amzn2
kernel-toolsAmazon Linux4.14.352-267.564.amzn2
linux_kernellinux6.9.9, 6.6.39, 6.1.98, 5.15.163, 5.10.222, 5.4.280, 4.19.318
LinuxLinuxf48dd3f19614022f2e1b794fbd169d2b4c398c07, 9baf60323efa992b7c915094529f0a1882c34e7e, 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4, 274cba8d2d1b48c72d8bd90e76c9e2dc1aa0a81d, 1f32535238493008587a8c5cb17eb2ca097592ef

Affected products

VendorProductVersions
LinuxLinux6ee738610f41b59733f63718f0bdbcba7d3a3f12, 6ee738610f41b59733f63718f0bdbcba7d3a3f12, 6ee738610f41b59733f63718f0bdbcba7d3a3f12
LinuxLinux2.6.33, 0, 4.19.318
amazon:2kernel-tools-devel0
amazon:2kernel-tools0
LinuxLinux6ee738610f41b59733f63718f0bdbcba7d3a3f12, 6ee738610f41b59733f63718f0bdbcba7d3a3f12, 6ee738610f41b59733f63718f0bdbcba7d3a3f12
linuxlinux_kernel2.6.33, 2.6.33, 2.6.33
amazon:2kernel-devel0
amazon:2kernel-livepatch-4.14.352-267.5640
amazon:2perf0
amazon:2python-perf0
amazon:2kernel0
amazon:2kernel-headers0

Timeline

  • Jul 29, 2024 CVE Published
  • Jul 30, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 7, 2026 Security Advisory (365 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (247 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42101
vulnetix vdb fixes CVE-2024-42101

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42101/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›