Null Pointer Dereference Vulnerability in Linux Kernel Affected by USB Gadget
CVE-2025-37881
Currently unrated
Summary
A vulnerability in the Linux kernel within the USB gadget subsystem has been identified, wherein a NULL pointer dereference can occur due to an unchecked variable returned by the devm_kasprintf() function. This issue arises in the ast_vhub_init_dev() function and could lead to unexpected behavior or system instability. To mitigate this risk, a pointer validity check has been introduced. This fix enhances device management security and prevents potential exploitation, following similar resolutions made for related vulnerabilities.
Affected Version(s)
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
References
Timeline
Vulnerability published
Vulnerability Reserved