{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38275","id":"CVE-2025-38275","title":"phy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug","description":"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","descriptionLong":"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.","published":"2025-07-10T07:41:55.658Z","updated":"2026-11-17T07:00:55.836855343Z","reserved":"2025-04-16T04:51:23.998Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd","lessThan":"0b979a409e40457ca1b5cb48755d1f34eee58805","status":"affected","versionType":"git"},{"version":"a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd","lessThan":"127dfb4f1c5a2b622039c5d203f321380ea36665","status":"affected","versionType":"git"},{"version":"a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd","lessThan":"5072c1749197fc28b27d7efc0d80320d7cac9572","status":"affected","versionType":"git"},{"version":"a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd","lessThan":"0c33117f00c8c5363c22676931b22ae5041f7603","status":"affected","versionType":"git"},{"version":"a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd","lessThan":"d14402a38c2d868cacb1facaf9be908ca6558e59","status":"affected","versionType":"git"},{"version":"368ea32e0ad0335bdf3180067875a928e35387c6","status":"affected","versionType":"git"},{"version":"5.15.93","lessThan":"5.16","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","lessThan":"6.1","status":"unaffected","versionType":"semver"},{"version":"6.1.142","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.94","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.34","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.3","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0b979a409e40457ca1b5cb48755d1f34eee58805","tags":["web"]},{"url":"https://git.kernel.org/stable/c/127dfb4f1c5a2b622039c5d203f321380ea36665","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5072c1749197fc28b27d7efc0d80320d7cac9572","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0c33117f00c8c5363c22676931b22ae5041f7603","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d14402a38c2d868cacb1facaf9be908ca6558e59","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38275.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38275","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00212,"epssPercentile":0.1176,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38275","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38275","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38275","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38275","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}