---
id: CVE-2024-0582
title: 'Kernel: io_uring: page use-after-free vulnerability via buffer ring mmap'
summary: >-
  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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-416
vendor: Red Hat
product: kernel
affected:
  - kernel (all versions)
  - kernel
  - kernel
  - kernel-rt
  - kernel
  - kernel-rt
  - kernel
  - kernel-rt
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-06-17T14:43:44.265639Z'
exploitAvailable: true
published: '2024-01-16'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T21:07:44.166Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-0582'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2024-0582'
  - url: 'https://bugs.chromium.org/p/project-zero/issues/detail?id=2504'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2254050'
    label: RHBZ#2254050
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c392cbecd8eca4c53f2bf508731257d9d0a21c2d
tags:
  - cve.org
  - exploit-available
epss: 0.12836
epssPercentile: 0.96304
exploits:
  github: 8
  githubRepos:
    - 'https://github.com/ysanatomic/io_uring_LPE-CVE-2024-0582'
    - 'https://github.com/Forsaken0129/CVE-2024-0582'
    - 'https://github.com/0ptyx/cve-2024-0582'
  checkedAt: '2026-11-05T21:36:37.213Z'
ingestedAt: '2026-11-05T21:36:00.596Z'
---

## Overview

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.

## Affected

- `kernel (all versions)`
- `kernel`
- `kernel`
- `kernel-rt`
- `kernel`
- `kernel-rt`
- `kernel`
- `kernel-rt`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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.
