Junglewise Threat Intelligence

CVE-2026-63899: Linux Kernel memory corruption in Moxa UPORT USB-to-serial driver

CVE-2026-63899 · Severity: info · Published 2026-07-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's Moxa USB-to-serial driver could allow a malicious USB device to cause memory corruption. By reporting an unexpectedly small packet size, a specially crafted device could trigger a system crash or potentially allow for unauthorized code execution when plugged into a computer. This issue primarily affects systems that allow the connection of untrusted physical USB hardware.

Technical details

A memory corruption vulnerability exists in the mxuport USB-to-serial driver (drivers/usb/serial/mxuport.c) within the Linux kernel. The root cause is a lack of validation for the bulk-out endpoint's maximum packet size (maxp). A malicious USB device can report a max packet size smaller than the required four-byte header plus data (specifically less than eight bytes), leading to user-controlled slab corruption during data transfer. This requires physical access to plug in a malicious device. The fix implements a check in mxuport_calc_num_ports to ensure the endpoint size is at least eight bytes, returning -EINVAL otherwise.

Affected products

  • Linux Linux Kernel 3.14 to 6.6.143

Timeline

  • 2026-05-22: disclosed: Vulnerability identified and patch authored by Johan Hovold.
  • 2026-07-19: advisory: CVE-2026-63899 published.

References

Related threats