{"cve":"CVE-2024-26747","nvd":{"published":"2024-04-03T17:15:51.680","modified":"2026-06-17T07:18:14.527","status":"Analyzed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: roles: fix NULL pointer issue when put module's reference\n\nIn current design, usb role class driver will get usb_role_switch parent's\nmodule reference after the user get usb_role_switch device and put the\nreference after the user put the usb_role_switch device. However, the\nparent device of usb_role_switch may be removed before the user put the\nusb_role_switch. If so, then, NULL pointer issue will be met when the user\nput the parent module's reference.\n\nThis will save the module pointer in structure of usb_role_switch. Then,\nwe don't need to find module by iterating long relations.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.4},"cwes":["CWE-476"],"references":["https://git.kernel.org/stable/c/0158216805ca7e498d07de38840d2732166ae5fa","https://git.kernel.org/stable/c/01f82de440f2ab07c259b7573371e1c42e5565db","https://git.kernel.org/stable/c/1c9be13846c0b2abc2480602f8ef421360e1ad9e","https://git.kernel.org/stable/c/4b45829440b1b208948b39cc71f77a37a2536734","https://git.kernel.org/stable/c/e279bf8e51893e1fe160b3d8126ef2dd00f661e1"],"products":["debian:debian_linux","linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T21:47:51.568503435+00:00"},"epss":{"cve":"CVE-2024-26747","score":0.00238,"percentile":0.14877,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}