PT-2024-32203 · Linux+1 · Linux Kernel+1
Published
2024-08-26
·
Updated
2026-05-09
·
CVE-2024-46790
CVSS v3.1
5.5
Medium
| Vector | AV: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.10.9
Description
The issue arises when PG hwpoison pages are freed and treated differently in free pages prepare(), leading to isolation instead of release. Page allocation tag counters are decremented, considering the page not in use. Later, when such pages are released by unpoison memory(), the allocation tag counters are decremented again, resulting in a warning. The vulnerability can be fixed by clearing the page tag reference after the page is isolated and accounted for.
Recommendations
To resolve the issue, clear the page tag reference after the page got isolated and accounted for. This can be achieved by modifying the kernel code to properly handle PG hwpoison pages during the free pages prepare() process. As a temporary workaround, consider disabling the hwpoison inject module until a patch is available.
Exploit
Fix
Missing Release of Resource after Effective Lifetime
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel