CVE-2024-35831

Medium

In the Linux kernel, the following vulnerability has been resolved: io_uring: Fix release of pinned pages when __io_uaddr_map fails Looking at the error path of __io_uaddr_map, if we fail after pinning the pages for any reasons, ret will be set to -EINVAL and the error handler won't properly release the pinned pages. I didn't manage to trigger it without forcing a failure, but it can happen in real life when memory is heavily fragmented.

Package Linux Kernel
Published 2024-05-17
Last modified 2025-09-26
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-401

CVE-2024-35831 is a Memory Leak vulnerability

What is Memory Leak?

The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE

Affected versions

Linux kernel versions 6.5.7, 6.6 and later are affected. Fixed in 6.6.23, 6.7.11, 6.8.2, 6.9 and their respective stable series.

Affected from
≥ 6.5.7 ≥ 6.6
Fixed in
✓ 6.6.23 6.6.x ✓ 6.7.11 6.7.x ✓ 6.8.2 6.8.x ✓ 6.9

Frequently asked questions

  • What is CVE-2024-35831?

    CVE-2024-35831 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 6.5.7 onward and has been patched in 6.6.23, 6.7.11, 6.8.2 and others. CVE-2024-35831 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-35831?

    CVE-2024-35831 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-35831?

    Yes. CVE-2024-35831 has been patched. Fixed versions include 6.6.23, 6.7.11, 6.8.2 and others. If you are running Linux kernel 6.5.7 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-35831 actively exploited?

    No. CVE-2024-35831 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.