PT-2024-10516

CVE-2022-48802

·

تاريخ النشر

2022-02-11

·

تاريخ التحديث

2025-05-04

الوصف من

CVSS 3.1
5.5
متوسطة
المقاييس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 5.16.0-rc6-syzkaller
Description The vulnerability is related to the fs/proc component of the Linux kernel, specifically in the task mmu.c file. It is caused by a race condition that occurs when the MADV FREE system call is made while simultaneously reading the /proc/$PID/smaps file. This can lead to a BUG being triggered at include/linux/page-flags.h:785, resulting in an invalid opcode. The issue arises from the page mapcount function being called on a page that is not a tail page of a THP (Transparent Huge Page) anymore, after the MADV FREE call has split the THP. To fix this, a new parameter has been added to the smaps account function to indicate when an entry is a migration entry, allowing it to skip calling page mapcount in such cases.
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for this vulnerability. Specifically, versions after 5.16.0-rc6-syzkaller should include the necessary patches. If updating is not immediately possible, consider applying the patch manually or using a kernel version that is known to have the fix. As a temporary workaround, consider avoiding the use of MADV FREE on partial THPs or limiting access to the /proc/$PID/smaps file to minimize the risk of triggering the race condition.
قابلية الاستغلال
استغلال
إصلاح
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
OPENSUSE-SU-2024_2947-1
OPENSUSE-SU-2024_3249-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
SUSE-SU-2024:3225-1
SUSE-SU-2024:3249-1
SUSE-SU-2024:3499-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾