PT-2025-3608 · Linux+5 · Linux Kernel+5

Liu Shixin

·

Published

2024-12-16

·

Updated

2026-05-26

·

CVE-2024-57883

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.13.0-rc2master+
Description The issue is related to the Linux kernel's handling of huge page tables. The folio refcount may be increased unexpectedly through try get folio() by callers such as split huge pages(). This can cause the page table to leak, as the check for shared page tables in huge pmd unshare() is incorrect if the refcount is increased. The problem may be triggered by damon, offline page, page idle, etc., which increase the refcount of the page table. This can lead to the page table itself being discarded after reporting a "nonzero mapcount" and the HugeTLB page mapped by the page table not being freed.
Recommendations To resolve the issue, introduce an independent PMD page table shared count. This can be achieved by reusing the pt share count field, which is used for x86/arm64/riscv pmds. As a temporary workaround, consider disabling the split huge pages() function until a patch is available. Restrict access to the huge pmd unshare() function to minimize the risk of exploitation. Avoid using the try get folio() function in the affected API endpoint until the issue is resolved.

Exploit

Fix

Weakness Enumeration

Related Identifiers

ALT-PU-2025-12647
BDU:2025-04477
CVE-2024-57883
DLA-4327-1
DLA-4328-1
DSA-5973-1
ECHO-B969-1084-7C61
OESA-2025-1245
OESA-2025-1320
OESA-2025-1321
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7513-1
USN-7513-2
USN-7513-3
USN-7513-4
USN-7513-5
USN-7514-1
USN-7515-1
USN-7515-2
USN-7522-1
USN-7523-1
USN-7524-1
USN-7774-1
USN-7774-2
USN-7774-3
USN-7774-4
USN-7774-5
USN-7775-1
USN-7775-2
USN-7775-3
USN-7776-1

Affected Products

Alt Linux
Debian
Linuxmint
Linux Kernel
Red Os
Ubuntu