PT-2024-8505 · Linux+9 · Linux Kernel+9

Wupeng Ma

·

Published

2024-04-05

·

Updated

2025-09-29

·

CVE-2024-35877

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.7.5-100.fc38.x86 64
Description The vulnerability is related to the handling of VM PAT in COW mappings. PAT handling won't do the right thing in COW mappings, where the first PTE can be replaced during write faults to point at anon folios. This can lead to memory leaks or incorrect memory freeing. The issue is triggered when using the follow phys() function, which may return the address and protection of the anon folio or fail on swap/nonswap entries. To fix this, the follow phys() function has been updated to refuse returning anon folios and fallback to using the stored PFN inside vma->vm pgoff for COW mappings.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for the VM PAT handling in COW mappings, such as version 6.7.5-100.fc38.x86 64 or later.
Note: The provided information does not specify the exact version that includes the fix, so it is recommended to update to the latest available version.

Exploit

Fix

DoS

Memory Leak

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

Weakness Enumeration

Related Identifiers

ALSA-2024:7000
ALSA-2024:7001
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-10065
CESA-2024_7000
CESA-2024_7001
CVE-2024-35877
DLA-3840-1
DLA-3842-1
INFSA-2024_7000
INFSA-2024_7001
INFSA-2024_9315
OESA-2024-1692
OESA-2024-1693
OESA-2024-1694
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024:9315
RHSA-2024_7000
RHSA-2024_7001
RHSA-2024_9315
RHSA-2025:7526
RLSA-2024:7001
SUSE-SU-2024:1979-1
SUSE-SU-2024:1983-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2184-1
SUSE-SU-2024:2190-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-6896-1
USN-6896-2
USN-6896-3
USN-6896-4
USN-6896-5
USN-6898-1
USN-6898-2
USN-6898-3
USN-6898-4
USN-6917-1
USN-6918-1
USN-6919-1
USN-6927-1
USN-7019-1
USN-7121-1
USN-7121-2
USN-7121-3
USN-7148-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu