CVE Vulnerabilities

CVE-2024-26747

Published: Apr 03, 2024 | Modified: Apr 03, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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

usb: roles: fix NULL pointer issue when put modules reference

In current design, usb role class driver will get usb_role_switch parents 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 modules reference.

This will save the module pointer in structure of usb_role_switch. Then, we dont need to find module by iterating long relations.

References