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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 13 Nov 2024 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux

Thu, 19 Sep 2024 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-402

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-05-04T12:55:53.115Z

Reserved: 2024-05-17T12:19:12.348Z

Link: CVE-2024-35831

cve-icon Vulnrichment

Updated: 2024-08-02T03:21:48.557Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-17T14:15:19.517

Modified: 2024-11-21T09:20:59.940

Link: CVE-2024-35831

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-17T00:00:00Z

Links: CVE-2024-35831 - Bugzilla

cve-icon OpenCVE Enrichment

No data.