Junglewise Threat Intelligence

CVE-2026-63957: Linux Kernel memory corruption in USB safe_serial driver

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

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's USB serial driver could allow a malicious USB device to cause memory corruption. By connecting a specially crafted USB device that reports an unexpectedly small data buffer size, an attacker could crash the system or potentially execute unauthorized code. This issue primarily affects systems where untrusted physical USB devices can be connected.

Technical details

A vulnerability in drivers/usb/serial/safe_serial.c in the Linux kernel arises from a lack of boundary checking on the bulk-out buffer size. When the driver operates in 'safe' mode, it expects a buffer large enough to accommodate a two-byte trailer. A malicious USB device can provide a descriptor reporting a very small endpoint size (less than 8 bytes), leading to user-controlled slab corruption during write operations. The fix implements a minimum check of eight bytes for the bulk_out_size during the safe_startup sequence. This is a physical attack vector requiring the attachment of a malicious hardware device.

Affected products

  • Linux Linux Kernel 2.6.12 to 6.6.143

Timeline

  • 2026-05-22: other: Patch authored by Johan Hovold
  • 2026-07-19: disclosed: CVE published by kernel.org

References

Related threats