PT-2025-27999 · Linux+4 · Linux Kernel+4

Published

2025-07-04

·

Updated

2026-03-23

·

CVE-2025-38224

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.15.0
Description: A vulnerability in the Linux kernel has been resolved, related to the kvaser pciefd driver. The issue involves the echo skb max handling logic, which defines the supported upper limit of echo skb[] allocated inside the netdevice's priv. The size value provided by this driver to alloc candev() is KVASER PCIEFD CAN TX MAX COUNT, which is 17. However, echo skb max is rounded up to the nearest power of two, causing the tx/ack indices calculated during tx/rx to exceed the upper array boundary. This has been reported by Kasan for the ack case inside kvaser pciefd handle ack packet(). The vulnerability affects the kvaser pciefd handle ack packet() function and the kvaser pciefd read packet() function.
Recommendations: For Linux kernel versions prior to 6.15.0, update to version 6.15.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the kvaser pciefd driver to minimize the risk of exploitation. Avoid using the echo skb max variable in the affected API endpoints until the issue is resolved.

Exploit

Fix

Out of bounds Read

Improper Validation of Array Index

Weakness Enumeration

Related Identifiers

BDU:2025-13478
CVE-2025-38224
OPENSUSE-SU-2025:20081-1
SUSE-SU-2025:21074-1
SUSE-SU-2025:21139-1
SUSE-SU-2025:21179-1
SUSE-SU-2026:0928-1
SUSE-SU-2026:0961-1
USN-7833-1
USN-7833-2
USN-7833-3
USN-7833-4
USN-7834-1
USN-7856-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Suse
Ubuntu