Menu

Star on GitHub · 3.2k

CVE-2025-68308

In the Linux kernel, the following vulnerability has been resolved: can: kvaser_usb: leaf: Fix potential infinite loop in command parsers The `kvaser_usb_leaf_wait_cmd()` and `kvaser_usb_leaf_rea…

Published Dec 16, 2025EPSS 0.19%

Overview

CVE-2025-68308 is a known-severity vulnerability. It was published on December 16, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

can: kvaser_usb: leaf: Fix potential infinite loop in command parsers

The `kvaser_usb_leaf_wait_cmd()` and `kvaser_usb_leaf_read_bulk_callback`

functions contain logic to zero-length commands. These commands are used

to align data to the USB endpoint's wMaxPacketSize boundary.

The driver attempts to skip these placeholders by aligning the buffer

position `pos` to the next packet boundary using `round_up()` function.

However, if zero-length command is found exactly on a packet boundary

(i.e., `pos` is a multiple of wMaxPacketSize, including 0), `round_up`

function will return the unchanged value of `pos`. This prevents `pos`

to be increased, causing an infinite loop in the parsing logic.

This patch fixes this in the function by using `pos + 1` instead.

This ensures that even if `pos` is on a boundary, the calculation is

based on `pos + 1`, forcing `round_up()` to always return the next

aligned boundary.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-68308?

CVE-2025-68308 is a known-severity vulnerability. It was published on December 16, 2025.

How severe is CVE-2025-68308?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2025-68308?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-68308?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-68308 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.