5.1

CVE-2025-68308: can: kvaser_usb: leaf: Fix potential infinite loop in command parsers

Deferred
AliasesUBUNTU-CVE-2025-68308DEBIAN-CVE-2025-68308
Published 16-12-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-68308 is a medium (CVSS 5.1) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.1, physical access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.1/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 42 · Related 39

Timeline

  1. 16-12-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.19% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: physical access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu152 products
  • linuxAll versions (No fix recorded) | < 5.15.0-173.183 | < 6.8.0-106.106 | < 6.17.0-19.19
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1103.110 | < 6.8.0-1050.53 | < 6.17.0-1009.9
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.159-1 | < 6.12.63-1 | < 6.17.11-1
Linux1 product
  • linux≥ 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 58343e0a4d43699f0e2f5b169384bbe4c0217add | ≥ 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 69c7825df64e24dc15d31631a1fc9145324b1345 | ≥ 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 028e89c7e8b4346302e88df01cc50e0a1f05791a | ≥ 7259124eac7d1b76b41c7a9cb2511a30556deebe, < e9dd83a75a7274edef21682c823bf0b66d7b6b7f | ≥ 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 0897cea266e39166a36111059ba147192b36592f | ≥ 7259124eac7d1b76b41c7a9cb2511a30556deebe, < bd8135a560cf6e64f0b98ed4daadf126a38f7f48 | ≥ 7259124eac7d1b76b41c7a9cb2511a30556deebe, < 0c73772cd2b8cc108d5f5334de89ad648d89b9ec | 4.19

3 vendors · 154 products

References

38 links
Show all 38 references