CVE-2024-26747

MEDIUM

Linux Kernel 4.19-6.7.7 - NULL Pointer Dereference in USB Role Switch Module

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: usb: roles: fix NULL pointer issue when put module's reference In current design, usb role class driver will get usb_role_switch parent's module reference after the user get usb_role_switch device and put the reference after the user put the usb_role_switch device. However, the parent device of usb_role_switch may be removed before the user put the usb_role_switch. If so, then, NULL pointer issue will be met when the user put the parent module's reference. This will save the module pointer in structure of usb_role_switch. Then, we don't need to find module by iterating long relations.

Scores

CVSS v3 4.4
EPSS 0.0001
EPSS Percentile 2.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (24)
debian/debian_linux 10.0
linux/Kernel 4.19.0 - 5.10.211linux
linux/Kernel 5.11.0 - 5.15.150linux
linux/Kernel 5.16.0 - 6.1.80linux
linux/Kernel 6.2.0 - 6.6.19linux
linux/Kernel 6.7.0 - 6.7.7linux
Linux/Linux < 4.19
Linux/Linux 4.18.12 - 4.19
Linux/Linux 4.19
Linux/Linux 5.10.211 - 5.10.*
... and 14 more
Published Apr 03, 2024
Tracked Since Feb 18, 2026