Review reviewHigh

CVE-2025-38224

Linux Linux, linux kernel

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...

CVSS
7.1
EPSS
0.15%
4.40% percentile
CISA KEV
Not listed
Published
2025.07.04
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.15%
Technical severityCVSS 7.1

Vulnerability overview

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...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 352fbde14177d608a54120b6ff559ce5b3cf6238 < d8a054b6e6824a8b52c3977ebd38c9583a63efac, >= 8256e0ca601051933e9395746817f3801fa9a6bf < a6550c9aa11e2f57f9cdaa6249cdd44d446be874, >= 8256e0ca601051933e9395746817f3801fa9a6bf < 54ec8b08216f3be2cc98b33633d3c8ea79749895, >= f14512f3ee09cda986191c8dd7f54972afa2c763, >= 6.12.31 < 6.12.35, >= 6.14.9 < 6.15, >= 6.15, >= 6.15.1 < 6.15.4, 6.15
Fixed versions
6.12.35, 6.15, 6.15.4

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE
CWE-125
CVE-2025-38224 — Linux Linux, linux kernel | SECUFOCUS NOW