CVE-2025-68343
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68343 is a vulnerability in the Linux kernel's CAN (Controller Area Network) USB driver (gs_usb) where the gs_usb_receive_bulk_callback() function fails to validate the actual_length of received USB bulk transfer data before accessing the header of a gs_host_frame structure. This can result in out-of-bounds memory access when a malformed or truncated URB (USB Request Block) is received. The vulnerability was disclosed on December 23, 2025, and affects Linux kernel versions from the introduction of the gs_usb driver (commit d08e973a77d1) up to the patched releases. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).

Technical details

The root cause is improper input validation (CWE class: insufficient bounds checking) in the gs_usb_receive_bulk_callback() function of the Linux kernel's drivers/net/can/usb/gs_usb.c. When a USB bulk transfer completes, the driver directly accesses members of the gs_host_frame structure without first verifying that urb->actual_length is large enough to contain the frame header. Additionally, if the URB is too short, the dev pointer derived from the frame data is undefined, and the original code unsafely dereferenced dev->parent->hf_size_rx to resubmit the URB. The fix uses struct_group to define the header portion of gs_host_frame, adds a length check before any member access, and replaces the unsafe pointer chain with parent->hf_size_rx (always valid via urb->context) (kernel.org patch, Red Hat CVE).

Impact

Successful exploitation could allow a local attacker with low privileges to trigger kernel memory corruption by submitting a malformed USB bulk transfer to a system with a gs_usb CAN adapter attached. This may result in a kernel panic (denial of service), and in more severe scenarios, could potentially lead to arbitrary code execution in kernel context. Confidentiality impact is assessed as none, while integrity and availability are at risk (Feedly, Red Hat CVE).

Mitigation and workarounds

Patches have been released for multiple stable Linux kernel branches: 6.1.159, 6.6.119, 6.12.61, 6.17.11, and 6.18. Administrators should update to the patched kernel version applicable to their distribution as the primary remediation. As a workaround where patching is not immediately possible, restricting physical access to USB ports and blocking untrusted USB devices (e.g., via USBGuard) can reduce exposure. Microsoft has also issued an update for the Azure Linux 3 kernel (azl3_kernel_6.6.117.1-1) (Microsoft MSRC, Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management