CVE-2025-38224 Vulnerability Analysis & Exploit Details

CVE-2025-38224
Vulnerability Scoring

7.1
/10
Very High Risk

Highly exploitable, CVE-2025-38224 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2025-38224 Details

Status: Analyzed

Last updated: 🕟 18 Nov 2025, 16:44 UTC
Originally published on: 🕑 04 Jul 2025, 14:15 UTC

Time between publication and last update: 137 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

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

CVE-2025-38224 Vulnerability Summary

CVE-2025-38224: In the Linux kernel, the following vulnerability has been resolved: can: kvaser_pciefd: refine error prone echo_skb_max handling logic echo_skb_max should define the supported upper limit of echo_skb[] allocated inside the netdevice's priv. The corresponding size value provided by this driver to alloc_candev() is KVASER_PCIEFD_CAN_TX_MAX_COUNT which is 17. But later echo_skb_max is rounded up to the nearest power of two (for the max case, that would be 32) and the tx/ack indices calculated further during tx/rx may exceed the upper array boundary. Kasan reported this for the ack case inside kvaser_pciefd_handle_ack_packet(), though the xmit function has actually caught the same thing earlier. BUG: KASAN: slab-out-of-bounds in kvaser_pciefd_handle_ack_packet+0x2d7/0x92a drivers/net/can/kvaser_pciefd.c:1528 Read of size 8 at addr ffff888105e4f078 by task swapper/4/0 CPU: 4 UID: 0 PID: 0 Comm: swapper/4 Not tainted 6.15.0 #12 PREEMPT(voluntary) Call Trace: <IRQ> dump_stack_lvl lib/dump_stack.c:122 print_report mm/kasan/report.c:521 kasan_report mm/kasan/report.c:634 kvaser_pciefd_handle_ack_packet drivers/net/can/kvaser_pciefd.c:1528 kvaser_pciefd_read_packet drivers/net/can/kvaser_pciefd.c:1605 kvaser_pciefd_read_buffer drivers/net/can/kvaser_pciefd.c:1656 kvaser_pciefd_receive_irq drivers/net/can/kvaser_pciefd.c:1684 kvaser_pciefd_irq_handler drivers/net/can/kvaser_pciefd.c:1733 __handle_irq_event_percpu kernel/irq/handle.c:158 handle_irq_event kernel/irq/handle.c:210 handle_edge_irq kernel/irq/chip.c:833 __common_interrupt arch/x86/kernel/irq.c:296 common_interrupt arch/x86/kernel/irq.c:286 </IRQ> Tx max count definitely matters for kvaser_pciefd_tx_avail(), but for seq numbers' generation that's not the case - we're free to calculate them as would be more convenient, not taking tx max count into account. The only downside is that the size of echo_skb[] should correspond to the max seq number (not tx max count), so in some situations a bit more memory would be consumed than could be. Thus make the size of the underlying echo_skb[] sufficient for the rounded max tx value. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

Assessing the Risk of CVE-2025-38224

Access Complexity Graph

The exploitability of CVE-2025-38224 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2025-38224

CVE-2025-38224 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2025-38224, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2025-38224, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2025-38224 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: None
    CVE-2025-38224 poses no threat to data integrity.
  • Availability: High
    CVE-2025-38224 can disrupt system operations, potentially causing complete denial of service (DoS).

CVE-2025-38224 References

External References

CWE Common Weakness Enumeration

CWE-125

CAPEC Common Attack Pattern Enumeration and Classification

  • Overread Buffers CAPEC-540 An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:6.12.31:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.31:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.32:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.32:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.33:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.33:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.34:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.34:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:-:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2025-38224: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-13735 – Out-of-bounds Read vulnerability in ASR1903、ASR3901 in ASR Lapwing_Linux on Linux (nr_fw modules). This vulnerability is associated with program fi...
  • CVE-2025-9558 – There is a potential OOB Write vulnerability in the gen_prov_start function in pb_adv.c. The full length of the received data is copied into the li...
  • CVE-2025-9557 – ‭An out-of-bound write can lead to an arbitrary code execution. Even on devices with some form of memory protection, this can still lead to‬ ‭a cra...
  • CVE-2025-59820 – In KDE Krita before 5.2.13, loading a manipulated TGA file could result in a heap-based buffer overflow in plugins/impex/tga/kis_tga_import.cpp (ak...
  • CVE-2025-55174 – In KDE Skanpage before 25.08.0, an attempt at file overwrite can result in the contents of the new file at the beginning followed by the partial co...