PT-2024-10493

CVE-2022-48797

·

Published

2022-02-17

·

Updated

2025-01-17

Description by

CVSS 3.1
7.1
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the Linux kernel's memory management, specifically with the NUMA balancing feature. Enabling NUMA balancing can cause corruption when used with certain test loads, such as Oded Gabbay's Gaudi accelerator test load, under specific conditions (e.g., without process affinity and using GUP to pin pages for DMA access). The problem arises from a nonsensical condition in the change pte range() function that uses page mapcount(page) to decide if a COW page should be NUMA-protected, which is irrelevant due to other references like GUP. The fix involves using page count() instead. This change implies that NUMA balancing may alter page protections, leading to spurious COW events.
Recommendations To resolve the issue, apply the fix that changes the condition in change pte range() to use page count() instead of page mapcount(page). As a temporary workaround, consider disabling NUMA balancing or using process affinity to bind to a specific numa-node until the patch is applied.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
OPENSUSE-SU-2024_2947-1
SUSE-SU-2024:2894-1
SUSE-SU-2024:2902-1
SUSE-SU-2024:2929-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
Found an issue in the description? Have something to add? Feel free to write us 👾