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.
Metrics
Affected Vendors & Products
References
History
Fri, 22 Nov 2024 12:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Tue, 05 Nov 2024 10:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-04-03T17:00:34.066Z
Updated: 2024-11-05T14:42:09.529Z
Reserved: 2024-02-19T14:20:24.168Z
Link: CVE-2024-26747
Vulnrichment
Updated: 2024-08-02T00:14:13.305Z
NVD
Status : Awaiting Analysis
Published: 2024-04-03T17:15:51.680
Modified: 2024-11-21T09:02:58.743
Link: CVE-2024-26747
Redhat