CVEvulnerability

CVE-2024-35831

5.5 MEDIUM Published 2024-05-17 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-17
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-401

Description

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.

Affected configurations

• linux linux kernel (>= 6.5.7 < 6.6) • linux linux kernel (>= 6.6.1 < 6.6.23) • linux linux kernel (>= 6.7 < 6.7.11) • linux linux kernel (>= 6.8 < 6.8.2) • linux linux kernel 6.6

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References