{"id":"CVE-2025-38275","published":"2025-07-10T07:41:55Z","modified":"2026-05-23T15:59:19Z","title":"phy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug\n\nThe qmp_usb_iomap() helper function currently returns the raw result of\ndevm_ioremap() for non-exclusive mappings. Since devm_ioremap() may return\na NULL pointer and the caller only checks error pointers with IS_ERR(),\nNULL could bypass the check and lead to an invalid dereference.\n\nFix the issue by checking if devm_ioremap() returns NULL. When it does,\nqmp_usb_iomap() now returns an error pointer via IOMEM_ERR_PTR(-ENOMEM),\nensuring safe and consistent error handling.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00288,"percentile":0.13964,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0b979a409e40457ca1b5cb48755d1f34eee58805","tags":[]},{"url":"https://git.kernel.org/stable/c/127dfb4f1c5a2b622039c5d203f321380ea36665","tags":[]},{"url":"https://git.kernel.org/stable/c/5072c1749197fc28b27d7efc0d80320d7cac9572","tags":[]},{"url":"https://git.kernel.org/stable/c/0c33117f00c8c5363c22676931b22ae5041f7603","tags":[]},{"url":"https://git.kernel.org/stable/c/d14402a38c2d868cacb1facaf9be908ca6558e59","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]}],"priority":{"score":2.8,"factors":[{"name":"EPSS percentile","points":2.79}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 0b979a409e40457ca1b5cb48755d1f34eee58805",">= a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 127dfb4f1c5a2b622039c5d203f321380ea36665",">= a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 5072c1749197fc28b27d7efc0d80320d7cac9572",">= a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 0c33117f00c8c5363c22676931b22ae5041f7603",">= a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < d14402a38c2d868cacb1facaf9be908ca6558e59","368ea32e0ad0335bdf3180067875a928e35387c6",">= 5.15.93, < 5.16"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"euvd":{"id":"EUVD-2025-20973","exploited":false,"provenance":"source"}}