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

      Mirantis reveals Lens Prism, an AI copilot for operating Kubernetes clusters

      July 3, 2025

      Avoid these common platform engineering mistakes

      July 3, 2025

      Full-Stack Techies vs Toptal: Which Is Better for React.js Outsourcing?

      July 3, 2025

      The AI productivity paradox in software engineering: Balancing efficiency and human skill retention

      July 2, 2025

      Microsoft Gaming studios head Matt Booty says “overall portfolio strategy is unchanged” — with more than 40 games in production

      July 3, 2025

      Capcom reports that its Steam game sales have risen massively — despite flagship titles like Monster Hunter Wilds receiving profuse backlash from PC players

      July 3, 2025

      Cloudflare is fighting to safeguard “the future of the web itself” — standing directly in the way of leading AI firms

      July 3, 2025

      Microsoft reportedly lacks the know-how to fully leverage OpenAI’s tech — despite holding IP rights

      July 3, 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

      PHP 8.5.0 Alpha 1 available for testing

      July 3, 2025
      Recent

      PHP 8.5.0 Alpha 1 available for testing

      July 3, 2025

      Recording cross browser compatible media

      July 3, 2025

      Celebrating Perficient’s Third Databricks Champion

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

      Microsoft Gaming studios head Matt Booty says “overall portfolio strategy is unchanged” — with more than 40 games in production

      July 3, 2025
      Recent

      Microsoft Gaming studios head Matt Booty says “overall portfolio strategy is unchanged” — with more than 40 games in production

      July 3, 2025

      Capcom reports that its Steam game sales have risen massively — despite flagship titles like Monster Hunter Wilds receiving profuse backlash from PC players

      July 3, 2025

      Cloudflare is fighting to safeguard “the future of the web itself” — standing directly in the way of leading AI firms

      July 3, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Security»Common Vulnerabilities and Exposures (CVEs)»CVE-2025-38154 – Linux Kernel BPF Sockmap Use After Free Vulnerability

    CVE-2025-38154 – Linux Kernel BPF Sockmap Use After Free Vulnerability

    July 3, 2025

    CVE ID : CVE-2025-38154

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

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

    bpf, sockmap: Avoid using sk_socket after free when sending

    The sk->sk_socket is not locked or referenced in backlog thread, and
    during the call to skb_send_sock(), there is a race condition with
    the release of sk_socket. All types of sockets(tcp/udp/unix/vsock)
    will be affected.

    Race conditions:
    ”’
    CPU0 CPU1

    backlog::skb_send_sock
    sendmsg_unlocked
    sock_sendmsg
    sock_sendmsg_nosec
    close(fd):
    …
    ops->release() -> sock_map_close()
    sk_socket->ops = NULL
    free(socket)
    sock->ops->sendmsg
    ^
    panic here
    ”’

    The ref of psock become 0 after sock_map_close() executed.
    ”’
    void sock_map_close()
    {
    …
    if (likely(psock)) {
    …
    // !! here we remove psock and the ref of psock become 0
    sock_map_remove_links(sk, psock)
    psock = sk_psock_get(sk);
    if (unlikely(!psock))
    goto no_psock; work);
    ? die_addr+0x40/0xa0
    ? exc_general_protection+0x14c/0x230
    ? asm_exc_general_protection+0x26/0x30
    ? sock_sendmsg+0x21d/0x440
    ? sock_sendmsg+0x3e0/0x440
    ? __pfx_sock_sendmsg+0x10/0x10
    __skb_send_sock+0x543/0xb70
    sk_psock_backlog+0x247/0xb80
    …
    ”’

    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-38155 – “Qualcomm Atheros mt76 Wireless Null Pointer Dereference Vulnerability”
    Next Article CVE-2025-38151 – Linux Kernel RDMA cma: Work Queue Corruption Vulnerability

    Related Posts

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-5372 – OpenSSL SSH Key Derivation Buffer Initialization Vulnerability

    July 4, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-6944 – Uncode Core WordPress Stored Cross-Site Scripting

    July 4, 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

    CVE-2025-47668 – CookieCode Stored Cross-Site Scripting Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-6568 – TOTOLINK EX1200T HTTP POST Request Handler Buffer Overflow

    Common Vulnerabilities and Exposures (CVEs)

    Updating the Frontier Safety Framework

    Artificial Intelligence

    Citrix warns of NetScaler vulnerability exploited in DoS attacks

    Security

    Highlights

    Iranian State TV hacked, and that’s modern warfare

    June 24, 2025

    In modern warfare, it’s not just about who has the biggest bombs — it’s about…

    Packet lets you share files

    May 25, 2025

    Is your TV sluggish? How to update its firmware via USB stick to speed it up

    April 16, 2025

    CVE-2025-49007 – Apache Rack Denial of Service Vulnerability

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

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