cve.bz

CVE-2024-0582 linux linux kernel: Use After Free

7.8 highEPSS 13%Fix available

High (7.8) in linux linux kernel. EPSS 13% estimated probability of exploitation activity in the next 30 days.

On this page
A memory leak flaw was found in the Linux kernel’s io_uring functionality in how a user registers a buffer ring with IORING_REGISTER_PBUF_RING, mmap() it, and then frees it. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
13% (unchanged from 13% a week ago; 13% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-0582 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-0582?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-0582?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-0582 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 6.4 before 6.6.5
linux:linux_kernel6.7:rc1
linux:linux_kernel6.7:rc2
linux:linux_kernel6.7:rc3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14linux6.6.8-1DEBIAN-CVE-2024-0582
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-0582
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-0582
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2024-0582
Ubuntu22.04:LTSlinux-hwe-6.56.5.0-21.21~22.04.1UBUNTU-CVE-2024-0582 USN-6651-1
Ubuntu22.04:LTSlinux-nvidia-6.56.5.0-1014.14UBUNTU-CVE-2024-0582
Ubuntu22.04:LTSlinux-oem-6.56.5.0-1015.16UBUNTU-CVE-2024-0582 USN-6651-2
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 24 moreno fix listedUBUNTU-CVE-2024-0582 USN-6651-2
Ubuntu22.04:LTSlinux-riscv-6.56.5.0-21.21.1~22.04.1UBUNTU-CVE-2024-0582
Ubuntu22.04:LTSlinux-starfive-6.56.5.0-1008.9~22.04.1UBUNTU-CVE-2024-0582 USN-6651-3
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2024-0582
Azure Linux3kernelno fix listedAZL-110415

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Enterprise Linux is not affected by this vulnerability as the upstream commit that introduced this flaw (c56e022 "io_uring: add support for user mapped provided buffer ring") is not included in any shipping kernel release.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-0582.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • nanabingies/CVE-2024-0582 Harbor Check: matches CVE 0 stars, C, created
    An exploit for a Use-After-Free vulnerability in the io_uring subsystem in the linux kernel

References

Check your stackJSON