CVE-2025-68342
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68342 is a vulnerability in the Linux kernel's CAN (Controller Area Network) USB driver (gs_usb) caused by insufficient data length validation in the gs_usb_receive_bulk_callback() function. The flaw was disclosed on December 23, 2025, and affects Linux kernel versions starting from commit d08e973a77d1, with patches available for stable branches 6.6.119, 6.12.61, 6.17.11, and 6.18. Microsoft's Azure Linux 3 kernel (version 6.6.117.1-1) is also listed as an affected product. The vulnerability carries a CVSS v3.1 base score of 5.8 (Medium) per Feedly/Red Hat assessment (Red Hat CVE, MSRC).

Technical details

The root cause is improper validation of the actual_length field of a USB Request Block (URB) before accessing the data payload in gs_usb_receive_bulk_callback(). The function processes a struct gs_host_frame received over USB bulk transfer; the required data length varies based on hf::flags and active device features such as timestamping, but no minimum-length check was performed prior to the fix. This can lead to out-of-bounds memory access (consistent with CWE-125, Out-of-bounds Read, or related buffer handling weaknesses). The fix introduces gs_usb_get_minimum_rx_length() to compute the minimum required data length and validates actual_length before copying data into the socket buffer (skb) (Red Hat CVE, EUVD). Exploitation requires local access and physical or logical ability to interact with a gs_usb CAN device.

Impact

A local attacker with low privileges who can interact with a gs_usb CAN USB device could trigger improper memory access, potentially leading to kernel memory disclosure (confidentiality impact), data corruption (integrity impact), or a kernel crash causing denial of service (high availability impact). The CVSS vector reflects low confidentiality and integrity impact alongside high availability impact, scoped to the local system without privilege escalation beyond the kernel context (Red Hat CVE, Feedly).

Mitigation and workarounds

Update the Linux kernel to a patched version: 6.6.119, 6.12.61, 6.17.11, or 6.18 (EUVD). For Microsoft Azure Linux 3, apply the updated kernel package azl3_kernel_6.6.117.1-1 or later as referenced in the MSRC advisory (MSRC). As interim mitigations, restrict physical and local access to systems with gs_usb CAN USB devices, implement strict USB device connection policies, and use mandatory access control frameworks (SELinux or AppArmor) to limit USB device permissions.

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