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-38161 – “IBM Mellanox mlx5 RDMA Use-After-Free Vulnerability”

    CVE-2025-38161 – “IBM Mellanox mlx5 RDMA Use-After-Free Vulnerability”

    July 3, 2025

    CVE ID : CVE-2025-38161

    Published : July 3, 2025, 9:15 a.m. | 2 hours, 14 minutes ago

    Description : In the Linux kernel, the following vulnerability has been resolved:

    RDMA/mlx5: Fix error flow upon firmware failure for RQ destruction

    Upon RQ destruction if the firmware command fails which is the
    last resource to be destroyed some SW resources were already cleaned
    regardless of the failure.

    Now properly rollback the object to its original state upon such failure.

    In order to avoid a use-after free in case someone tries to destroy the
    object again, which results in the following kernel trace:
    refcount_t: underflow; use-after-free.
    WARNING: CPU: 0 PID: 37589 at lib/refcount.c:28 refcount_warn_saturate+0xf4/0x148
    Modules linked in: rdma_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_umad(OE) mlx5_ib(OE) rfkill mlx5_core(OE) mlxdevm(OE) ib_uverbs(OE) ib_core(OE) psample mlxfw(OE) mlx_compat(OE) macsec tls pci_hyperv_intf sunrpc vfat fat virtio_net net_failover failover fuse loop nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vmw_vmci vsock xfs crct10dif_ce ghash_ce sha2_ce sha256_arm64 sha1_ce virtio_console virtio_gpu virtio_blk virtio_dma_buf virtio_mmio dm_mirror dm_region_hash dm_log dm_mod xpmem(OE)
    CPU: 0 UID: 0 PID: 37589 Comm: python3 Kdump: loaded Tainted: G OE ——- — 6.12.0-54.el10.aarch64 #1
    Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
    Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
    pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=–)
    pc : refcount_warn_saturate+0xf4/0x148
    lr : refcount_warn_saturate+0xf4/0x148
    sp : ffff80008b81b7e0
    x29: ffff80008b81b7e0 x28: ffff000133d51600 x27: 0000000000000001
    x26: 0000000000000000 x25: 00000000ffffffea x24: ffff00010ae80f00
    x23: ffff00010ae80f80 x22: ffff0000c66e5d08 x21: 0000000000000000
    x20: ffff0000c66e0000 x19: ffff00010ae80340 x18: 0000000000000006
    x17: 0000000000000000 x16: 0000000000000020 x15: ffff80008b81b37f
    x14: 0000000000000000 x13: 2e656572662d7265 x12: ffff80008283ef78
    x11: ffff80008257efd0 x10: ffff80008283efd0 x9 : ffff80008021ed90
    x8 : 0000000000000001 x7 : 00000000000bffe8 x6 : c0000000ffff7fff
    x5 : ffff0001fb8e3408 x4 : 0000000000000000 x3 : ffff800179993000
    x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000133d51600
    Call trace:
    refcount_warn_saturate+0xf4/0x148
    mlx5_core_put_rsc+0x88/0xa0 [mlx5_ib]
    mlx5_core_destroy_rq_tracked+0x64/0x98 [mlx5_ib]
    mlx5_ib_destroy_wq+0x34/0x80 [mlx5_ib]
    ib_destroy_wq_user+0x30/0xc0 [ib_core]
    uverbs_free_wq+0x28/0x58 [ib_uverbs]
    destroy_hw_idr_uobject+0x34/0x78 [ib_uverbs]
    uverbs_destroy_uobject+0x48/0x240 [ib_uverbs]
    __uverbs_cleanup_ufile+0xd4/0x1a8 [ib_uverbs]
    uverbs_destroy_ufile_hw+0x48/0x120 [ib_uverbs]
    ib_uverbs_close+0x2c/0x100 [ib_uverbs]
    __fput+0xd8/0x2f0
    __fput_sync+0x50/0x70
    __arm64_sys_close+0x40/0x90
    invoke_syscall.constprop.0+0x74/0xd0
    do_el0_svc+0x48/0xe8
    el0_svc+0x44/0x1d0
    el0t_64_sync_handler+0x120/0x130
    el0t_64_sync+0x1a4/0x1a8

    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-38167 – “NTFS3 Linux Kernel Null Pointer Dereference Vulnerability”
    Next Article CVE-2025-38160 – Raspberry Pi Linux Kernel NULL Pointer Dereference Vulnerability

    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

    Designer Spotlight: Luca Franceschetti

    News & Updates

    CVE-2025-6244 – Elementor – Stored Cross-Site Scripting in Calendar and Business Reviews Widgets

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-37097 – HPE Insight Remote Support Denial of Service

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2024-6030 – Tesla Model S oFono Privilege Escalation Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    YouTube celebrates 20 years with new features, cool tricks, and some truly mind-blowing stats

    April 23, 2025

    The video sharing site now sees a staggering 20 million uploads a day. Guess how…

    CVE-2025-46060 – TOTOLINK N600R Buffer Overflow Vulnerability

    June 13, 2025

    CVE-2025-7420 – Tenda O3V2 HTTPd Stack-Based Buffer Overflow

    July 10, 2025

    Sam Altman says the Singularity is imminent – here’s why

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

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