CVE-2024-42101
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-42101 is a vulnerability discovered in the Linux kernel's DRM (Direct Rendering Manager) Nouveau driver. The issue was identified and disclosed on July 30, 2024, affecting the nouveauconnectorget_modes function. The vulnerability impacts Linux kernel versions from 2.6.33 up to versions before 4.19.318, 5.4.280, 5.10.222, and 5.15.163 (NVD).

Technical details

The vulnerability is a NULL pointer dereference issue in the nouveauconnectorgetmodes() function of the Nouveau driver. Specifically, the return value of drmmodeduplicate() is assigned to the mode variable without proper validation, which could lead to a NULL pointer dereference if drmmode_duplicate() fails. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a system crash due to NULL pointer dereference when the drmmodeduplicate() function fails in the Nouveau driver. This primarily affects system stability and availability, with no direct impact on confidentiality or integrity (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding a NULL pointer check before using the return value of drmmodeduplicate(). The fix has been implemented across multiple Linux kernel versions, including updates for Ubuntu 22.04 LTS (5.15.0-121.131), 20.04 LTS (5.4.0-195.215), and 18.04 LTS (4.15.0-232.244) (Ubuntu). The patch adds a check to avoid NULL pointer dereference by returning 0 if mode is NULL (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-53334N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoYesSep 16, 2025
CVE-2023-53333N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesSep 16, 2025
CVE-2023-53332N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesSep 16, 2025
CVE-2023-53331N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-extra
NoYesSep 16, 2025
CVE-2023-53329N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesSep 16, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management