CVE-2024-26747
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26747 is a vulnerability in the Linux kernel's USB role class driver that was discovered and disclosed on April 3, 2024. The vulnerability affects the module reference handling in the USB role switch functionality. The issue occurs in the usb_role_switch parent's module reference management, where a NULL pointer dereference can occur when putting the module's reference (NVD).

Technical details

The vulnerability stems from a design flaw in the USB role class driver where the driver gets the usb_role_switch parent's module reference after the user gets the usb_role_switch device and puts the reference after the user puts the usb_role_switch device. However, if the parent device of usb_role_switch is removed before the user puts the usb_role_switch, a NULL pointer dereference can occur. The issue has been assigned a CVSS v3.1 base score of 4.4 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (CISA-ADP).

Impact

The vulnerability can lead to a NULL pointer dereference when putting the parent module's reference, potentially causing a system crash or denial of service condition. The impact is limited to local attacks requiring high privileges (NVD).

Exploitability

The vulnerability requires local access with high privileges to exploit. It has been classified as a NULL Pointer Dereference (CWE-476) vulnerability. There are no known reports of this vulnerability being exploited in the wild (NVD).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions. The fix involves saving the module pointer in the structure of usb_role_switch, eliminating the need to find the module by iterating through long relations. Ubuntu has released patches for affected versions, including fixes in version 5.15.0-1063.69 for Ubuntu 22.04 LTS and other versions (Ubuntu Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.82-1

Fixed

bullseye

linux: 5.10.216-1

Fixed

sid

linux: 6.7.7-1

Fixed

trixie

linux: 6.7.7-1

Fixed

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-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-gkeop
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.4
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-oem-6.14
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoYesSep 04, 2026

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