{"id":"CVE-2025-37881","summary":"usb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev()\n\nThe variable d-\u003ename, returned by devm_kasprintf(), could be NULL.\nA pointer check is added to prevent potential NULL pointer dereference.\nThis is similar to the fix in commit 3027e7b15b02\n(\"ice: Fix some null pointer dereference issues in ice_ptp.c\").\n\nThis issue is found by our static analysis tool","modified":"2026-05-18T05:56:17.858703869Z","published":"2025-05-09T06:45:45.205Z","related":["SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37881.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/052fb65335befeae8500e88d69ea022266baaf6d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36d68151712e525450f0fbb3045e7110f0d9b610"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61006ca381b4d65d2b8ca695ea8da1ce18d6dee3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c75f3e6a433d92084ad4e78b029ae680865420f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a777ccfb9ba8d43f745e41b69ba39d4a506a081e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8d4faf452a627f9b09c3a5c366133a19e5b7a28"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cfa7984f69359761b07a7831c1258c0fde1e0389"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d26a6093d52904cacdbb75424c323c19b443a890"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37881.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37881"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7ecca2a4080cb6b1fa174adc588fce9e9014c43c"},{"fixed":"a777ccfb9ba8d43f745e41b69ba39d4a506a081e"},{"fixed":"c8d4faf452a627f9b09c3a5c366133a19e5b7a28"},{"fixed":"d26a6093d52904cacdbb75424c323c19b443a890"},{"fixed":"36d68151712e525450f0fbb3045e7110f0d9b610"},{"fixed":"cfa7984f69359761b07a7831c1258c0fde1e0389"},{"fixed":"052fb65335befeae8500e88d69ea022266baaf6d"},{"fixed":"61006ca381b4d65d2b8ca695ea8da1ce18d6dee3"},{"fixed":"8c75f3e6a433d92084ad4e78b029ae680865420f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37881.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.18.0"},{"fixed":"5.4.293"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.237"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.181"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.136"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.89"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.26"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.14.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37881.json"}}],"schema_version":"1.7.5"}