PT-2024-4118 · Linux+8 · Linux Kernel+8

Leah Rumancik

·

Published

2024-04-16

·

Updated

2026-04-20

·

CVE-2024-27022

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a race condition in the Linux kernel, specifically in the fork system call, where the hugetlb dup vma private and hugetlb vm op open functions are called outside the i mmap rwsem lock while the vma lock can be used at the same time. This can lead to a situation where the vma lock is cleared and then reassigned, potentially causing issues with memory management. The root cause of the problem is a race condition between the fork and hugetlbfs fallocate system calls. The i mmap lock write(mapping) function is used to lock the i mmap tree, and the vma interval tree insert after function is used to insert a new vma into the tree. However, the hugetlb dup vma private function is called outside the i mmap rwsem lock, which can lead to a situation where the vma lock is cleared and then reassigned.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Use of Uninitialized Resource

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:6997
ALSA-2025_16880
ALT-PU-2024-11524
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-42186
BDU:2024-04584
CVE-2024-27022
DSA-5680-1
INFSA-2024_6997
RHSA-2024:6997
RHSA-2024_6997
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6893-1
USN-6893-2
USN-6893-3
USN-6918-1
USN-7156-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu