CVE-2025-68308

Not scored yetLast modified Oct 14, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 58343e0a4d43699f0e2f5b169384bbe4c0217add; >= 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 69c7825df64e24dc15d31631a1fc9145324b1345; >= 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 028e89c7e8b4346302e88df01cc50e0a1f05791a; >= 7259124eac7d1b76b41c7a9cb2511a30556deebe, < e9dd83a75a7274edef21682c823bf0b66d7b6b7f; >= 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 0897cea266e39166a36111059ba147192b36592f; >= 7259124eac7d1b76b41c7a9cb2511a30556deebe, < bd8135a560cf6e64f0b98ed4daadf126a38f7f48; >= 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 0c73772cd2b8cc108d5f5334de89ad648d89b9ec
LinuxLinux4.19

References

Timeline

Published
Dec 16, 2025
Last modified
Oct 14, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-68309In the Linux kernel, the following vulnerability has been resolved: PCI/AER: Fix NULL pointer access by aer_info The kzalloc(GFP_KERNEL) mCVE-2025-68316.4The User Registration plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's urcr_restrict shortcode in all versCVE-2025-68310In the Linux kernel, the following vulnerability has been resolved: s390/pci: Avoid deadlock between PCI error recovery and mlx5 crdump DoCVE-2025-68311In the Linux kernel, the following vulnerability has been resolved: tty: serial: ip22zilog: Use platform device for probing After commit 8CVE-2025-68312In the Linux kernel, the following vulnerability has been resolved: usbnet: Prevents free active kevent The root cause of this issue are: CVE-2025-683137.1In the Linux kernel, the following vulnerability has been resolved: x86/CPU/AMD: Add RDSEED fix for Zen5 There's an issue with RDSEED's 16CVE-2025-683148.8In the Linux kernel, the following vulnerability has been resolved: drm/msm: make sure last_fence is always updated Update last_fence in tCVE-2025-683159.8In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to detect potential corrupted nid in free_nid_list As reportCVE-2025-68316In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Fix invalid probe error return value After DME Link SCVE-2025-683177.8In the Linux kernel, the following vulnerability has been resolved: io_uring/zctx: check chained notif contexts Send zc only links ubuf_inCVE-2025-68318In the Linux kernel, the following vulnerability has been resolved: clk: thead: th1520-ap: set all AXI clocks to CLK_IS_CRITICAL The AXI cCVE-2025-68319In the Linux kernel, the following vulnerability has been resolved: netconsole: Acquire su_mutex before navigating configs hierarchy There
CVE-2025-68308: Unscored | Vulnix