PT-2025-18495 · Linux+2 · Linux Kernel+2

Published

2022-11-18

·

Updated

2025-05-13

·

CVE-2022-49778

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.1.0-rc3+
Description The issue arises from the incorrect handling of file map count for non-leaf pmd/pud in the Linux kernel, specifically when collapsing hugepages. This triggers an unexpected BUG ON() due to the decrease of file map count for a non-leaf pmd. The problem is solved by using pmd leaf() instead of pmd present() in pmd user accessible page() and pud leaf() for pud user accessible page().
Recommendations For Linux kernel versions prior to 6.1.0-rc3+, update to a version that includes the fix for the incorrect file map count handling. As a temporary workaround, consider disabling the collapse huge page() function until a patch is available. Restrict access to the pmd user accessible page() and pud user accessible page() functions to minimize the risk of exploitation.

Exploit

Fix

Assertion Failure

Buffer Overflow

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

Weakness Enumeration

Related Identifiers

BDU:2026-03717
CVE-2022-49778
RHSA-2025:6966
RHSA-2025_6966

Affected Products

Astra Linux
Linux Kernel
Red Hat