CVE-2021-47491: mm: khugepaged: skip huge page collapse for special files

Published May 22, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm: khugepaged: skip huge page collapse for special files

The Linux kernel CVE team has assigned CVE-2021-47491 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052241-CVE-2021-47491-437d@gregkh/T

Other sources

In the Linux kernel, the following vulnerability has been resolved:

mm: khugepaged: skip huge page collapse for special files

The read-only THP for filesystems will collapse THP for files opened readonly and mapped with VMEXEC. The intended usecase is to avoid TLB misses for large text segments. But it doesn't restrict the file types so a THP could be collapsed for a non-regular file, for example, block device, if it is opened readonly and mapped with EXEC permission. This may cause bugs, like [1] and [2].

This is definitely not the intended usecase, so just collapse THP for regular files in order to close the attack surface.

[shy828301@gmail.com: fix vmfile check [3]]

NVD

Linux Kernel is vulnerable to a denial of service, caused by improper input validation. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause collapse in read-only THP for filesystems.

IBM

Affected Software

16 affected componentsFixes available
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
redhat/kernel<5.10.78
5.10.78
redhat/kernel<5.14.16
5.14.16
redhat/kernel<5.15
5.15
Linux Linux kernel>=5.4<5.10.78
Linux Linux kernel>=5.11<5.14.16
Linux Linux kernel=5.15-rc1
Linux Linux kernel=5.15-rc2
Linux Linux kernel=5.15-rc3
Linux Linux kernel=5.15-rc4
Linux Linux kernel=5.15-rc5
Linux Linux kernel=5.15-rc6
Linux Linux kernel=5.15-rc7

Event History

May 22, 2024
CVE Published
via MITRE·08:19 AM
Data Sourced
via MITRE·08:19 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityAffected Software
May 23, 2024
Data Sourced
via Red Hat·10:26 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-47491?

CVE-2021-47491 is considered a moderate severity vulnerability due to its potential impact on system stability and performance.

2

How do I fix CVE-2021-47491?

To address CVE-2021-47491, it is recommended to upgrade the Linux kernel to version 5.10.78, 5.14.16, or any version higher than 5.15.

3

What systems are affected by CVE-2021-47491?

CVE-2021-47491 affects specific Red Hat kernel versions and IBM Security Verify Governance versions up to ISVG 10.0.2.

4

What impact does CVE-2021-47491 have on users?

Users may experience performance degradation or system instability related to huge page management in the Linux kernel due to CVE-2021-47491.

5

Is there a workaround for CVE-2021-47491?

Currently, there are no official workarounds for CVE-2021-47491; upgrading the kernel is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203