Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

      July 22, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Security»Common Vulnerabilities and Exposures (CVEs)»CVE-2025-38224 – Kvaser PCIEFD Linux Kernel Slab Out-of-Bounds Write

    CVE-2025-38224 – Kvaser PCIEFD Linux Kernel Slab Out-of-Bounds Write

    July 4, 2025

    CVE ID : CVE-2025-38224

    Published : July 4, 2025, 2:15 p.m. | 4 hours, 57 minutes ago

    Description : 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:

    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

    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.

    Severity: 0.0 | NA

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleCVE-2025-38225 – Vulnerability Title: “Imx-Jpeg Linux Kernel NULL Pointer Dereference”
    Next Article CVE-2025-38223 – Ceph: Kernel BUG on encrypted inode with unaligned file size

    Related Posts

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-44658 – Netgear RAX30 PHP-FPM Misconfigured Extension Bypass Vulnerability

    July 22, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-7393 – Drupal Mail Login Authentication Bypass

    July 22, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Do these 4 things before betting on AI in your business – and why

    News & Updates

    Figma Biggest Update EVER!

    Web Development

    Arista Fixes Critical CloudVision Portal Vulnerability with CVSS 10 Score

    Security

    Learn A1 Level Spanish

    Development

    Highlights

    Urgent Citrix NetScaler Alert: Critical Memory Overflow Flaw (CVE-2025-6543, CVSS 9.2) Actively Exploited on 2,100+ Unpatched Appliances

    July 1, 2025

    Urgent Citrix NetScaler Alert: Critical Memory Overflow Flaw (CVE-2025-6543, CVSS 9.2) Actively Exploited on 2,100+ Unpatched Appliances

    A critical security flaw tracked as CVE-2025-6543 is being actively exploited in the wild, prompting urgent warnings from Citrix and inclusion in CISA’s Known Exploited Vulnerabilities (KEV) Catalog. …
    Read more

    Published Date:
    Jul 01, 2025 (5 hours, 26 minutes ago)

    Vulnerabilities has been mentioned in this article.

    CVE-2025-6543

    CVE-2025-4428

    CVE-2025-4427

    CVE-2024-6235

    CVE-2024-21762

    CVE-2022-47945

    CVE-2025-48998 – DataEase Arbitrary File Deserialization

    June 3, 2025

    CVE-2025-48788 – Apache HTTP Server Credentials Disclosure

    May 27, 2025

    CVE-2025-6116 – Das Parking Management System SQL Injection Vulnerability

    June 16, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.