CVE-2026-74458

Description

A flaw was found in the Kvaser USB CAN driver (kvaser_usb_leaf) in the Linux kernel. This vulnerability occurs due to insufficient validation of received command lengths from a USB buffer. A malicious or malformed command shorter than the expected header length, or one that exceeds the destination buffer, can be processed. This could lead to a buffer overflow, potentially causing a denial of service or other system instability.

Statement

A malicious or faulty Kvaser USB/CAN device can provide a variable length command with an invalid length field in the USB receive buffer. In kvaser_usb_leaf_wait_cmd(), a matching command was copied into a fixed struct kvaser_cmd using the device provided length, so an oversized command can cause an out-of-bounds write and corrupt kernel memory. For the CVSS the PR:N because no host privileges are required once the attacker can present or control the USB device. The issue is not network reachable and requires physical or equivalent USB device access. Impact is at least denial of service via kernel crash and may include privilege escalation because the primitive is a kernel memory overwrite from device controlled data.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.8N/AN/A
Attack VectorPhysicalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredNoneN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityHighN/AN/A
Integrity ImpactHighN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.