CVE-2025-40020
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40020 was published on October 24, 2025, affecting the Linux kernel's PEAK-System CAN-USB FD driver. The vulnerability involves a shift-out-of-bounds issue in the can: peak_usb driver where a 32-bit shift operation is performed on what should be a 64-bit constant (NVD).

Technical details

The vulnerability stems from an incorrect bit shifting operation in the Linux kernel's CAN-USB FD driver. The issue occurs when the driver performs a 32-bit shift operation instead of using a 64-bit constant, which is required for PC CAN FD interfaces. The fix involves explicitly using a 64-bit constant (1ULL) instead of a 32-bit value (1) to prevent overflow during shifting operations. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicating moderate severity (Red Hat).

Impact

The vulnerability's impact is primarily limited to incorrect timestamp calculations and potential driver instability when using PEAK-System CAN-USB FD adapters. The issue affects system stability but does not compromise confidentiality or integrity of the system (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed in several Linux distributions. Ubuntu has marked it as medium priority and is working on updates for affected versions. Debian has fixed the issue in version 6.16.10-1 and later releases. Red Hat has deferred fixes for RHEL versions 7, 8, 9, and 10 (Ubuntu, Debian, Red Hat).

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-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 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